From owner-freebsd-newbies Tue Apr 4 6:14:29 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from xmh02.scott.af.mil (vejxoislxmh02.scott.af.mil [140.175.214.29]) by hub.freebsd.org (Postfix) with ESMTP id BBA7037B6EB for ; Tue, 4 Apr 2000 06:14:25 -0700 (PDT) (envelope-from DARYL.CHANCE@SCOTT.AF.MIL) Received: from cornerback.scott.af.mil (cornerback.scott.af.mil [140.175.214.11]) by xmh02.scott.af.mil (8.9.3/8.9.3) with ESMTP id IAA19924 for ; Tue, 4 Apr 2000 08:17:37 -0500 Received: from cornerback.scott.af.mil (root@localhost) by cornerback.scott.af.mil with ESMTP id IAA11715 for ; Tue, 4 Apr 2000 08:14:10 -0500 (CDT) Received: from SMTP (vejxoisntav82.scott.af.mil [140.175.254.102]) by cornerback.scott.af.mil with SMTP id IAA11527 for ; Tue, 4 Apr 2000 08:14:04 -0500 (CDT) Received: from ksvejx02.SCOTT.AF.MIL ([140.175.192.102]) by 140.175.254.102 (Norton AntiVirus for Internet Email Gateways 1.0) ; Tue, 04 Apr 2000 13:14:03 0000 (GMT) Received: by ksvejx02.scott.af.mil with Internet Mail Service (5.5.2448.0) id ; Tue, 4 Apr 2000 08:14:01 -0500 Message-ID: From: Chance Daryl SrA AMC CSS/SAS To: freebsd-newbies@FreeBSD.ORG Subject: RE: Possible oversight? Date: Tue, 4 Apr 2000 08:12:58 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I installed the kernel source for FreeBSD 4.0 this weekend and > > started commenting stuff out that I wouldn't need. I don't have > > a CDRom in the box I was installing this on, so I commented out > > all the CDRom devices. > [...] > > unable to find file miibus.h (or something close to that.). > I looked > > in my config file and found that it was a CDRom device that I had > > commented out. > > I don't know where you get the idea that "miibus" refers to a CD > ROM device. IIRC, "MII" stands for media-independent interface. > Anyway, it's required for several types of ethernet adapters--in > fact just the ones it's listed with in GENERIC--and has nothing > whatsoever to do with CD drives. There is nothing in GENERIC that > would suggest such a connection. Ok, sorry, what I meant to say was that it was listed under the CD-Rom devices IIRC. Either way, my question was, should it not be marked with (required) if it fubars the kernel compile (IE: causes it not to build)? Actually, checking here: ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/sys/i386/conf/LINT/ I see that it's listed as a network and not a cdrom device (for lack of a better word). But I also see that they (the maintainers of the source) have broken it off into it's own. # MII bus support is required for some PCI 10/100 ethernet NICs, # namely those which use MII-compliant transceivers or implement # tranceiver control interfaces that operate like an MII. Adding # "device miibus0" to the kernel config pulls in support for # the generic miibus API and all of the PHY drivers, including a # generic one for PHYs that aren't specifically handled by an # individual driver. device miibus # PCI Ethernet NICs that use the common MII bus controller code <---------------------------------------------------------------> <- SrA Daryl Chance - A programmer is someone who solves a -> <- USAF AMC CSS/SASR - problem you didn't know you had in a -> <- RAD Programmer - way you don't understand. -> <- (618) 256-5225 - - ????? -> <---------------------------------------------------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message