From owner-freebsd-hardware@FreeBSD.ORG Tue Jul 27 02:30:30 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E60016A4CE; Tue, 27 Jul 2004 02:30:30 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B61E343D2D; Tue, 27 Jul 2004 02:30:27 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i6R2UMES018621; Mon, 26 Jul 2004 21:30:22 -0500 (CDT) (envelope-from dan) Date: Mon, 26 Jul 2004 21:30:22 -0500 From: Dan Nelson To: FreeBSD Daemon Message-ID: <20040727023022.GE9514@dan.emsphone.com> References: <000601c4737e$21c5ef30$0501a8c0@kojo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c4737e$21c5ef30$0501a8c0@kojo> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: US BC001 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 02:30:30 -0000 In the last episode (Jul 27), FreeBSD Daemon said: > I got a low end network card (chip: Surecom BC001). Plugged into a PCI > slot it is not recognized by FreeBSD 4.10. > I googled and found that the producer gives a RealTek 8139 driver to it > (http://www.lantech.com.tw/eng/products/index.php?mode=view&id=12&PHPSES > SID=e828906aae1ab4f3f63a0069b5e9eed8), but as mentioned it does not show > up as rl. > Can someone help me? It might just be using a PCI ID that the rl driver doesn't know about. Run "pciconf -lv", find your card, and note the chip= value. The first 4 digits are the device ID, and the last 4 are the vendor ID. Add them to /sys/pci/if_rlreg.h (search for VENDORID) and to /sys/pci/if_rl.c (search for rl_devs), rebuild your kernel, and reboot. If it works, submit a pr with the info so it can be added to the next release. -- Dan Nelson dnelson@allantgroup.com