Fix and add deivce ID's.

Obtained from: DragonFly BSD
This commit is contained in:
simokawa 2004-08-04 12:18:39 +00:00
parent d46d1e3073
commit 85a68dbe87
2 changed files with 9 additions and 4 deletions

View File

@ -168,12 +168,16 @@ fwohci_pci_probe( device_t dev )
device_set_desc(dev, "Texas Instruments PCI4451");
return 0;
}
if (id == (FW_VENDORID_SONY | FW_DEVICE_CX3022)) {
device_set_desc(dev, "Sony CX3022");
if (id == (FW_VENDORID_SONY | FW_DEVICE_CXD1947)) {
device_set_desc(dev, "Sony i.LINK (CXD1947)");
return 0;
}
if (id == (FW_VENDORID_SONY | FW_DEVICE_CXD3222)) {
device_set_desc(dev, "Sony i.LINK (CXD3222)");
return 0;
}
if (id == (FW_VENDORID_VIA | FW_DEVICE_VT6306)) {
device_set_desc(dev, "VIA VT6306");
device_set_desc(dev, "VIA Fire II (VT6306)");
return 0;
}
if (id == (FW_VENDORID_RICOH | FW_DEVICE_R5C551)) {

View File

@ -65,7 +65,8 @@
#define FW_DEVICE_TIPCI4410A (0x8017 << 16)
#define FW_DEVICE_TIPCI4450 (0x8011 << 16)
#define FW_DEVICE_TIPCI4451 (0x8027 << 16)
#define FW_DEVICE_CX3022 (0x8039 << 16)
#define FW_DEVICE_CXD1947 (0x8009 << 16)
#define FW_DEVICE_CXD3222 (0x8039 << 16)
#define FW_DEVICE_VT6306 (0x3044 << 16)
#define FW_DEVICE_R5C551 (0x0551 << 16)
#define FW_DEVICE_R5C552 (0x0552 << 16)