Subject: Re: vga* at pci? on non-i386
To: None <martin@night-porter.duskware.de>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 06/14/2001 21:42:26
> I found the framebuffer is not at the usual (aka PC-ish) location. On a PC
> the VGA card has all BARs completely zero (i.e. unimplemented). On the sun
> the BAR at 0x10 points to the framebuffer and the BAR at 0x14 to the IO
> region of the VGA.

Duh, forget this: I somehow managed to look at the wrong PCI dump.

There are no real differences:

On PC:

    Class Name: display (0x03)
    Subclass Name: VGA (0x00)
    Interface: 0x00
    Revision ID: 0xa3

and

    Base address register at 0x10
      type: 32-bit nonprefetchable memory
      base: 0xdc000000, size: 0x01000000
    Base address register at 0x14 
      type: 32-bit prefetchable memory
      base: 0xd0000000, size: 0x08000000

On the sparc:

    Class Name: display (0x03)
    Subclass Name: VGA (0x00)
    Interface: 0x00

and

    Base address register at 0x10
      type: 32-bit nonprefetchable memory
      base: 0xe1000000, size: 0x01000000                                           Base address register at 0x14 
    Base address register at 0x14 
      type: 32-bit i/o  
      base: 0x00000000, size: 0x00000100  


Martin