All, Attached is a smallpatch which implements the HDIO_GET/SET_BUSSTATE ioctls. These ioctl numbers were added as part of a previous patch I sent, but the actual use of them did not get included. This adds support for the two ioctls and adds a hwif struct member to track current state and a method to change the bus state. This code is a key part of hot-swappable IDE. We've been using it for months without problems. Please patch this in for the next 2.4.x. Tim -- Tim Hockin Systems Software Engineer Sun Microsystems, Cobalt Server Appliances thockin@sun.com