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},


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "[email protected]"

Reply via email to