Tejun,
Since you are poking around in this area, I wanted to remind you of the
promise-sata-pata branch.
A problem with the current libata API is that probe_ent and related code
does not easily permit two -vastly different- port technologies (SATA
and PATA, in this case) to be driven by the same hardware.
promise-sata-pata branch has not been merged because its solution is
highly ugly.
A better solution will emerge when... you guessed it... probe_ent goes
away, and host_set can be initialized directly. This allows the LLDD to
directly configure host_set and associated ata_port structures to its needs.
There are also a few other controllers (SiS, VIA) which have similar
SATA+PATA configurations to be supported.
Jeff
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html