Re: de driver && DS 21143 works on -stable but not -current!?

[ Available lists | Index of freebsd-hackers | Month of Mar 1998 | Week of 10 Mar 1998 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jos Backus <J.G.E.Backus@urc.tue.nl>
Date
10 Mar 1998 06:24:02
Subject
Re: de driver && DS 21143 works on -stable but not -current!?
Message-ID
19980310150018.A21606@asterix.urc.tue.nl

Replies

[ Hide this part ]
	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


Elapsed time: 0.420 seconds