Subject: Re: CVS commit: src/sys/dev/pci
To: Jason Thorpe <thorpej@shagadelic.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: source-changes
Date: 03/23/2007 19:15:28
On 23-Mar-07, at 6:59 PM, Jason Thorpe wrote:
> On Mar 23, 2007, at 3:17 PM, Jared D. McNeill wrote:
>> Basically, when we switch from WSDISPLAYIO_MODE_EMUL to anything  
>> else, we
>> release any bus_space resources. When we return to  
>> WSDISPLAYIO_MODE_EMUL,
>> reclaim these resources and reinitialize the display.
>
> Wow, that's ... incredibly scary.

Yeah. Especially since ~all wsdisplay drivers will need to do this.  
Please tell me there is a better way :)

Cheers,
Jared