I'd like to axe some drivers

John-Mark Gurney jmg at funkthat.com
Fri Nov 21 08:32:45 UTC 2014


Rick Macklem wrote this message on Thu, Nov 20, 2014 at 20:32 -0500:
> Warner Losh wrote:
> > 
> > On Nov 20, 2014, at 3:07 PM, John-Mark Gurney <jmg at funkthat.com>
> > wrote:
> > 
> > > I'm fine w/ removing these...  Should we do some house cleaning on
> > > amd64's GENERIC too?
> > > 
> > > amd64's GENERIC has a lot of ISA or 100Mbit ethernet cards that are
> > > clearly not going to be used on these machines...
> > > 
> > > My recommended list to remove:
> > > ae, bfe, dc, fxp, hme?, pcn, rl, tx, vr, wb, xl, cs, ed, ex, ep,
> > > fe,
> > > sn, xe
> > 
> > All the PC Card ones (cs, ed, ex, ep, fe, sn, xe) are no brainers to
> > remove
> > from GENERIC.
> > 
> > hme is a Sparc-centric card, so can go.
> > 
> > The CardBus ones (dc, fxp, rl, re and xl) are less no-brainerish.
> > Older 64-bit
> > laptops have only CardBus, and some have these built-in. Since these
> > types
> > of systems are rare, and rarely NFS boot, having them as modules is
> > likely
> > fine.
> > 
> Yep. I'm typing this on a laptop that has a single core amd chip and
> an re(4) net chip. I actually run i386 FreeBSD on it (although I have
> booted an amd64 FreeBSD CD), so I don't care so long as these old net
> drivers remain in i386.

Considering I recently installed i386 HEAD on a K6/200 box w/ an fxp,
it'll be a while before the drivers go from i386..

FreeBSD 11.0-CURRENT #0 r266964:267061M: Wed Jun 11 15:35:27 PDT 2014
    jmg at carbon.funkthat.com:/usr/obj/i386.i386/usr/src/sys/serbox i386
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU)
  Origin="AuthenticAMD"  Id=0x562  Family=0x5  Model=0x6  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
  AMD Features=0x400<<b10>>
[...]
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x6800-0x683f mem 0xe0100000-0xe0100fff,0xe0000000-0xe00fffff irq 11 at device 10.0 on pci0


-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-arch mailing list