summaryrefslogtreecommitdiffstats
path: root/sys/sys/bus_private.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
committerjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
commit961b97d43458f3c57241940cabebb3bedf7e4c00 (patch)
tree6014972d9b90b4e3a8b20dbea641a88cf6355c13 /sys/sys/bus_private.h
parent06b64672180d9b04ae6d35db819c854df3c3c684 (diff)
downloadFreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip
FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen. Requested by: msmith and others
Diffstat (limited to 'sys/sys/bus_private.h')
-rw-r--r--sys/sys/bus_private.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/sys/bus_private.h b/sys/sys/bus_private.h
index 3b934be..547892b 100644
--- a/sys/sys/bus_private.h
+++ b/sys/sys/bus_private.h
@@ -37,18 +37,18 @@
typedef struct driverlink *driverlink_t;
struct driverlink {
driver_t *driver;
- TAILQ_ENTRY(struct driverlink) link; /* list of drivers in devclass */
+ TAILQ_ENTRY(driverlink) link; /* list of drivers in devclass */
};
/*
* Forward declarations
*/
-typedef TAILQ_HEAD(devclass_list, struct devclass) devclass_list_t;
-typedef TAILQ_HEAD(driver_list, struct driverlink) driver_list_t;
-typedef TAILQ_HEAD(device_list, struct device) device_list_t;
+typedef TAILQ_HEAD(devclass_list, devclass) devclass_list_t;
+typedef TAILQ_HEAD(driver_list, driverlink) driver_list_t;
+typedef TAILQ_HEAD(device_list, device) device_list_t;
struct devclass {
- TAILQ_ENTRY(struct devclass) link;
+ TAILQ_ENTRY(devclass) link;
driver_list_t drivers; /* bus devclasses store drivers for bus */
char *name;
device_t *devices; /* array of devices indexed by unit */
@@ -92,7 +92,7 @@ struct device {
/*
* Device hierarchy.
*/
- TAILQ_ENTRY(struct device) link; /* list of devices in parent */
+ TAILQ_ENTRY(device) link; /* list of devices in parent */
device_t parent;
device_list_t children; /* list of subordinate devices */
OpenPOWER on IntegriCloud