freebsd-skq/sys/dev/ahci
Alexander Motin 6bd8779bb9 Change the way in which AHCI+PATA combined controllers, such as JMicron
and Marvell handled. Instead of trying to attach two different drivers to
single device, wrapping each call, make one of them (atajmicron, atamarvell)
attach do device solely, but create child device for AHCI driver,
passing it all required resources. It is quite easy, as none of
resources are shared, except IRQ.

As result, it:
- makes drivers operation more independent and straitforward,
- allows to use new ahci(4) driver with such devices, adding support for
new features, such as PMP and NCQ, same time keeping legacy PATA support,
- will allow to just drop old ataahci driver, when it's time come.
2009-11-16 15:38:27 +00:00
..
ahci.c Change the way in which AHCI+PATA combined controllers, such as JMicron 2009-11-16 15:38:27 +00:00
ahci.h Change the way in which AHCI+PATA combined controllers, such as JMicron 2009-11-16 15:38:27 +00:00