Go to the documentation of this file.
14 #ifndef _ASM_POWERPC_VIO_H
15 #define _ASM_POWERPC_VIO_H
19 #include <linux/errno.h>
20 #include <linux/device.h>
25 #include <asm/scatterlist.h>
31 #define VETH_MAC_ADDR "local-mac-address"
32 #define VETH_MCAST_FILTER_SIZE "ibm,mac-address-filters"
36 #define h_vio_signal(ua, mode) \
37 plpar_hcall_norets(H_VIO_SIGNAL, ua, mode)
39 #define VIO_IRQ_DISABLE 0UL
40 #define VIO_IRQ_ENABLE 1UL
45 #define VIO_CMO_MIN_ENT 1562624
56 #define VIO_BASE_PFO_UA 0x50000000
113 enum vio_dev_family
family;
135 #define vio_register_driver(driver) \
136 __vio_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
152 #ifdef CONFIG_PPC_PSERIES
154 extern int vio_enable_interrupts(
struct vio_dev *
dev);
155 extern int vio_disable_interrupts(
struct vio_dev *
dev);
157 static inline int vio_enable_interrupts(
struct vio_dev *
dev)