X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc64%2Fvio.h;h=3fd465c9263d7c018e5fc79ba7f0c0ec0d061158;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=36fc9f9d1f1c231880f22686d6857eef1c57f2e4;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/asm-ppc64/vio.h b/include/asm-ppc64/vio.h index 36fc9f9d1..3fd465c92 100644 --- a/include/asm-ppc64/vio.h +++ b/include/asm-ppc64/vio.h @@ -14,6 +14,7 @@ #ifndef _ASM_VIO_H #define _ASM_VIO_H +#include #include #include #include @@ -44,7 +45,10 @@ struct iommu_table; int vio_register_driver(struct vio_driver *drv); void vio_unregister_driver(struct vio_driver *drv); -struct vio_dev * __devinit vio_register_device(struct device_node *node_vdev); +#ifdef CONFIG_PPC_PSERIES +struct vio_dev * __devinit vio_register_device_node( + struct device_node *node_vdev); +#endif void __devinit vio_unregister_device(struct vio_dev *dev); struct vio_dev *vio_find_node(struct device_node *vnode); @@ -108,6 +112,8 @@ static inline struct vio_driver *to_vio_driver(struct device_driver *drv) */ struct vio_dev { struct iommu_table *iommu_table; /* vio_map_* uses this */ + char *name; + char *type; uint32_t unit_address; unsigned int irq;