diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2009-03-26 15:24:05 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 15:24:12 +0100 |
commit | eb32ae8d0e052d1a287f99f93130ea2ad9af317e (patch) | |
tree | a2841ecbe3768fe248b798a311fa2ebdd6aa0907 /drivers/s390/cio/device.h | |
parent | 1485c5c88483d200c9c4c71ed7e8eef1a1e317a1 (diff) | |
download | linux-eb32ae8d0e052d1a287f99f93130ea2ad9af317e.tar.gz linux-eb32ae8d0e052d1a287f99f93130ea2ad9af317e.tar.bz2 linux-eb32ae8d0e052d1a287f99f93130ea2ad9af317e.zip |
[S390] cio: Use unbind/bind instead of unregister/register.
The common I/O layer may encounter a situation where the
device number of a ccw device has changed or a device
driver doesn't want to keep a formerly disconnected device
becoming operational again. Instead of using device_del()/
device_add() as now, we can just unbind the driver from the
device and rebind it to get the desired effect (rebinding)
with less overhead.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device.h')
-rw-r--r-- | drivers/s390/cio/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/device.h b/drivers/s390/cio/device.h index 0f2e63ea48de..85e01846ca65 100644 --- a/drivers/s390/cio/device.h +++ b/drivers/s390/cio/device.h @@ -80,7 +80,7 @@ void io_subchannel_init_config(struct subchannel *sch); int ccw_device_cancel_halt_clear(struct ccw_device *); -void ccw_device_do_unreg_rereg(struct work_struct *); +void ccw_device_do_unbind_bind(struct work_struct *); void ccw_device_move_to_orphanage(struct work_struct *); int ccw_device_is_orphan(struct ccw_device *); |