1
0
Files
linux/drivers
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-14 18:45:44 -08:00
2007-11-02 08:47:06 +01:00
2007-10-29 17:27:50 -04:00
2007-11-05 21:54:41 +00:00
2007-11-14 18:45:38 -08:00
2007-11-14 18:45:39 -08:00
2007-11-05 15:12:31 -08:00
2007-11-10 11:59:49 +01:00
2007-11-14 18:45:36 -08:00
2007-11-14 18:45:44 -08:00
2007-11-14 18:45:46 -08:00
2007-11-14 18:45:44 -08:00
2007-11-14 18:45:36 -08:00