You changes all mb config for AMD/Iwill/IBM....that took some time.
If there is on board scsi, I want to set subsystem id, I need to put that in Config.lb?
YH
-----Original Message----- From: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] Sent: Thursday, October 21, 2004 4:08 AM To: LinuxBIOS Subject: Freebios2 recovery progress...
I have managed to get another chunk of merging and bug fixing done tonight.
I now have pci subsystem vendor and subsystem id's being set on the arima hdama, so the board is now identifiable with lspci.
I have bumped the LinuxBIOS minor version so we can track these changes.
All of the superio chips should not work or at least be very close except the weird via superio/pci hybrid that I could not make sense of.
I have changed all of the references to chip_control to chip_operations. And fixed up the usage while I was in the neighborhood if I could clearly see what the fix should be. So Config.lb for most of the Opteron ports should work, or at least be very close now.
It is time for me to break off and head home.
Eric
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Li-Ta Lo ollie@lanl.gov writes:
How did you do that ? Where do you put those IDs ?
YhLu YhLu@tyan.com writes:
You changes all mb config for AMD/Iwill/IBM....that took some time.
If there is on board scsi, I want to set subsystem id, I need to put that in Config.lb?
Or more likely src/mainboarod/???/???/Options.lb
src/devices/pci_device.c:pci_dev_enable_resources() calls dev->ops->pci_ops->set_subsystem() when the device dev->on_mainboard is true. In turn config.g sets that in static.c for all devices in the static tree.
I believe those are the correct semantics. That the subsystem is essentially an identifier for the board the chips are sitting on.
The values are come from: Look at MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID and MAINBOARD_SUBSYSTEM_DEVICE_ID.
So for the onboard scsi case you likely need to have a driver for the onboard scsi device that implements the set_subsystem method because there is not a generic way of doing that.
Eric