44 #define BUS_TYPE_PCI 1 47 #define BUS_TYPE_ISAPNP 2 50 #define BUS_TYPE_EISA 3 53 #define BUS_TYPE_MCA 4 56 #define BUS_TYPE_ISA 5 59 #define BUS_TYPE_TAP 6 62 #define BUS_TYPE_EFI 7 65 #define BUS_TYPE_XEN 8 71 #define BUS_TYPE_USB 10 74 #define BUS_TYPE_DT 11 133 #define ROOT_DEVICES __table ( struct root_device, "root_devices" ) 136 #define __root_device __table_entry ( ROOT_DEVICES, 01 ) 156 return rootdev->
priv;
178 #define identify_device_TYPE( object_type ) \ 179 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.