Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] XFree-4.2 and C110
@ 2002-06-30 14:48 Bryan W. Headley
  2002-06-30 22:10 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan W. Headley @ 2002-06-30 14:48 UTC (permalink / raw)
  To: parisc-linux

Tried the new 4.2.0 snapshots on my C110. It tells me it cannot find the 
framebuffer, and can't support 24-bit color (even though 4.1 can).

The system appears to be looking in /proc/bus/pci to look for video 
cards and framebuffers, which is a bogus way to find video cards on a 
PC, too (VESA bus, ISA, EISA, MCA... where is that video card?)

On the sparc/32, they're going down /proc/openprom to find the video 
adapter; I'm wondering if it's appropriate to try to expose the device 
list the kernel sees during bootup as a /proc file, and then write a 
special handler like they have for "sbus".

I'm not too fond of synthesizing a "pci" directory, and making up fake 
IDs for things that aren't PCI cards...

a) anyone already come up with a better solution?
b) if one has to be developed, is a little file in /proc the way to go?

-- 
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [parisc-linux] XFree-4.2 and C110
  2002-06-30 14:48 [parisc-linux] XFree-4.2 and C110 Bryan W. Headley
@ 2002-06-30 22:10 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2002-06-30 22:10 UTC (permalink / raw)
  To: Bryan W. Headley; +Cc: parisc-linux

On Sun, Jun 30, 2002 at 09:48:18AM -0500, Bryan W. Headley wrote:
> The system appears to be looking in /proc/bus/pci to look for video 
> cards and framebuffers, which is a bogus way to find video cards on a 
> PC, too (VESA bus, ISA, EISA, MCA... where is that video card?)

Ugh.

> I'm not too fond of synthesizing a "pci" directory, and making up fake 
> IDs for things that aren't PCI cards...

Well... it's a hack which we already kind of do, and won't need to
carry forward into 2.5.  There's a fake PCI device per IOC, so maybe
this could be filled in by a gfx card.  In 2.5, we'll have driverfs
and hopefully X won't have to tell the difference.

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-30 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-30 14:48 [parisc-linux] XFree-4.2 and C110 Bryan W. Headley
2002-06-30 22:10 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox