aboutsummaryrefslogtreecommitdiff
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-06-19 18:52:56 +0900
committerJeff Garzik <jeff@garzik.org>2007-06-20 19:56:21 -0400
commita3d2cc5e742f82a87fdf9e2b730f41ff381c0a73 (patch)
tree96dd7ab5c98198e634b9323dc4d903c9bf8548eb /scripts/unifdef.c
parent3fae450c68d06b8890e1530bdd0910e938e7251d (diff)
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>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions