diff options
author | msmith <msmith@FreeBSD.org> | 2000-10-27 05:58:45 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-10-27 05:58:45 +0000 |
commit | a01491f9047180a93bb215af3fbb93771305357b (patch) | |
tree | 10bc4b115a0889c2021743465a23ea222f28a392 /sys/dev | |
parent | e083202c142560b55e68119f1b31ca6abbc9ea51 (diff) | |
download | FreeBSD-src-a01491f9047180a93bb215af3fbb93771305357b.zip FreeBSD-src-a01491f9047180a93bb215af3fbb93771305357b.tar.gz |
Add PCI device ID for an upcoming revision of the product.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/twe/twe_freebsd.c | 3 | ||||
-rw-r--r-- | sys/dev/twe/twereg.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/twe/twe_freebsd.c b/sys/dev/twe/twe_freebsd.c index 761117d..9012f36 100644 --- a/sys/dev/twe/twe_freebsd.c +++ b/sys/dev/twe/twe_freebsd.c @@ -159,7 +159,8 @@ twe_probe(device_t dev) debug_called(4); if ((pci_get_vendor(dev) == TWE_VENDOR_ID) && - (pci_get_device(dev) == TWE_DEVICE_ID)) { + ((pci_get_device(dev) == TWE_DEVICE_ID) || + (pci_get_device(dev) == TWE_DEVICE_ID_ASIC))) { device_set_desc(dev, TWE_DEVICE_NAME); #ifdef TWE_OVERRIDE return(0); diff --git a/sys/dev/twe/twereg.h b/sys/dev/twe/twereg.h index 5330015..3d6d668 100644 --- a/sys/dev/twe/twereg.h +++ b/sys/dev/twe/twereg.h @@ -99,6 +99,7 @@ #define TWE_DEVICE_NAME "3ware Storage Controller" #define TWE_VENDOR_ID 0x13C1 #define TWE_DEVICE_ID 0x1000 +#define TWE_DEVICE_ID_ASIC 0x1001 /* command packet opcodes */ #define TWE_OP_NOP 0x00 |