From 98355c94512e4ac48f1d47b71f5c9bba4125c932 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 25 Jan 2006 14:55:11 +0000 Subject: [PATCH] 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 --- sys/dev/rp/rp_pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/rp/rp_pci.c b/sys/dev/rp/rp_pci.c index 46ed5615dc0a..4c27b6222efb 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;