Re: [PATCH] NCR53c406a.c warning

From: Maciej W. Rozycki
Date: Fri Sep 12 2003 - 09:17:42 EST


On 12 Sep 2003, James Bottomley wrote:

> > NCR53c406a: Apparently wait_intr() is unused, so remove it.
>
> It is currently unused. However, the reason is that we removed the scsi
> command method that allows polled operation in a driver (this routine is
> actually polling the interrupt port on the chip).
>
> I'd like to wait a while to see if anyone still needs this mode when 2.6
> gets a wider test audience. If you wish, you can surround the routine
> with #if 0 and a comment saying we can junk it later if it really is
> unnecessary.

I've encountered an ISA adapter using this chip in polled mode (no ISA
IRQ line routed to the chip) quite recently. But I can't say if the guy
using it won't throw it away before final 2.6. ;-)

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@xxxxxxxxxxxxx, PGP key available +

-
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/