From owner-freebsd-net Wed Jun 3 02:19:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA05717 for freebsd-net-outgoing; Wed, 3 Jun 1998 02:19:50 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA05697 for ; Wed, 3 Jun 1998 02:19:38 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id JAA22400; Wed, 3 Jun 1998 09:19:29 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id LAA29557; Wed, 3 Jun 1998 11:19:05 +0200 (MET DST) Message-ID: <19980603111904.33620@follo.net> Date: Wed, 3 Jun 1998 11:19:04 +0200 From: Eivind Eklund To: GVB , freebsd-net@FreeBSD.ORG Subject: Re: 3COM NIC Problems... References: <199806030640.XAA13138@abused.abused.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199806030640.XAA13138@abused.abused.com>; from GVB on Tue, Jun 02, 1998 at 11:33:43PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 02, 1998 at 11:33:43PM -0700, GVB wrote: > I have a Pentium system running with two NICs, one a PCI 3c590, the second > a PCI 3c905, upon bootup, the generic kernel only loads a driver for the > 3c590, specifically the vx driver.. The 3c905 is not being asigned a driver > and I cant find in any kernel configuration files the driver name for the > 3c905..here is my exact dmesg.. > > pci0:19: vendor=0x10b7, device=0x9055, class=network (ethernet) int a > irq 10 [no driver assigned] > vx0 <3COM 3C590 Etherlink III PCI> rev 0 int a irq 9 on pci0:20:0 > utp/aui/bnc[*utp*] address 00:a0:24:58:1b:bf > > > it finds the 3c905 on irq10 but does not asign the propper driver..where do > I start? (Read patch before applying) cvs diff: Diffing . Index: if_vx_pci.c =================================================================== RCS file: /home/ncvs/src/sys/pci/if_vx_pci.c,v retrieving revision 1.8 diff -u -r1.8 if_vx_pci.c --- if_vx_pci.c 1998/02/20 13:11:53 1.8 +++ if_vx_pci.c 1998/06/03 09:15:47 @@ -73,6 +73,8 @@ return "3COM 3C900 Etherlink XL PCI"; if(device_id == 0x905010b7ul || device_id == 0x905110b7ul) return "3COM 3C905 Fast Etherlink XL PCI"; + if(device_id == 0x905510b7ul) + printf("3COM 3C905B is NOT SUPPORTED. That B is significant!\n"); return NULL; } This patch is only correct if the above card is a 3c905B - if it is some other version of the 905, then you can _probably_ get away with replacing the printf() with a proper return. Alas, supporting the 905B is not a trivial exercise. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message