Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Michael Lorenz <macallan@netbsd.org>
List: source-changes
Date: 01/28/2008 16:08:38
Module Name:	src
Committed By:	macallan
Date:		Mon Jan 28 16:08:38 UTC 2008

Modified Files:
	src/sys/dev/ic: aic7xxx.c aic7xxx_osm.c aic7xxxvar.h
	src/sys/dev/pci: ahc_pci.c

Log Message:
get rid of the shutdown hook, add suspend and resume handlers instead
XXX: ahc_suspend panics here so suspend calls ahc_shutdown and resume does
nothing.
This fixes a hangup and subsequent panic which occured when the shutdown hooks
were called and /afterwards/ the sd suspend handler tried to flush caches
through an already shut down ahc.


To generate a diff of this commit:
cvs rdiff -r1.124 -r1.125 src/sys/dev/ic/aic7xxx.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/ic/aic7xxx_osm.c
cvs rdiff -r1.53 -r1.54 src/sys/dev/ic/aic7xxxvar.h
cvs rdiff -r1.61 -r1.62 src/sys/dev/pci/ahc_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.