Messages in this thread | | | Date | Fri, 07 Jul 2006 13:14:23 -0400 | From | Jeff Garzik <> | Subject | Re: 2.6.17-mm6 |
| |
Alan Cox wrote: > Also its dangerous to assume "pata_*" is a PATA driver, it may be SATA > with a bridge chip, and in some cases like the ATI this is quite common.
Incorrect; what you describe is the core assumption underlying the "ata_", "pata_", and "sata_" prefixes.
If the user can attached PATA and SATA devices to a controller, its prefix is ata_ If the user can only attach PATA devices, its prefix is pata_ If the user can only attach SATA devices, its prefix is sata_ For the purposes of this convention, user-attached bridges such as PATA<->SATA bridges, are ignored.
Most older controllers always fall into pata_, most newer into sata_, and an odd few ata_
Its a bug if you don't help maintain these assumptions :)
Jeff
- 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/
| |