Re: PATCH: Fix for lance.c

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 4 Dec 1999 14:31:33 +0000 (GMT)


> Hi Linus!
>
> This patch fixes the lance.c driver to call isa_readw() accordingly.

This looks incomplete.

> - if (readw(0x000f0102) == 0x5048) {
> + if (isa_readw(0x000f0102) == 0x5048) {
> static const short ioaddr_table[] = { 0x300, 0x320, 0x340, 0x360};
> int hp_port = (readl(0x000f00f1) & 1) ? 0x499 : 0x99;

^^^^^^^^^^^^^^^^^^^^^^

There are others to fix too.

Alan

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