summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-11-11 06:55:15 +0000
committerimp <imp@FreeBSD.org>2001-11-11 06:55:15 +0000
commit04fd477246dc609ffb61d27afce54eb4176712a5 (patch)
tree0a369d948b07c0ae5bc7e97135efc0cdd2e5026b /sys/pccard
parent68b6d731ef23750a7e9a21239ddf86c0d1d8a0f1 (diff)
downloadFreeBSD-src-04fd477246dc609ffb61d27afce54eb4176712a5.zip
FreeBSD-src-04fd477246dc609ffb61d27afce54eb4176712a5.tar.gz
Do not assume that a I/O based bridge is a 6729. Intel made a funky chip
that I have the datasheet on the way for that also does this.
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c
index 74935c3..c7f48d4 100644
--- a/sys/pccard/pcic_pci.c
+++ b/sys/pccard/pcic_pci.c
@@ -1185,7 +1185,7 @@ pcic_pci_attach(device_t dev)
sp[i].getb = pcic_getb_io;
sp[i].putb = pcic_putb_io;
sp[i].offset = i * PCIC_SLOT_SIZE;
- sp[i].controller = PCIC_PD6729;
+ sp[i].controller = itm ? itm->type : PCIC_PD6729;
if ((sp[i].getb(&sp[i], PCIC_ID_REV) & 0xc0) == 0x80)
sp[i].slt = (struct slot *) 1;
}
OpenPOWER on IntegriCloud