Re: Lance driver doesn't work for AT1500

Thomas Bogendoerfer (tsbogend@alpha.franken.de)
Wed, 27 Jan 1999 23:35:32 +0100


On Tue, Jan 26, 1999 at 03:36:03PM -0800, Alex Adriaanse wrote:
> - outw(0x0002, ioaddr+LANCE_ADDR);
> + /* outw(0x0002, ioaddr+LANCE_ADDR); */
> /* Don't touch 10base2 power bit. */
> outw(inw(ioaddr+LANCE_BUS_IF) | 0x0002, ioaddr+LANCE_BUS_IF);

that's really broken. You must uncomment the second outw, too. Otherwise
the second outw goes to a randmon register of the PCnet. But I don't
see, why port autoconfig doesn't work for you, either. It works on all the
boards (even AT1500) I've used the lance driver.

Thomas.

-- 
   This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
                                        [Martin `MJ' Mares on linux-kernel]

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