Messages in this thread | | | Subject | Re: IDE locking problem | From | Alan Cox <> | Date | 05 Aug 2003 18:13:09 +0100 |
| |
On Maw, 2003-08-05 at 13:30, Bartlomiej Zolnierkiewicz wrote: > HDIO_UNREGISTER_HWIF ioctl. Together with HDIO_SCAN_HWIF ioctl it > provides dirty hotswap functionality. Thats why I mentioned about problem > with ide_unregister() and non default io bases.
I'm currently testing busstate ioctl based rescanning in 2.4 (long story involving a laptop). I've made the busstate off code clean up the device - so the hwif becomes device->present=0 for all devices and busstate on rescans the bus and updates the device objects.
Its a hack in many ways to keep the base objects present so that the brown and sticky issues of blk queues in 2.4 never meet the fan of object destruction.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |