Subject: CVS commit: [jmcneill-pm] src/sys/dev
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 08/04/2007 18:20:51
Module Name:	src
Committed By:	he
Date:		Sat Aug  4 18:20:51 UTC 2007

Modified Files:
	src/sys/dev/ic [jmcneill-pm]: ahcisata_core.c ahcisatavar.h
	src/sys/dev/pci [jmcneill-pm]: ahcisata_pci.c

Log Message:
Factor out the hardware initialization code in ahcisata_core.c,
and provide them to the pci frontend, which has now grown its own
softc and a power management handler.

There may be one too many re-initializations done on resume (witness
the multiple kernel messages from ahcisata), but at least this is
sufficient to get the Lenovo T60 to come out of resume with a
working disk controller and disk.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.4.8.1 src/sys/dev/ic/ahcisata_core.c
cvs rdiff -r1.1 -r1.1.12.1 src/sys/dev/ic/ahcisatavar.h
cvs rdiff -r1.1 -r1.1.12.1 src/sys/dev/pci/ahcisata_pci.c

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