CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/02/05 13:53:28
Modified files:
sys/arch/loongson/dev: bonito.c smfb.c
sys/arch/loongson/include: pci_machdep.h
sys/arch/loongson/loongson: loongson2_machdep.c wscons_machdep.c
Log message:
Add a set of functions to access PCI configuration space before bonito(4)
attaches, and use it to walk the PCI bus to figure out where the onboard
frame buffer device lies, if any; and get the frame buffer memory address
from reading the proper PCI BAR instead of hardcoding it; this should allow
the Gdium Liberty to configure its console correctly.