From 65d8305618eef4ca94f0f5c819c445ac522130cb Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 27 Aug 2001 01:59:57 +0000 Subject: 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. --- sys/pccard/pcic_pci.c | 9 ++++----- 1 file 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); -- cgit v1.1