summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-08-27 01:59:57 +0000
committerimp <imp@FreeBSD.org>2001-08-27 01:59:57 +0000
commit65d8305618eef4ca94f0f5c819c445ac522130cb (patch)
tree67dcb66d73c4ce2d1fb8d7e6450cf850bfaafb1b /sys/pccard
parent6153dc75cf0d4a084abfa1682acfb6b43ff02179 (diff)
downloadFreeBSD-src-65d8305618eef4ca94f0f5c819c445ac522130cb.zip
FreeBSD-src-65d8305618eef4ca94f0f5c819c445ac522130cb.tar.gz
CL-PD6729 and CLPD-6730 chips (the only ones with I/O bars in the pci
config space that I'm aware of) work. I'm committing this from such a machine. Remove warning about I/O based bridges. Warn users that the PCI routing of interrupts still doesn't work for these cards.
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic_pci.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c
index 2938d61..cb1a80e 100644
--- a/sys/pccard/pcic_pci.c
+++ b/sys/pccard/pcic_pci.c
@@ -257,10 +257,10 @@ pcic_pci_oz68xx_init(device_t dev)
static void
pcic_pci_pd67xx_init(device_t dev)
{
- /*
- * This is incomplete.
- */
- device_printf(dev, "Warning: CL-PD67xx chips may not work\n");
+ struct pcic_softc *sc = device_get_softc(dev);
+
+ if (sc->csc_intr == pcic_iw_pci || sc->func_intr == pcic_iw_pci)
+ device_printf(dev, "CL-PD67xx broken for PCI routing.\n");
}
/*
@@ -727,7 +727,6 @@ pcic_pci_attach(device_t dev)
sp->sc = sc;
sockbase = pci_read_config(dev, 0x10, 4);
if (sockbase & 0x1) {
- device_printf(dev, "I/O mapped device, might not work.\n");
sc->iorid = CB_PCI_SOCKET_BASE;
sc->iores = bus_alloc_resource(dev, SYS_RES_IOPORT,
&sc->iorid, 0, ~0, 1, RF_ACTIVE | RF_SHAREABLE);
OpenPOWER on IntegriCloud