From owner-freebsd-net@FreeBSD.ORG Mon Feb 26 09:46:46 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD12716A400; Mon, 26 Feb 2007 09:46:46 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id A32F913C441; Mon, 26 Feb 2007 09:46:41 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l1Q99iIx001551; Mon, 26 Feb 2007 20:09:44 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l1Q99iIn001550; Mon, 26 Feb 2007 20:09:44 +1100 (EST) (envelope-from peter) Date: Mon, 26 Feb 2007 20:09:44 +1100 From: Peter Jeremy To: Lars Tunkrans Message-ID: <20070226090944.GC844@turion.vk2pj.dyndns.org> References: <00EE2F1E-CE3C-4124-936C-9F8D5B543468@speakeasy.net> <45E183C7.7040904@bredband.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: <45E183C7.7040904@bredband.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-net@freebsd.org, freebsd-amd64@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: FreeBSD ethernet on a Sun Ultra 20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2007 09:46:47 -0000 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Feb-25 13:40:39 +0100, Lars Tunkrans w= rote: >On Solaris10/OpenSolaris a file called /etc/driver_aliases is=20 >created which contains all the known PCI-DEVICE ID's=20 >known by the software ( devicedrivers ). There's nothing similar in FreeBSD. Most drivers have a PCI ID table embedded in them in some form but there's no defined interface for querying a driver as to what PCI IDs it recognizes. Each driver is responsible for deciding whether it can support a specific device or not. That decision can be based on information other than just the PCI ID. For example the RealTek 8139 and 8139C+ share the same PCI ID but have different FreeBSD drivers (rl(4) and re(4), respectively). Note that ISA devices (for example) don't have anything equivalent to a PCI ID. >FreeBSD has a very good list of supported Hardware that details =20 >which chipsets are supported.=20 That list is auto-generated from the section 4 man pages. If someone wanted to annotate all the man pages with PCI IDs then the web page would update automatically. >Maybe this list now needs to be enhanced with the PCI device codes, as =20 >a device with the same generic name apperantly >now can have several PCI Device codes. This has always been the case. Compaq/HP (and probably other vendors) regularly put vendor-specific PCI IDs into generic parts in their systems. Conversely, changing the chips in systems without mentioning this anywhere is also quite common (WLAN cards are notorious for this) - this can mean that two cards with identical part numbers and otherwise indistinguishable from the outside of the box can require totally different drivers. --=20 Peter Jeremy --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF4qPY/opHv/APuIcRAp6zAJ94oNfglTXI7gjTSHMAOQwvGqAaOACfTAIT /0YMzMc85NhXp/OIot1EhBY= =M+4r -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--