Re: [PATCH 2.6.22-rc5] ahci: fix PORTS_IMPL override

2007-06-20 Thread Jeff Garzik
Tejun Heo wrote: 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.

[PATCH 2.6.22-rc5] ahci: fix PORTS_IMPL override

2007-06-19 Thread Tejun Heo
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