From 8c6454312cd9db65f441a325f8d33de1dae45cbf Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 11 Oct 2001 05:41:27 +0000 Subject: takashi shibagaki-san posted a similar patch to nomads. It seems that more laptops work w/o the shutdown code than with it on reboot. So let's disable it for a while. --- sys/pccard/pcic_pci.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys/pccard/pcic_pci.c') diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index d909278..3650abd 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -1067,9 +1067,13 @@ pcic_pci_probe(device_t dev) static void pcic_pci_shutdown(device_t dev) { +/* + * More reports of things working w/o this code than with it. + */ +#if 0 struct pcic_softc *sc; struct pcic_slot *sp; - + sc = (struct pcic_softc *) device_get_softc(dev); sp = &sc->slots[0]; @@ -1109,6 +1113,7 @@ pcic_pci_shutdown(device_t dev) bus_space_write_4(sp->bst, sp->bsh, CB_SOCKET_MASK, 0); bus_space_write_4(sp->bst, sp->bsh, CB_SOCKET_EVENT, 0xffffffff); sp->getb(sp, PCIC_STAT_CHG); +#endif } /* -- cgit v1.1