Re: (Possible Fix) MS-PNR SCSI Card / NCR5380 SCSI Driver

From: Alan Cox
Date: Wed Sep 17 2003 - 09:31:44 EST


On Maw, 2003-09-16 at 20:55, Wagner Volanin wrote:
> Why the function NCR5380_poll_politely() returned the value 'r'
> on success if this value should be '0' case everything went ok...

That looks correct. Its been a long time since I attacked this driver
though, an although I had it working beautifully in 2.5.30 or so its
rotted back into nonfunctioning with the later 2.5 scsi changes.

> So I changed "return r;" to "return 0;" and after that my
> scanner worked fine, and was easily detected by SANE, without
> a single error message. :)

It looks right to me.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/