From owner-freebsd-hackers Thu Oct 12 20:44:04 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA12790 for hackers-outgoing; Thu, 12 Oct 1995 20:44:04 -0700 Received: from hq.icb.chel.su (icb-rich-gw.icb.chel.su [193.125.10.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA12781 for ; Thu, 12 Oct 1995 20:43:40 -0700 Received: from localhost (babkin@localhost) by hq.icb.chel.su (8.6.5/8.6.5) id IAA15154; Fri, 13 Oct 1995 08:38:41 +0500 From: "Serge A. Babkin" Message-Id: <199510130338.IAA15154@hq.icb.chel.su> Subject: Re: Appletalk support... To: junkmail@pht.com (Brad Midgley) Date: Fri, 13 Oct 1995 08:38:40 +0500 (GMT+0500) Cc: hackers@freefall.freebsd.org, brad@pht.com In-Reply-To: from "Brad Midgley" at Oct 12, 95 10:56:54 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1289 Sender: owner-hackers@FreeBSD.org Precedence: bulk > (1) Your ethernet card must support multicast. I have a 3c509, so > I had to dig up a multicast patch that Sege Babkin's has for the > ep0 device driver. With the patch applied, I get sporadic error > message to the console "Ep0: Status: 2002 (input buffer overflow)". > However, I haven't noticed any damaged files. Perhaps netatalk can restore from packet loses :-) This message is a "special feature" of 3c509 card and may be the best thing that can be done is to simply increase the number of input errors instead of printing such message. Here is the patch: --------------------------------- cut here ----------------------------- *** if_ep.c 1995/10/13 03:31:12 --- if_ep.c 1995/10/13 03:35:31 *************** *** 848,854 **** --- 848,860 ---- sc->rx_no_first, sc->rx_no_mbuf, sc->rx_bpf_disc, sc->rx_overrunf, sc->rx_overrunl, sc->tx_underrun); #else + + #ifdef nightmaremessages printf("ep%d: Status: %x (input buffer overflow)\n", unit, status); + #else + ++sc->arpcom.ac_if.if_ierrors; + #endif + #endif epinit(unit); splx(x); --------------------------------- cut here ----------------------------- Serge Babkin ! (babkin@hq.icb.chel.su) ! Headquarter of Joint Stock Commercial Bank "Chelindbank" ! Chelyabinsk, Russia