summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-10-08 20:52:46 -0700
committerPatrick Mochel <mochel@osdl.org>2002-10-08 20:52:46 -0700
commitb134c4625b4450b95eaa6b067199a2bfec1976e4 (patch)
tree6719208a627dc2158bb4fdedeacbd88eea2d9ab7 /include/linux/root_dev.h
parentca0e5f35dcf8e3d84b0784e98a7a5f9334b0f997 (diff)
IDE: register ide driver for all ide drives; not just for disk drives.
This adds struct device_driver gen_driver; to ide_driver_t, which is filled in with necessary fields when an ide driver calls ide_register_driver(). That then registers the driver with the driver model core. As a result, this gives us the following output in driverfs: # tree -d /sys/bus/ide/drivers/ /sys/bus/ide/drivers/ |-- ide-cdrom `-- ide-disk The suspend/resume callbacks in ide-disk.c have been temporarily disabled until the ide core implements generic methods which forward the calls to the drive drivers.
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions