diff options
author | imp <imp@FreeBSD.org> | 2001-11-11 06:55:15 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-11-11 06:55:15 +0000 |
commit | 04fd477246dc609ffb61d27afce54eb4176712a5 (patch) | |
tree | 0a369d948b07c0ae5bc7e97135efc0cdd2e5026b /sys | |
parent | 68b6d731ef23750a7e9a21239ddf86c0d1d8a0f1 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/pccard/pcic_pci.c | 2 |
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; } |