Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2007 20:09:44 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Lars Tunkrans <lars.tunkrans@bredband.net>
Cc:        freebsd-net@freebsd.org, freebsd-amd64@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Re: FreeBSD ethernet on a Sun Ultra 20
Message-ID:  <20070226090944.GC844@turion.vk2pj.dyndns.org>
In-Reply-To: <45E183C7.7040904@bredband.net>
References:  <00EE2F1E-CE3C-4124-936C-9F8D5B543468@speakeasy.net> <45E183C7.7040904@bredband.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <lars.tunkrans@bredband.net> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070226090944.GC844>