On Wed, Dec 30, 2009 at 12:24:38AM +0000, Jonathan A. Kollasch wrote: > Module Name: src > Committed By: jakllsch > Date: Wed Dec 30 00:24:38 UTC 2009 > > Modified Files: > src/sys/dev/pci: auich.c > > Log Message: > Ensure that the memory or i/o space we need is accessible at attach > and resume.
That which you do in the attach routine, you must undo in the detach routine. :-) You do not have to fiddle with the enables after resume, the bus resume handler will restore the device's configuration space for you. How many drivers write the memory- and I/O-enable bits themselves? Can they share some code? Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933