Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 15:00:18 +0100
From:      Jos Backus <J.G.E.Backus@urc.tue.nl>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: de driver && DS 21143 works on -stable but not -current!?
Message-ID:  <19980310150018.A21606@asterix.urc.tue.nl>
In-Reply-To: <Pine.BSF.3.96.980309111734.5101D-100000@gdi.uoregon.edu>; from Doug White on Mon, Mar 09, 1998 at 11:18:46AM -0800
References:  <19980309120424.60856@asterix.urc.tue.nl> <Pine.BSF.3.96.980309111734.5101D-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
	Hi Doug,

First of all, thank you for responding!

>> I just downloaded and installed the latest committed NetBSD de driver, but
>> it still does't work with this Ethernet controller in 10Mbit/UTP mode. The
>> version in -stable, however, does.
> 
> Odd.  Can you isolate the problematic code?

I've looked at the diffs between -stable and -current, and it appears that the
-current version has a great deal of what seem to be additions for busmaster
DMA support for OSes other than FreeBSD (``TULIP_BUS_DMA'' isn't define'd). I
tried turning this on together with the *_NO[RT]X define's (without those two
I get tons of errors because of some missing typedef's) and while this builds
a kernel, it doesn't make any difference. I tried turning on DIAGNOSTIC as
well as TULIP_{VERBOSE,DEBUG} in the kernel config but that doesn't show
anything interesting either.

The only thing that strikes me as odd is the OACTIVE flag being on all the
time. I can't remember seeing it while running 2.2.2 (before cvsupping
-current). No directly visible related changes AFAICS, though.

>> Questions: Would anyone have any idea how to go about porting the -stable
>> driver to -current? How would I start enabling diagnostics in the -current
>> de driver in order to find out why it isn't working (and the -stable one
>> is).
> 
> -stable -> -current is rare and an uphill battle  The versions between
> -stable and -current should be the same though.

Well, while dc21040reg.h and if_devar.h seem relatively unchanged, if_de.c is
rather different *sigh* But as I said, most of the changes relate to
busmastering. I'm having a hard time figuring out where to look ;-/

> > Then again, as quite a few things have changed between -stable and
> > -current in the surrounding environment (the -stable driver gives a bunch
> > of errors), the problem may not be in the driver per se :-/
> 
> Quite true.  You may want to work with hackers@freebsd.org on this one.

I'm cc'ing hackers, maybe some of the nice && smart folks can point me in the
right direction!

Thanks again,
-- 
Jos Backus                     _/  _/_/_/        "Reliability means never
                              _/  _/   _/         having to say you're sorry."
                             _/  _/_/_/                -- D. J. Bernstein
                        _/  _/  _/    _/
jbackus@urc.tue.nl      _/_/   _/_/_/             use Std::Disclaimer;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980310150018.A21606>