Subject: Re: DHCP and RoadRunner Cable Modem
To: NetBSD i386 <port-i386@netbsd.org>
From: Analysis and Solutions <info@analysisandsolutions.com>
List: port-i386
Date: 06/28/2001 15:25:34
Manuel Bouyer wrote:
> 
> On Thu, Jun 28, 2001 at 03:36:38PM +0100, Jasper Wallace wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> >
> > On Thu, 28 Jun 2001, Analysis and Solutions wrote:
> >
> > > ================   ifconfig -a -u    =========================
> > > sip0: flags=fbff<UP,BROADCAST,DEBUG,LOOPBACK,POINTOPOINT,NOTRAILERS,
> > >    RUNNING,NOARP,PROMISC,ALLMULTI,SIMPLEX,LINK0,LINK1,LINK2,MULTICAST>
> > >    mtu 1500
> >
> > Thats very odd - DEBUG ?, POINTOPOINT !?!, LOOPBACK !?!?!? LINK0,LINK1,LINK2 ???
> 
> Yes, this is a bug in the driver. This is solved in 1.5.1


Hi Manuel and all:

OUCH!  I've been hacking away for three days for naught.  None the less,
thank you for pointing this out so I don't have to waste more of my time and
the time of others trying to help.

Is there a way for me to update the driver in question now.  I'd rather not
have to wait for 1.5.1 to come out.  Nor do I want to download and compile
the source for release-1.5?

I'm pretty new at this.  Here's what I'm thinking I can do...


Looking at dmesg says:
   sip0 at pci0 dev 16 function 0: NatSemi DP83815 10/100 Ethernet

Okay, so let's look in the change notes for that card...
   sys/dev/pci/if_sip.c                            1.24
      Fix a bug in the DP83815 multicast setup code.

   sys/dev/pci/if_sip.c                            1.25-1.26
   sys/dev/pci/if_sipreg.h                         1.5
      Fix support for the DP83815 so that it works properly with the
      current crop of Netgear FA311 10/100 cards.

Excellent.  Let's go to the source tree for release-1.5's /sys/dev/pci:
   ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-5/src/sys/dev/pci/

Cool.  I just downloaded the files in question.  

Okay, now I need some advice, please.  How do I compile them?  Do I run
make?  Or do I run cccp or cpp?  I assume I have the compile tools necessary,
since I included the compiler sets, comp.tgz, when doing my NetBSD install.

Many thanks,

--Dan

-- 
                PHP scripts that make your job easier
              http://www.analysisandsolutions.com/code/
         SQL Solution  |  Layout Solution  |  Form Solution
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Ave, Brooklyn NY 11232    v: 718-854-0335    f: 718-854-0409