From 8f403ef071ba98fd2b1b17b70942066a52731870 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 17 Oct 2001 05:20:56 +0000 Subject: [PATCH] ToPIC fixes. scale back what we do for functional interrupts because it appears to break at least the ToPIC 100. Submitted by: Mark Santcroos --- sys/pccard/pcic_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index 3650abd2e38c..ddfd23745bfa 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -772,6 +772,7 @@ pcic_pci_ti_init(device_t dev) static int pcic_pci_topic_func(struct pcic_slot *sp, enum pcic_intr_way way) { +#ifdef THIS_BRAEKS_THINGS device_t dev = sp->sc->dev; u_int32_t scr; @@ -781,7 +782,7 @@ pcic_pci_topic_func(struct pcic_slot *sp, enum pcic_intr_way way) else scr &= ~TOPIC_SOCKET_CTRL_SCR_IRQSEL; pci_write_config(dev, TOPIC_SLOT_CTRL, scr, 4); - +#endif return (pcic_pci_gen_func(sp, way)); }