diff options
author | nate <nate@FreeBSD.org> | 1997-10-24 15:39:00 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-10-24 15:39:00 +0000 |
commit | 3eaafbfd4a11694d0045aa8d381878e98c7c427b (patch) | |
tree | a49c486bfc18530f3ecea44b17393947ba32408c /sys/pccard/pcic.c | |
parent | 58e051f462fcfefb0bf2691e2626c3e80d407447 (diff) | |
download | FreeBSD-src-3eaafbfd4a11694d0045aa8d381878e98c7c427b.zip FreeBSD-src-3eaafbfd4a11694d0045aa8d381878e98c7c427b.tar.gz |
- Recognize the Cirrus Logic PD6729/6730 PC-Card Controller behind the
PCI bus.
[ Re-organized the code to be easier to extend, based on Michael's patch ]
Submitted by: Michael Reifenberger <root@totum.plaut.de>
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r-- | sys/pccard/pcic.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 83c965c..fc487ae 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -64,13 +64,24 @@ #if NPCI > 0 #include <pci/pcivar.h> +#define PCI_DEVICE_ID_PCIC_TI1130 0xAC12104Cul +#define PCI_DEVICE_ID_PCIC_TI1131 0xAC15104Cul +#define PCI_DEVICE_ID_PCIC_CLPD6729 0x11001013ul +#define PCI_DEVICE_ID_PCIC_O2MICRO 0x673A1217ul + static char * pcic_pci_probe(pcici_t tag, pcidi_t type) { - if (type == 0xac12104cul) + switch (type) { + case PCI_DEVICE_ID_PCIC_TI1130: return ("TI 1130 PCMCIA/CardBus Bridge"); - if (type == 0xac15104cUL) + case PCI_DEVICE_ID_PCIC_TI1131: return ("TI 1131 PCI to PCMCIA/CardBus bridge"); + case PCI_DEVICE_ID_PCIC_CLPD6729: + return ("Cirrus Logic PD6729/6730 PC-Card Controller"); + default: + break; + } return (NULL); } |