1
0
Files
linux/drivers
Tejun Heo a3d2cc5e74 ahci: fix PORTS_IMPL override
If PORTS_IMPL register is zero, ahci initialize it to full mask
corresponding to nr_ports in the CAP register.  hpriv->cap, which is
initialized at the end of the function, is incorrectly used as value
of CAP causing ahci to always override PORTS_IMPL to 0x1 if it's zero.
Fix it.

This fixes a bug where early ich6 ahci can only access the first port.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-06-20 19:56:21 -04:00
..
2007-06-20 19:56:21 -04:00
2007-06-03 18:08:44 -07:00
2007-06-08 12:41:08 -07:00
2007-06-16 13:16:16 -07:00
2007-06-16 02:24:43 +02:00
2007-06-08 17:23:33 -07:00
2007-06-02 00:48:48 -04:00
2007-06-04 17:54:09 -07:00
2007-05-21 09:18:19 -07:00
2007-06-19 13:10:18 +02:00
2007-06-08 17:23:33 -07:00