cvs commit: src/sys/conf files.i386 src/sys/pci agp_ati.c agpreg.h src/sys/modules/agp Makefile

Nate Lawson nate at root.org
Tue Sep 20 13:01:37 PDT 2005


John Baldwin wrote:
> On Saturday 17 September 2005 04:44 pm, Nate Lawson wrote:
>>Eric Anholt wrote:
>>>We clarified in private mail that the agp device isn't attaching.  I
>>>think acpi_video is beating it out, confirming that we really need to be
>>>able to somehow share devices well for video.  That's 3 drivers now
>>>(agp, drm, and acpi_video) that would all like to play.
>>
>>Ah.  Yes, I think we'll have to do something like what I did for cpu
>>devices.  Basically, cpu0, cpu1, etc. implement a pseudo bus and
>>multiple drivers attach below it.  Do a devinfo to see this.  There is
>>no real way in newbus to have multiple drivers attached to a device if
>>it doesn't implement a bus interface.
>>
>>This will require some design thinking.
> 
> 
> Yes, a vgapci(4) driver or some such.  I've started tinkering in an (old) p4 
> branch (jhb_agp) with moving the various agp drivers to be children of 
> hostb(4) so that one would be able to kldload agp as a first step.

Exactly.  Thanks for picking up this work.  I'll track your p4 branch 
and maybe contribute a little, especially to the design.

-- 
Nate


More information about the cvs-src mailing list