1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
This commit is contained in:
John Baldwin 2006-01-25 14:55:11 +00:00
parent 6dbacee284
commit 98355c9451
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154817

View File

@ -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;