Re: PnP support for Linux [PATCH]

T Taneli Vahakangas (vahakang@cs.Helsinki.FI)
Sat, 15 Aug 1998 00:19:47 +0300 (EEST)


On 14 Aug 1998, Zlatko Calusic wrote:

> Sid Boyce <szb50@amdahl.com> writes:
>
> > Funny thing, I have 2 boxes with 3c509b's installed, suddenly with this patch,
> > ifconfig says packets on a ping between the two have been sent and replies
> > received, but nothing shows up as returned.
> > I can't NFS mount anything or get IP-forwarding to work. If I boot one box on
> > 2.1.113, everything works fine. I've only tried this by re-booting just one
> > machine.
> > Both machines are using 2.1.115 + ac2 + diff-pnp when networking fails to work.
> > tcpdump -i eth0 shows that one machine is recieving an "arp who has" with no
> > replies seen, yet ifconfig says different, the other way round, the other
> > machine doesn't see anything, the light for it on the Hub doesn't flicker, but
> > ifconfig says it's receiving ........ weird or what ? The workaround does the
> > job, so it's no bother at the moment.
> > Regards
> > --
> > ... Sid Boyce...Amdahl(Europe)...44-121 422 0375
> > -----------------------------------
> > Any opinions expressed above are mine and do not necessarily represent
> > the opinions or policies of Amdahl Corporation.
> >
>
> Huh, weird.
>
> I'm not sure I'll be able to help you, 'cause I don't understand that
> code very well. I just ported it, and made sure it works for my
> AWE64. YMMV.

I guess it has something to do with these lines (taken from 3c509.c in
2.1.115):

/* Reset the ISA PnP mechanism on 3c509b. */
outb(0x02, 0x279); /* Select PnP config control
register. */
outb(0x02, 0xA79); /* Return to WaitForKey state. */

The 3c509 driver is doing it's own PnP detection ... maybe it doesn't work
with the kernel-pnp patches?

>
> You could try to apply only diff-pnp or only ac2 and see where's the
> problem.
>
> Good luck!
> --
> Posted by Zlatko Calusic E-mail: <Zlatko.Calusic@CARNet.hr>
> ---------------------------------------------------------------------
> Software is like sex; it's better when it's free.
>
> -
> 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.altern.org/andrebalsa/doc/lkml-faq.html
>

-
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.altern.org/andrebalsa/doc/lkml-faq.html