CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2011/04/17 22:16:14

Modified files:
        sys/dev/pci    : pciide.c 
        sys/dev/ata    : ata_wdc.c wd.c 
        sys/dev/ic     : wdc.c wdcvar.h 

Log message:
keep an eye out for wdc registers returning 0xff.  if they return 0xff,
this probably means the controller is dead -- as in, a hot plug eject
event.  in that case, mark the driver dead and try harder to return -1
in the interrupt handler.
tested by many
ok dlg, miod did not object

Reply via email to