tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
driver(9) softc
Driver(9) states: "The autoconfiguration framework mandates that the first
member of the softc structure must be the driver-independent struct device."
I've noticed that the "struct mii_softc" defined in mii/miivar.h uses device_t
as the first member where device_t is "typedef struct device *device_t" in
sys/driver.h.
How does this work? Did I miss something?
Regards,
Frank Zerangue
Home |
Main Index |
Thread Index |
Old Index