Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 1999 19:36:11 +0600 (NS)
From:      Ustimenko Semen <semen@iclub.nsu.ru>
To:        ANDREAS.KLEMM.AK@bayer-ag.de
Cc:        "        -         (052)freebsd-net(a)FreeBSD.ORG" <freebsd-net@FreeBSD.ORG>
Subject:   Re: fbsd 228: my problems with tx driver (Rx error status)
Message-ID:  <Pine.BSF.4.05.9903051910290.59909-100000@iclub.nsu.ru>
In-Reply-To: <0006800009224752000002L022*@MHS>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903051910290.59909-100000>