DEPCA is not detected by driver. (it can be sometimes detected, if other drivers probe DEPCA's base address earlier in the boot process but doesn't work anyway) The author of driver states, that driver has been tested only with DE200 and later cards (/usr/src/sys/i386/isa/README.le), so this behaviour is somewhat expected. Unlike DE200 and later cards DEPCA has 8 bit NICSR, not 16 bit as driver assumes, so OUTW/INW do not work with DEPCA. The higher byte of NICSR is not used by driver, so I changed OUTW/INW to OUTB/INB. This solved problem with detecting the board on boot. The other problem was that board could transmit only several packets and then transmission stopped. DEPCA is based on AM7990 LANCE chip, which, unlike AM79C96, restricts the sizes of descriptor rings to powers of 2. So I added the check for this for DEPCA. I'm not sure which chip DE100 and DE101 use, probably they need this fix as well. Now driver works with DEPCA, but I have no chance to check if it still works with other cards. How-To-Repeat: 100% reproducible ( if DEPCA fits into your computer case, that is :-) )
State Changed From-To: open->feedback Does this problem still occur in newer versions of FreeBSD, such as 4.3-RELEASE?
Adding to Audit-Trail. ----- Forwarded message from "Eugene A. Doudine" <dudin@np.nk.nornik.ru> ----- X-UIDL: 214bb02178cc435747c0ad4c42fdff23 Delivered-To: mike@freebsd.org Date: Fri, 27 Jul 2001 00:29:36 +0800 (KRAST) From: "Eugene A. Doudine" <dudin@np.nk.nornik.ru> To: mike@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/18639: [PATCH] le driver doesn't work with DEPCA In-Reply-To: <200107220231.f6M2VKK79582@freefall.freebsd.org> Hello, Mike I didn't try 4.3-RELEASE. I tried 4.2-RELEASE, has the same problems and some others. It cannot detect the card without my patch. With my patch applied it's able to detect the card. Kernel on boot gives this warning: le0 XXX: driver didn't set ifq_maxlen And then the kernel panics during configuration of the interface, exactly as described in PR kern/19219. Regards, Eugene On Sat, 21 Jul 2001 mike@FreeBSD.org wrote: > Synopsis: [PATCH] le driver doesn't work with DEPCA > > State-Changed-From-To: open->feedback > State-Changed-By: mike > State-Changed-When: Sat Jul 21 19:31:05 PDT 2001 > State-Changed-Why: > > Does this problem still occur in newer versions of FreeBSD, > such as 4.3-RELEASE? > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18639 > > ----- End forwarded message -----
State Changed From-To: feedback->suspended This is still a problem in 4.3-RELEASE. Awaiting a committer with the necessary hardware to review and commit this or another patch which solves this problem.
State Changed From-To: suspended->closed The le driver has been removed from CURRENT, so this will probably not be fixed.