Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 15:46:11 -0700 (PDT)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        ertr1013@student.uu.se (Erik Trulsson)
Cc:        iedowse@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/dev/ed if_ed.c if_ed_pccard.c if_edreg.h if_edvar.h src/sys/i386/conf GENERIC
Message-ID:  <20010725224611.3DD6137B405@hub.freebsd.org>
In-Reply-To: <20010726003717.A22475@student.uu.se> from Erik Trulsson at "Jul 26, 2001 00:37:17 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> >   MFC: add miibus support for the Dlink DL10022 chips, as found on
> >   the Netgear FA410-TX pccard. The "fa_select" program is no longer
> >   needed to make these cards work. However, it may be necessary to
> >   set the media type manually using "ifconfig media XXX" if autoneg
> >   fails. "device miibus" is now required by the ed driver.
> 
> This does not work for non-pci systems using the ed driver.
> "device miibus" apparently requires "device pci" as well.
> I have an isa-only system using the ed driver where the kernel build
> just broke after this commit.
> The kernel build does work if I also add "device pci" to the kernel but
> extra bloat in the kernel is not fun. (This machine is tight enough on
> memory as it is.)
> 
> It would be nice to still be able to use NE2000-compatible ISA cards
> without needing to compile in support for pci.  :-(

Gack. This is my fault. The dcphy and pnphy drivers do ugly things
to grab hold of their parent devices, which are PCI. You should be
able to compile the miibus module without these two PHY drivers to
eliminate the dependency on the pci bus code.

Is it possible to set dcphy.c and pnphy.c to be dependent on 'device dc'
in /sys/conf/files? You can't use them with anything except the dc driver,
so if you don't have that in your kernel, you don't need these.

Unfortunately that doesn't help the miibus.ko module... unless I compile
the pnphy and dcphy drivers as part of the if_dc.ko module instead.

-Bill 

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




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