Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci

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?


David Young             OJC Technologies      Urbana, IL * (217) 278-3933

Home | Main Index | Thread Index | Old Index