diff options
author | David Zeuthen <david@fubar.dk> | 2004-04-10 13:57:39 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2004-04-10 13:57:39 +0000 |
commit | 794c13c2e598629b7c81ac086afefc5c771578b5 (patch) | |
tree | 1ce0fd9a3ee67520d5ccb7d5c3a21941da20a402 /hald/linux/ide_host_bus_device.c | |
parent | 31a6e466229dfe945d899beb6d02fe376291fdbd (diff) |
add got_udi() method
move add/merge of class device to a single function
add got_udi() method
call got_udi() before adding (bus_device_got_udi): new function
new function (block_class_post_process): set block.storage_device to the
physical device, e.g. USB etc., backing the block device; simplify a
bit
Diffstat (limited to 'hald/linux/ide_host_bus_device.c')
-rw-r--r-- | hald/linux/ide_host_bus_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hald/linux/ide_host_bus_device.c b/hald/linux/ide_host_bus_device.c index 02359a6e..8b1ef8c4 100644 --- a/hald/linux/ide_host_bus_device.c +++ b/hald/linux/ide_host_bus_device.c @@ -108,6 +108,7 @@ BusDeviceHandler ide_host_bus_handler = { bus_device_removed, /**< device is removed */ ide_host_device_compute_udi, /**< UDI computing function */ ide_host_device_post_process, /**< add more properties */ + bus_device_got_udi, /**< got UDI */ "ide_host", /**< sysfs bus name */ "ide_host" /**< namespace */ }; |