]> err.no Git - linux-2.6/commit
[PATCH] ahci: honor PORTS_IMPL on ICH8s
authorTejun Heo <htejun@gmail.com>
Thu, 9 Nov 2006 06:08:40 +0000 (15:08 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:44:53 +0000 (22:44 -0500)
commit648a88be4a016d2637ace3ae74b85a0512255ee8
treefb4143ad12f506aa82d3c6e39cec790414d902f1
parent0df0d0a0ea9ffcee4e56f96cd9d9e32b0644eb21
[PATCH] ahci: honor PORTS_IMPL on ICH8s

Some ICH8s use non-linear port mapping.  ahci driver didn't use to
honor PORTS_IMPL and this made ports after hole nonfunctional.  This
patch makes ahci mark those ports as dummy and properly initialize all
the implemented ports after the dummies.

As it's unknown whether other AHCIs implement PORTS_IMPL register
properly, new board id board_ahci_pi is added and selectively applied
to ICH8s.  All other AHCIs continue to use linear mapping regardless
of PORTS_IMPL value.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c