Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quick patch for Realtek 8139 driver



A one line fix for the 8139 driver from Rainer Bawidamann. 4.1pre10,
hopefully out next week, will have this change.

	Ken

-------Forwarded Message

Reply-To: Rainer.Bawidamann@informatik.uni-ulm.de
From: Rainer.Bawidamann@informatik.uni-ulm.de

Hello Tobias, Ken!

> Maybe the receiver isn't getting any data for some reason to do with
> the media type?

I missed the point that the DHCP/BOOTP answer could be broadcast. So I
programmed the chip to receive only packets with its own ethernet mac
address. The patch is very simple, so I send it without testing (good
luck). Please tell me your experiences.

(instead of "AcceptBroadcast|AcceptMulticast|AcceptMyPhys" you could
try "AcceptAllPhys" but etherboot might not be able to handle the high
load of a full net)

Bye ... Rainer

---snip--

--- rtl8139.c.orig      Mon Apr 19 12:46:08 1999
+++ rtl8139.c   Mon Apr 19 12:46:32 1999
@@ -277,7 +277,7 @@
        /* Start the chip's Tx and Rx process. */
        outl(0, ioaddr + RxMissed);
        /* set_rx_mode */
-       outb(AcceptMyPhys, ioaddr + RxConfig);
+       outb(AcceptBroadcast|AcceptMulticast|AcceptMyPhys, ioaddr + RxConfig);
        outl(0xffffffff, ioaddr + MAR0 + 0);
        outl(0xffffffff, ioaddr + MAR0 + 4);
        outb(CmdRxEnb | CmdTxEnb, ioaddr + ChipCmd);

-------End of Forwarded Message

===========================================================================
This Mail was sent to netboot mailing list by:
Ken Yap <ken@nlc.net.au>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.