git: vga_pci: Improve vga boot display detection.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Jun 28 05:16:45 PDT 2014


commit 2a979d810b3ef64e1bbd20c55e113d5e39db5362
Author: Imre Vadasz <imre at vdsz.com>
Date:   Fri Jun 27 21:29:04 2014 +0200

    vga_pci: Improve vga boot display detection.
    
    * Check the "VGA Enable" bit on the parent bridge only if it is a
      PCI-to-PCI bridge.
    
    * Always check the "I/O" and "Memory address space decoding" bits on the
      video card itself.
    
    * Furthermore, vga_pci_attach() logs "Boot video device" if the card
      being attached is the Chosen One:
        vgapci0: <VGA-compatible display> [...]
        vgapci0: Boot video device
    
    This is FreeBSD's r259579.
    
    Tested-by: François Tigeot <ftigeot at wolfpond.org>

Summary of changes:
 sys/bus/pci/vga_pci.c | 71 +++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 54 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a979d810b3ef64e1bbd20c55e113d5e39db5362


-- 
DragonFly BSD source repository



More information about the Commits mailing list