From owner-cvs-all Wed Jul 25 15:46:15 2001 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 3DD6137B405; Wed, 25 Jul 2001 15:46:11 -0700 (PDT) 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 In-Reply-To: <20010726003717.A22475@student.uu.se> from Erik Trulsson at "Jul 26, 2001 00:37:17 am" To: ertr1013@student.uu.se (Erik Trulsson) Date: Wed, 25 Jul 2001 15:46:11 -0700 (PDT) Cc: iedowse@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20010725224611.3DD6137B405@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > 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