diff options
author | jhb <jhb@FreeBSD.org> | 2006-01-25 14:55:11 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-01-25 14:55:11 +0000 |
commit | e70c09a2e11c97b85bf8e78f854be7f65f8b79b6 (patch) | |
tree | 81a8ec5f20d61a0862658c6ec7b8d49f7764e446 /sys/dev/rp | |
parent | a6d0508dd8c4beb88be6d5ca4b35e12db40e8312 (diff) | |
download | FreeBSD-src-e70c09a2e11c97b85bf8e78f854be7f65f8b79b6.zip FreeBSD-src-e70c09a2e11c97b85bf8e78f854be7f65f8b79b6.tar.gz |
The UPCI 32 rp(4) card uses BAR 2 like the UPCI 80 card.
Submitted by: Vitaliy Skakun vit dot ska at gmail dot com
MFC after: 3 days
Diffstat (limited to 'sys/dev/rp')
-rw-r--r-- | sys/dev/rp/rp_pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/rp/rp_pci.c b/sys/dev/rp/rp_pci.c index 46ed561..4c27b62 100644 --- a/sys/dev/rp/rp_pci.c +++ b/sys/dev/rp/rp_pci.c @@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$"); #define RP_DEVICE_ID_4J 0x0007 #define RP_DEVICE_ID_6M 0x000C #define RP_DEVICE_ID_4M 0x000D +#define RP_DEVICE_ID_UPCI_32 0x0801 #define RP_DEVICE_ID_UPCI_8O 0x0805 /************************************************************************** @@ -179,6 +180,7 @@ rp_pciattach(device_t dev) ctlp->bus_ctlp = NULL; switch (pci_get_device(dev)) { + case RP_DEVICE_ID_UPCI_32: case RP_DEVICE_ID_UPCI_8O: ctlp->io_rid[0] = PCIR_BAR(2); break; |