Messages in this thread | | | Subject | Multiple functionality breakages in 2.6.12rc3 IDE layer | From | Alan Cox <> | Date | Thu, 28 Apr 2005 16:48:05 +0100 |
| |
Ages ago we added an ide_default driver to clean up all the corner cases like spurious IRQs for a device with no matching driver (eg ide-cd and no CD driver) as well as ioctls and file access.
2.6.12rc removes it. Unfortunately it also means that if your only IDE interface is one you hand configure you can no longer run Linux. It also changes other aspects of behaviour although they don't look problematic for most users. You can no longer - Control the bus state of an interface - Reset an interface - Add an interface if none exist - Issue raw commands - Get an objects bios geometry - Read the identify data by ioctl (its still in proc but may be stale)
without having a device specific driver loaded matching the media - and that only works if its already detected the device correctly.
I don't have the tools at the moment to generate spurious IRQ's for devices with no driver loaded but it does look like the code may well then crash. From the way the changes were done it appears the current IDE maintainers never appreciated that ide_default existed for far more than just cleaning up ide-proc but also to handle IRQ's, opening of empty slots, ioctls and power management ?
The ability to specify the IDE ports on the command line as needed for some Sony laptop installs have also become "obsolete" over time. They still appear to work but spew a warning that the user will soon be screwed.
Alan
- 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/
| |