aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-11-19 18:06:11 +0900
committerJeff Garzik <jeff@garzik.org>2007-11-23 19:23:55 -0500
commit0706efd61edfcf958c2c19669aa65c2180ec3ba0 (patch)
tree9accc045719661b364158cd1c3ca51bcad035678 /.gitignore
parentdd05c199cd02ffd2ac49eb29677f1468910996a8 (diff)
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions