Adds backward compatibility to the BootManager for older bootcds. Rather than
authorStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 20 Feb 2008 18:22:51 +0000 (18:22 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 20 Feb 2008 18:22:51 +0000 (18:22 +0000)
commit745c14eecd6e76683b8b8c8ed764c4be1b704b78
tree2ffe40a1913ede0735b17ee0d493efe1c94c11b3
parent8cb139ee4c3a0a184dbbf7c100968e7bcda13308
Adds backward compatibility to the BootManager for older bootcds.  Rather than
failing to load the new pciscan library, it will succeed with the old
behavior.  In particular some devices will fail to be detected using the old
bootcd.  But, this shouldn't be that much of a problem.

Daniel has proposed that the pypciscan.so library simply be re-written in
python by parsing /proc/bus/pci/devices to create a structure like:

    pypciscan.get_devices()
returns {'<domain>:<bus>:<dev>.<func>' :
(<vendor id>, <device id>, <subvendor id>, <subdevice id>, <device class << 8 | progif>)}
for all PCI devices.

I agree that this would be a better approach.  Would have to check that the
older bootcd kernel exports all of this information, then rewrite the module.
source/merge_hw_tables.py [new file with mode: 0755]
source/steps/StartDebug.py
source/systeminfo.py
source/systeminfo_30.py [new file with mode: 0755]
source/systeminfo_34.py [new file with mode: 0755]