Date: Wed, 11 Jan 2012 16:31:29 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-hardware@freebsd.org Subject: Re: Hardware List Message-ID: <jeka0h$94q$1@dough.gmane.org> In-Reply-To: <CAASz-w0A5ynznSDQp8n-EG7h_z2%2Byx6qHLWaEYyjqRHTFVQ4LQ@mail.gmail.com> References: <CAASz-w3Qc8_Fgu2UDYax7JQ0WLnLtMx7QNAF%2Bd2MCZrZCdez%2BQ@mail.gmail.com> <4EDC0355.4030908@FreeBSD.org> <CAASz-w0A5ynznSDQp8n-EG7h_z2%2Byx6qHLWaEYyjqRHTFVQ4LQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/12/2011 10:19, 图潘 wrote: > I have looked at it, thank you, unfortunately it does not work as i had in > mind as I still have to identify the hardware itself, so I need to find out > the pci device id for each chipset (and/or vice versa). > > In hardware terms, I am working with device ids and not with chipsets. Is > there also a document covering the ids itself? No, and since drivers are constantly updated to supports new devices, the manuals often contain old and incomplete information. Unfortunately there is also no standard way in which drivers would present the list of all the devices they support, but it is often very easy to find that out from the code. Almost all drivers begin with a programmed list of their supported devices, looking similar to this in code: static struct { uint32_t id; uint8_t rev; const char *name; int quirks; } ahci_ids[] = { {0x43801002, 0x00, "ATI IXP600", 0}, {0x43901002, 0x00, "ATI IXP700", 0}, {0x43911002, 0x00, "ATI IXP700", 0}, {0x43921002, 0x00, "ATI IXP700", 0}, {0x43931002, 0x00, "ATI IXP700", 0}, {0x43941002, 0x00, "ATI IXP800", 0}, {0x43951002, 0x00, "ATI IXP800", 0}, {0x06121b21, 0x00, "ASMedia ASM1061", 0}, {0x26528086, 0x00, "Intel ICH6", AHCI_Q_NOFORCE}, {0x26538086, 0x00, "Intel ICH6M", AHCI_Q_NOFORCE}, {0x26818086, 0x00, "Intel ESB2", 0}, {0x26828086, 0x00, "Intel ESB2", 0}, {0x26838086, 0x00, "Intel ESB2", 0}, {0x27c18086, 0x00, "Intel ICH7", 0}, {0x27c38086, 0x00, "Intel ICH7", 0},
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jeka0h$94q$1>