Date: Mon, 16 Nov 2009 15:38:27 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ahci ahci.c ahci.h src/sys/dev/ata ata-pci.c ata-pci.h src/sys/dev/ata/chipsets ata-ahci.c ata-jmicron.c ata-marvell.c Message-ID: <200911161538.nAGFclH3035450@repoman.freebsd.org>
index | next in thread | raw e-mail
mav 2009-11-16 15:38:27 UTC
FreeBSD src repository
Modified files:
sys/dev/ahci ahci.c ahci.h
sys/dev/ata ata-pci.c ata-pci.h
sys/dev/ata/chipsets ata-ahci.c ata-jmicron.c ata-marvell.c
Log:
SVN rev 199322 on 2009-11-16 15:38:27Z by mav
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.
Revision Changes Path
1.15 +107 -16 src/sys/dev/ahci/ahci.c
1.5 +2 -0 src/sys/dev/ahci/ahci.h
1.146 +157 -98 src/sys/dev/ata/ata-pci.c
1.115 +12 -7 src/sys/dev/ata/ata-pci.h
1.29 +86 -8 src/sys/dev/ata/chipsets/ata-ahci.c
1.7 +20 -106 src/sys/dev/ata/chipsets/ata-jmicron.c
1.17 +29 -64 src/sys/dev/ata/chipsets/ata-marvell.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911161538.nAGFclH3035450>
