1
0
Files
linux/drivers/ata
Tejun Heo 0706efd61e pata_jmicron: fix disabled port handling in jmicron_pre_reset()
There are two bugs in disabled port handling.

* test in PORT_PATA0 is reversed
* ->prereset should return -ENOENT for disabled ports not 0

The first bug makes the PATA channel considered disabled but the
second bug saves the day by returning 0.  The net result is that cable
is always left at ATA_CBL_UNKNOWN.  This results in false 80c
configuration and thus transfer errors.

This patch fixes both bugs.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-11-23 19:23:55 -05:00
..
2007-11-19 12:28:09 +09:00
2007-10-12 14:55:37 -04:00
2007-10-20 01:02:48 +02:00
2007-10-19 22:55:03 -04:00
2007-07-02 10:17:42 -04:00