CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2014/02/18 12:37:33

Modified files:
        sys/arch/alpha/alpha: machdep.c 
        sys/arch/alpha/pci: sio.c sio_pic.c siovar.h 

Log message:
sio_intr_shutdown() used to be a shutdown hook, and eventually became an
unconditional call in machdep.c!boot(). Except that the cpp conditional
enabling its use was not in machdep.c's scope, so this function was never
called. Ouch.

Remove it from boot() and grow a ca_activate method to the sio(4/alpha) device,
which will take care of invoking sio_intr_shutdown() if DVACT_POWERDOWN.

Reply via email to