diff options
author | imp <imp@FreeBSD.org> | 2001-10-11 05:41:27 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-10-11 05:41:27 +0000 |
commit | 8c6454312cd9db65f441a325f8d33de1dae45cbf (patch) | |
tree | 79f1a7289414d861ef058e597ec966d9c7f1f2c4 /sys/pccard | |
parent | db88fbbac0de8a476a3c9979d9bf7f5dd530c3e0 (diff) | |
download | FreeBSD-src-8c6454312cd9db65f441a325f8d33de1dae45cbf.zip FreeBSD-src-8c6454312cd9db65f441a325f8d33de1dae45cbf.tar.gz |
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.
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pcic_pci.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 } /* |