pata_pdc202xx_old: LBA48 bug
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 23 Mar 2007 18:57:23 +0000 (18:57 +0000)
committerJeff Garzik <jeff@garzik.org>
Wed, 28 Mar 2007 06:05:13 +0000 (02:05 -0400)
commit5e5188108bcf9ab2e6f87b4b54924354040b0aa7
treed0612ae233fde2091f107b3fcf9ad8940d33be79
parent8c3c52a8f00536ce55dafa055b4a211f878f3901
pata_pdc202xx_old: LBA48 bug

In LBA48 mode we have to help the controller to get anything to work. The
chip provides a register giving word counts meant for ATAPI use which we
can use. However we need to load the count in words not bytes..

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_pdc202xx_old.c