Subject: Re: CVS commit: src/sys/dev/pci
To: None <jmcneill@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 03/23/2007 15:59:07
On Mar 23, 2007, at 3:17 PM, Jared D. McNeill wrote:

>
> Module Name:    src
> Committed By:    jmcneill
> Date:        Fri Mar 23 22:17:30 UTC 2007
>
> Modified Files:
>    src/sys/dev/pci: unichromefb.c
>
> Log Message:
> Make unichromefb(4) peacefully co-exist with viadrm(4).
>
> 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.

-- thorpej