Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2006 13:58:46 +0100
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Scott Long <scottl@samsco.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/le am7990.c am79900.c am79900reg.h am79900var.h am7990reg.h am7990var.h if_le_ledma.c if_le_pci.c lance.c lancereg.h lancevar.h
Message-ID:  <20060202135846.A8569@newtrinity.zeist.de>
In-Reply-To: <20060131163909.E68720@newtrinity.zeist.de>; from marius@alchemy.franken.de on Tue, Jan 31, 2006 at 04:39:09PM %2B0100
References:  <200601311448.k0VEmwVF043100@repoman.freebsd.org> <43DF7BE5.4050609@samsco.org> <20060131163909.E68720@newtrinity.zeist.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 31, 2006 at 04:39:09PM +0100, Marius Strobl wrote:
> On Tue, Jan 31, 2006 at 08:01:57AM -0700, Scott Long wrote:
> > Marius Strobl wrote:
> > > marius      2006-01-31 14:48:58 UTC
> > > 
> > >   FreeBSD src repository
> > > 
> > >   Added files:
> > >     sys/dev/le           am7990.c am79900.c am79900reg.h 
> > >                          am79900var.h am7990reg.h am7990var.h 
> > >                          if_le_ledma.c if_le_pci.c lance.c 
> > >                          lancereg.h lancevar.h 
> > >   Log:
> > >   Add le(4), a driver for AMD Am7900 LANCE and Am79C9xx PCnet NICs ported
> > >   from NetBSD. This driver actually can replace lnc(4). Advantages over
> > >   lnc(4) are:
> > >   - Cleaner and more flexible regarding MD needs.
> > >   - Endian-clean and MPSAFE.
> > >   - Supports ALTQ, VLAN_MTU, ifmedia.
> > >   - Uses 32bit DMA for the PCI variants.
> > >   
> > >   This commit includes front-ends for the dma(4) pseudo-bus found on SBus-
> > >   based sparc64 machines (thus supports the on-board LANCE in Sun Ultra 1)
> > >   and PCI. In order to actually replace lnc(4), the front-ends for ISA and
> > >   the PC98 CBUS would have to be added but for which I don't have hardware
> > >   to test.
> > >   
> > >   Reviewed and some improvements by:      yongari
> > >   Tested on:                              i386, sparc64
> > >   
> > 
> > Excellent job!  One question, though.  I believe that VMWare emulates
> > Lance hardware.  If your new le driver works on that, then I see no
> > reason to not disable the lnc driver and enable the le driver by
> > default.
> > 
> 
> The NetBSD version is known to work with the VMWare LANCE (it actually
> also has the same workaround as lnc(4) for a bug in the emulation) so
> I think the ported version also will. I haven't given that a try so
> far however and only tested it with real PCI hardware as my main goal
> is to get it into RELENG_6 as soon as possible in order to get it
> into 6.1 (without replacing lnc(4) in the default config). If someone
> could give it a try with VMWare so I don't need to get a copy and
> probably a Windows installation that would be really great though.

The FreeBSD le(4) also works with the VMWare LANCE for i386 UP. I
can't give it a try for SMP or amd64 (but should also work just fine
for these). The latter is probably interesting as lnc(4) doesn't
work on amd64 according to sys/amd64/conf/GENERIC.

Marius

-- 
This mail was scanned by AntiVir Milter.
This product is licensed for non-commercial use.
See www.antivir.de for details.



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