From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 14 09:30:35 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CB1716A474 for ; Wed, 14 Nov 2007 09:30:35 +0000 (UTC) (envelope-from freebsd2@toyingwithfate.com) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0589C13C465 for ; Wed, 14 Nov 2007 09:30:34 +0000 (UTC) (envelope-from freebsd2@toyingwithfate.com) Received: (qmail 16574 invoked by uid 0); 14 Nov 2007 09:03:54 -0000 Received: from unknown (HELO toyingwithfate.com) (216.220.113.142) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 14 Nov 2007 09:03:54 -0000 Received: from toyingwithfate.com (localhost [127.0.0.1]) by toyingwithfate.com (8.13.8/8.13.8) with ESMTP id lAE93p6G001436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 14 Nov 2007 04:03:52 -0500 (EST) (envelope-from freebsd2@toyingwithfate.com) Received: (from www@localhost) by toyingwithfate.com (8.13.8/8.13.8/Submit) id lAE93pEb001435 for freebsd-drivers@freebsd.org; Wed, 14 Nov 2007 04:03:51 -0500 (EST) (envelope-from freebsd2@toyingwithfate.com) X-Authentication-Warning: toyingwithfate.com: www set sender to freebsd2@toyingwithfate.com using -f Received: from 192.168.1.1 ([192.168.1.1]) by mail.toyingwithfate.com (Horde MIME library) with HTTP; Wed, 14 Nov 2007 04:03:51 -0500 Message-ID: <20071114040351.vll77326ck8so4go@mail.toyingwithfate.com> Date: Wed, 14 Nov 2007 04:03:51 -0500 From: Will McCutcheon To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-5.4 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on toyingwithfate.com X-Virus-Status: Clean Subject: Broadcom BCM5701KHB X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 09:30:35 -0000 I'm sure I'm doing something embarrassingly wrong, here, but I can't =20 for the life of me figure it out. I wanted to add a gigabit NIC to my =20 aging Pentium III server to augment its 3Com 3C905C NIC already in =20 place. I found an old Apple PCI gigabit ethernet card and installed =20 it, but it doesn't seem to pair up with a driver. Visual inspection =20 of the card reveals a Broadcom BCM5701KHB chip, and its relevant =20 output from pciconf -n is: none2@pci0:15:0:=09class=3D0x020000 card=3D0x0008106b chip=3D0x1645106b =20 rev=3D0x15 hdr=3D0x00 vendor =3D 'Apple Computer Inc.' device =3D 'Tigon3 Gigabit Ethernet NIC (BCM5701)' class =3D network subclass =3D ethernet Research seemed to indicate this card would work with the bge driver, =20 but un-commenting that driver in my kernel config and rebuilding the =20 kernel doesn't seem to get the card recognized. It shows up in my =20 dmesg -a as: pci0: at device 15.0 (no driver attached) I've searched through all the archives and Googled for hours, but to =20 no avail. Anyone have any idea how I can get this NIC recognized so =20 that I can configure it? Thanks for your help, and sorry to be a =20 bother! W From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 14 14:38:18 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10EDD16A417 for ; Wed, 14 Nov 2007 14:38:18 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id C126B13C4E3 for ; Wed, 14 Nov 2007 14:38:17 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 368CD20A5; Wed, 14 Nov 2007 15:20:24 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id B519A2093; Wed, 14 Nov 2007 15:20:23 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 9C4F684488; Wed, 14 Nov 2007 15:20:23 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Will McCutcheon References: <20071114040351.vll77326ck8so4go@mail.toyingwithfate.com> Date: Wed, 14 Nov 2007 15:20:23 +0100 In-Reply-To: <20071114040351.vll77326ck8so4go@mail.toyingwithfate.com> (Will McCutcheon's message of "Wed\, 14 Nov 2007 04\:03\:51 -0500") Message-ID: <867ikk3o48.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-drivers@freebsd.org Subject: Re: Broadcom BCM5701KHB X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 14:38:18 -0000 Will McCutcheon writes: > I'm sure I'm doing something embarrassingly wrong, here, yes, at least two things: you didn't mention which FreeBSD version you're running, nor did you provide a dmesg. > none2@pci0:15:0: class=3D0x020000 card=3D0x0008106b chip=3D0x1645106b Supported by bge since June 2006 in HEAD and August 2006 in RELENG_6 (including 6.2-RELEASE) > Research seemed to indicate this card would work with the bge driver, > but un-commenting that driver in my kernel config and rebuilding the > kernel doesn't seem to get the card recognized. 'kldload if_bge' would have sufficed. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-drivers@FreeBSD.ORG Thu Nov 15 07:59:00 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF51316A417 for ; Thu, 15 Nov 2007 07:59:00 +0000 (UTC) (envelope-from freebsd2@toyingwithfate.com) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id 77C5A13C4AC for ; Thu, 15 Nov 2007 07:59:00 +0000 (UTC) (envelope-from freebsd2@toyingwithfate.com) Received: (qmail 83475 invoked by uid 0); 15 Nov 2007 07:58:58 -0000 Received: from unknown (HELO toyingwithfate.com) (216.220.113.142) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Nov 2007 07:58:58 -0000 Received: from toyingwithfate.com (localhost [127.0.0.1]) by toyingwithfate.com (8.13.8/8.13.8) with ESMTP id lAF7wvOa008837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Nov 2007 02:58:57 -0500 (EST) (envelope-from freebsd2@toyingwithfate.com) Received: (from www@localhost) by toyingwithfate.com (8.13.8/8.13.8/Submit) id lAF7wv9Z008835; Thu, 15 Nov 2007 02:58:57 -0500 (EST) (envelope-from freebsd2@toyingwithfate.com) X-Authentication-Warning: toyingwithfate.com: www set sender to freebsd2@toyingwithfate.com using -f Received: from 192.168.1.1 ([192.168.1.1]) by mail.toyingwithfate.com (Horde MIME library) with HTTP; Thu, 15 Nov 2007 02:58:56 -0500 Message-ID: <20071115025856.mazfjnsm8g4so0cc@mail.toyingwithfate.com> Date: Thu, 15 Nov 2007 02:58:56 -0500 From: Will McCutcheon To: freebsd-drivers@freebsd.org References: <20071114040351.vll77326ck8so4go@mail.toyingwithfate.com> <867ikk3o48.fsf@ds4.des.no> In-Reply-To: <867ikk3o48.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-5.4 X-Virus-Scanned: ClamAV 0.91.2/4796/Wed Nov 14 19:09:59 2007 on toyingwithfate.com X-Virus-Status: Clean Cc: des@des.no Subject: Re: Broadcom BCM5701KHB X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 07:59:00 -0000 Quoting Dag-Erling Sm=F8rgrav : > Will McCutcheon writes: >> I'm sure I'm doing something embarrassingly wrong, here, > > yes, at least two things: you didn't mention which FreeBSD version > you're running, nor did you provide a dmesg. Ah, I though I'd mentioned that I was running 5.5-STABLE but =20 apparently managed not to. My apologies. I provided the excerpt from =20 dmesg I thought was relevant, but I'll include the whole thing at the =20 bottom in case I was wrong. >> none2@pci0:15:0:=09class=3D0x020000 card=3D0x0008106b chip=3D0x1645106b > > Supported by bge since June 2006 in HEAD and August 2006 in RELENG_6 > (including 6.2-RELEASE) I assume, then, that it never made it's way into 5.5-STABLE and that =20 I'll need to upgrade to 6.2-RELEASE or later? Just want to make sure =20 before I buckle down and upgrade the whole OS. :) Thanks for your help! W dmesg output below: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 =09The Regents of the University of California. All rights reserved. FreeBSD 5.5-STABLE #15: Wed Nov 14 02:44:51 EST 2007 root@toyingwithfate.com:/usr/obj/usr/src/sys/WHISPER Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (698.40-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x681 Stepping =3D 1 =20 Features=3D0x383f9ff real memory =3D 268435456 (256 MB) avail memory =3D 253018112 (241 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem =20 0xec000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port =20 0x10a0-0x10af,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0x1080-0x109f =20 irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) pci0: at device 13.0 (no driver attached) fwohci0: mem =20 0xe0810000-0xe0813fff,0xe0814000-0xe08147ff irq 10 at device 14.0 on =20 pci0 fwohci0: OHCI version 1.10 (ROM=3D1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 55:aa:55:aa:55:aa:55:aa fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: node_id=3D0xc800ffc0, gen=3D1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) fwohci0: phy int pci0: at device 15.0 (no driver attached) twe0: <3ware Storage Controller. Driver version 1.50.01.002> port =20 0x10b0-0x10bf mem 0xe0000000-0xe07fffff irq 9 at device 16.0 on pci0 twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x1000-0x107f mem =20 0xe0814c00-0xe0814c7f irq 3 at device 17.0 on pci0 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:75:c3:39:2e fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi= 0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 orm0: at iomem =20 0xe4000-0xeffff,0xe0000-0xe3fff,0xcb000-0xcbfff,0xc0000-0xcafff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 698395737 Hz quality 800 Timecounters tick every 10.000 msec ad0: 19541MB [39703/16/63] at ata0-master UDMA33 acd0: DVDROM at ata1-master PIO4 acd1: CDRW at ata1-slave PIO4 twed0: on twe0 twed0: 190782MB (390721968 sectors) Mounting root from ufs:/dev/ad0s1a From owner-freebsd-drivers@FreeBSD.ORG Thu Nov 15 09:33:01 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A20CA16A418 for ; Thu, 15 Nov 2007 09:33:01 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6317C13C47E for ; Thu, 15 Nov 2007 09:33:01 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 7A2632092; Thu, 15 Nov 2007 10:32:52 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 69FEB208F; Thu, 15 Nov 2007 10:32:52 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 58A1584481; Thu, 15 Nov 2007 10:32:52 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Will McCutcheon References: <20071114040351.vll77326ck8so4go@mail.toyingwithfate.com> <867ikk3o48.fsf@ds4.des.no> <20071115025856.mazfjnsm8g4so0cc@mail.toyingwithfate.com> Date: Thu, 15 Nov 2007 10:32:52 +0100 In-Reply-To: <20071115025856.mazfjnsm8g4so0cc@mail.toyingwithfate.com> (Will McCutcheon's message of "Thu\, 15 Nov 2007 02\:58\:56 -0500") Message-ID: <86prybx397.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-drivers@freebsd.org Subject: Re: Broadcom BCM5701KHB X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 09:33:01 -0000 Will McCutcheon writes: > I assume, then, that it never made it's way into 5.5-STABLE and that > I'll need to upgrade to 6.2-RELEASE or later? Yes, unless you want to try your hand at merging the required changes back. I don't know how much work that would be; it could be as simple as just adding the PCI ID. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no