Subject: CVS commit: src/sys/arch/i386/pci
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/16/2007 21:14:22
Module Name:	src
Committed By:	dyoung
Date:		Sun Dec 16 21:14:22 UTC 2007

Modified Files:
	src/sys/arch/i386/pci: elan520.c

Log Message:
Miscellaneous changes designed to improve elansc suspend/detachment:

1 Synchronize access to the softc and hardware with a mutex.
2 Add the sc_suspended flag, and observe it in the watchdog routines.
3 Re-order operations in elansc_attach() and elansc_detach() to
  protect against access while the device is not fully configured.
4 Cancel detachment if sysmon_wdog_unregister() is cancelled by a
  signal.
5 Add an empty childdetached method so that I can detach gpio0 at
  elansc0.  (XXX cannot individually re-attach gpio0.)


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/arch/i386/pci/elan520.c

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