I want to print PCI regs after PCI device initialization.
Where need to put the calling print_pci_regs_all? In hardwaremain ???
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Thursday, November 04, 2004 1:13 PM To: YhLu Cc: LinuxBIOS Subject: RE: Removing device driver code in mainboard.c for Tyan boards?
On Thu, 2004-11-04 at 14:17, YhLu wrote:
It is disabled via DEBUG.
I know. But why you need a virtual debug_device? Just to dump the PCI CS registers ?
Ollie
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Thursday, November 04, 2004 1:11 PM To: YhLu Cc: LinuxBIOS Subject: RE: Removing device driver code in mainboard.c for Tyan boards?
On Thu, 2004-11-04 at 14:08, YhLu wrote:
Please check the si/3114
I guess you need to keep Ati Si Trident
Why you put the debug_device back ?
Ollie
On Thu, 2004-11-04 at 14:22, YhLu wrote:
I want to print PCI regs after PCI device initialization.
Where need to put the calling print_pci_regs_all? In hardwaremain ???
Why don't you put the debug device into device/generic/debug ? And in the mainboard Config.lb you added
chip device/generic/debug
as the last chip. The device emuleration will call the methods of the debug device last. And you probably can dump PCI CS registers in different stages of the enumeration.
Ollie