Re: 2.6.17-mm6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux