43 #define BUS_TYPE_PCI 1 46 #define BUS_TYPE_ISAPNP 2 49 #define BUS_TYPE_EISA 3 52 #define BUS_TYPE_MCA 4 55 #define BUS_TYPE_ISA 5 58 #define BUS_TYPE_TAP 6 61 #define BUS_TYPE_EFI 7 64 #define BUS_TYPE_XEN 8 70 #define BUS_TYPE_USB 10 129 #define ROOT_DEVICES __table ( struct root_device, "root_devices" ) 132 #define __root_device __table_entry ( ROOT_DEVICES, 01 ) 152 return rootdev->
priv;
174 #define identify_device_TYPE( object_type ) \ 175 typeof ( struct device * ( object_type ) ) static void rootdev_set_drvdata(struct root_device *rootdev, void *priv)
Set root device driver-private data.
static void devices_put(void)
Allow devices to be removed on shutdown.
unsigned long ioaddr
I/O address.
void(* remove)(struct root_device *rootdev)
Remove root device.
struct device dev
Device chain.
void * priv
Driver-private data.
unsigned int vendor
Vendor ID.
struct device * parent
Bus device.
A doubly-linked list entry (or list head)
A hardware device description.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct root_driver * driver
Root device driver.
static void devices_get(void)
Prevent devices from being removed on shutdown.
const char * driver_name
Driver name.
unsigned int location
Location.
struct list_head siblings
Devices on the same bus.
int(* probe)(struct root_device *rootdev)
Add root device.
unsigned int bus_type
Bus type.
static void * rootdev_get_drvdata(struct root_device *rootdev)
Get root device driver-private data.
static struct tlan_private * priv
unsigned int device
Device ID.
struct list_head children
Devices attached to this device.
struct device_description desc
Device description.
struct device * identify_device(struct interface *intf)
Identify a device behind an interface.
int device_keep_count
Device removal inhibition counter.