aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/vio.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-04-27 03:23:32 -0400
committerPaul Mackerras <paulus@samba.org>2006-04-29 04:02:02 -0400
commitc7f0e8cb5654a50986c6097b3c0cca972e406899 (patch)
treedc8a8e590c5cf97d8b7cae2f1e93bdbef178f89f /include/asm-powerpc/vio.h
parentdd721ffd95d5e1516380da0b254ef737582a258f (diff)
[PATCH] powerpc: merge the rest of the vio code
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/vio.h')
-rw-r--r--include/asm-powerpc/vio.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-powerpc/vio.h b/include/asm-powerpc/vio.h
index 9c09a8ffa128..10da7f3af938 100644
--- a/include/asm-powerpc/vio.h
+++ b/include/asm-powerpc/vio.h
@@ -64,22 +64,14 @@ struct vio_driver {
64 struct device_driver driver; 64 struct device_driver driver;
65}; 65};
66 66
67struct vio_bus_ops {
68 struct iommu_table *(*build_iommu_table)(struct vio_dev *dev);
69};
70
71extern struct dma_mapping_ops vio_dma_ops; 67extern struct dma_mapping_ops vio_dma_ops;
72extern struct bus_type vio_bus_type; 68extern struct bus_type vio_bus_type;
73extern struct vio_dev vio_bus_device;
74 69
75extern int vio_register_driver(struct vio_driver *drv); 70extern int vio_register_driver(struct vio_driver *drv);
76extern void vio_unregister_driver(struct vio_driver *drv); 71extern void vio_unregister_driver(struct vio_driver *drv);
77 72
78extern struct vio_dev * __devinit vio_register_device(struct vio_dev *viodev);
79extern void __devinit vio_unregister_device(struct vio_dev *dev); 73extern void __devinit vio_unregister_device(struct vio_dev *dev);
80 74
81extern int vio_bus_init(struct vio_bus_ops *);
82
83struct device_node; 75struct device_node;
84 76
85extern struct vio_dev * __devinit vio_register_device_node( 77extern struct vio_dev * __devinit vio_register_device_node(