[PATCH] ahci: fix CAP.NP and PI handling

2008-02-06 Thread Tejun Heo
AHCI uses CAP.NP to indicate the number of ports and PI to tell which ports are enabled. The only requirement is that the number of ports indicated by CAP.NP should equal or be higher than the number of enabled ports in PI. CAP.NP and PI carry duplicate information and there have been some

Re: [PATCH] ahci: fix CAP.NP and PI handling

2008-02-06 Thread Jeff Garzik
Tejun Heo wrote: AHCI uses CAP.NP to indicate the number of ports and PI to tell which ports are enabled. The only requirement is that the number of ports indicated by CAP.NP should equal or be higher than the number of enabled ports in PI. CAP.NP and PI carry duplicate information and there