1
0
Files
linux/include/linux
Bartlomiej Zolnierkiewicz f74c91413e ide: add warm-plug support for IDE devices (take 2)
* Add 'struct class ide_port_class' ('ide_port' class) and a 'struct
  device *portdev' ('ide_port' class device) in ide_hwif_t.

* Register 'ide_port' class in ide_init() and unregister it in
  cleanup_module().

* Create ->portdev in ide_register_port () and unregister it in
  ide_unregister().

* Add "delete_devices" class device attribute for unregistering IDE devices
  on a port and "scan" one for probing+registering IDE devices on a port.

* Add ide_sysfs_register_port() helper for registering "delete_devices"
  and "scan" attributes with ->portdev.  Call it in ide_device_add_all().

* Document IDE warm-plug support in Documentation/ide/warm-plug-howto.txt.

v2:
* Convert patch from using 'struct class_device' to use 'struct device'.
  (thanks to Kay Sievers for doing it)

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-04-18 00:46:23 +02:00
..
2008-02-07 08:42:23 -08:00
2008-02-14 21:17:08 -08:00
2008-02-10 18:11:16 -05:00
2008-02-19 10:04:00 +01:00
2008-02-19 10:04:00 +01:00
2008-03-04 16:35:12 -08:00
2008-02-14 20:58:05 -08:00
2008-03-04 14:47:06 -08:00
2008-02-08 02:09:56 +00:00
2008-02-08 09:22:24 -08:00
2008-02-07 08:42:30 -08:00
2008-02-19 10:04:00 +01:00
2008-02-11 13:01:51 +01:00
2008-04-04 18:36:49 +02:00
2008-02-13 16:21:18 -08:00
2008-02-07 20:39:44 -05:00
2008-03-17 22:48:46 -07:00
2008-02-19 21:00:18 +01:00
2008-02-13 16:21:18 -08:00
2008-03-19 18:53:36 -07:00
2008-02-08 09:22:29 -08:00
2008-02-26 14:03:47 +09:00
2008-03-04 16:35:15 -08:00
2008-03-12 12:34:37 -07:00
2008-02-08 09:22:31 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-02-07 23:11:56 -08:00
2008-03-17 22:46:46 -07:00
2008-02-08 09:22:31 -08:00
2008-02-08 09:22:26 -08:00
2008-02-08 09:22:41 -08:00
2008-02-07 08:42:34 -08:00
2008-02-07 08:42:30 -08:00
2008-02-08 09:22:41 -08:00
2008-02-08 09:22:27 -08:00
2008-03-03 12:22:32 -08:00
2008-02-07 08:42:34 -08:00
2008-02-07 08:42:16 -08:00
2008-02-08 09:22:34 -08:00
2008-02-08 09:22:36 -08:00
2008-03-04 14:57:43 -08:00
2008-04-07 13:14:22 -07:00