From owner-freebsd-questions Mon Feb 24 15:45:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 816A737B405 for ; Mon, 24 Feb 2003 15:45:38 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E78E43F3F for ; Mon, 24 Feb 2003 15:45:37 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: from ra.dweebsoft.com (localhost [127.0.0.1]) by ra.dweebsoft.com (8.12.6/8.12.6) with ESMTP id h1ONjbs4040779; Mon, 24 Feb 2003 15:45:37 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: (from http@localhost) by ra.dweebsoft.com (8.12.6/8.12.3/Submit) id h1ONjaXd040778; Mon, 24 Feb 2003 15:45:36 -0800 (PST) X-Authentication-Warning: ra.dweebsoft.com: http set sender to daxbert_news@dweebsoft.com using -f Received: from 64.81.58.36 ( [64.81.58.36]) as user daxbert@localhost by ra.dweebsoft.com with HTTP; Mon, 24 Feb 2003 15:45:36 -0800 Message-ID: <1046130336.3e5aaea09e74c@ra.dweebsoft.com> Date: Mon, 24 Feb 2003 15:45:36 -0800 From: Daxbert To: Daxbert Cc: "" , Stacey Roberts , FreeBSD Questions Subject: Re: Two nics installed, only one visible MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 64.81.58.36 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting Daxbert : > Quoting Stacey Roberts : > > > Intel Pro100S > > 3COM OfficeConnect (3CSOHO100B) > > > > At installation, I had the Intel (fxp0) connected to the switch, and it > > was configured during the sysinstall stage. However, the 3COM nic never > > showed up after installation in dmesg (as far as I can tell, that is): > > > > But the 3COM *is* picked up from scanpci: > > > > pci bus 0x0000 cardnum 0x0a function 0x00: vendor 0x10b7 device 0x9300 > > 3COM Device unknown > > CardVendor 0x10b7 card 0x9300 (3COM, Card unknown) > > > > Am I missing something? > > > > It would appear that from /usr/src/sys/pci/if_xlreg.h that the device id > 0x9300 > is not present. Because a reference for 0x9300 doesn't exist, you will have > an > unknown 'card', and it won't use the driver. > > I've never done this... but one option would be to edit if_xlreg.h and *add* > support for your card and recompile and install the new kernel. > > The following line exists in /usr/src/sys/pci/if_xlreg.h (RELENG_4_7) > > #define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646 > > maybe you could try changing this to: > > #define TC_DEVICEID_HURRICANE_SOHO100TX 0x9300 > > NOTE: A *proper* solution would be to add a new line to if_xlreg.h and add > support for this new device to if_xl.c. > > But for now the 0x9300 hack is worth a shot... > I should probably mention, the reason I chose to change 0x7646, is becuase it was the only one with SOHO in the name. If your new SOHO card isn't based on the HURRICANE ASIC, the above hack will fail. In which case you should research which ASIC it is based on, and then make the change to one of the other DEVICEID defines. --daxbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message