From owner-freebsd-net Fri Mar 5 5:38:11 1999 Delivered-To: freebsd-net@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 5D33015181 for ; Fri, 5 Mar 1999 05:37:49 -0800 (PST) (envelope-from semen@iclub.nsu.ru) Received: from localhost (semen@localhost) by iclub.nsu.ru (8.9.2/8.8.5) with ESMTP id TAA63895; Fri, 5 Mar 1999 19:36:11 +0600 (NS) Date: Fri, 5 Mar 1999 19:36:11 +0600 (NS) From: Ustimenko Semen To: ANDREAS.KLEMM.AK@bayer-ag.de Cc: " - (052)freebsd-net(a)FreeBSD.ORG" Subject: Re: fbsd 228: my problems with tx driver (Rx error status) In-Reply-To: <0006800009224752000002L022*@MHS> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I have no SMC9432 under hands, i'll got it this week-end. But i'll never get such quick machine as you :-) Anyway i'll look througth the driver again. Really, it was me, who wrote driver, other commits was cosmetic. From here i can propse following: undefine EARLY_RX in if_tx.c. As against PHY errors: epic_read_phy_register wait for not more then 0x1000 cycles passed until data is available, it's bad, i know. Try 0x100000 :-> (I don't like infinite loop, so i've limited it to 0x1000.) (epic_write_phy_register do the same:-) i hope this is the answer. P.S. smc83c17x chips works only at PCI bus speed of 33Mhz, what is speed of your one? P.P.S: sorry for late answer, as i understood, this is urgent. P.P.P.S: Here is decode of errors: 0x1000 Status is valid :-) 0x0F00 Reserved. 0x0080 Reserved???? 0x0040 Receiver is disabled. (While in monitor mode) 0x0020 Broadcast address recognised. 0x0010 Multicast address recognized. 0x0008 Missed packet. (While in monitor mode) 0x0004 CRC error 0x0002 Alignment error. 0x0001 Received without error. Bit 7 is mentioned as reserved, but happens often in your case. Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message