Freebios2 recovery progress...

YhLu YhLu at tyan.com
Thu Oct 21 12:59:41 CEST 2004


I agree that all onboard device should use the same subsystem id as MB's.

Regards

YH

-----Original Message-----
From: ebiederman at lnxi.com [mailto:ebiederman at lnxi.com] 
Sent: Thursday, October 21, 2004 10:46 AM
To: YhLu; Li-Ta Lo
Cc: LinuxBIOS
Subject: Re: Freebios2 recovery progress...

Li-Ta Lo <ollie at lanl.gov> writes:

> How did you do that ? Where do you put those IDs ?


YhLu <YhLu at 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



More information about the coreboot mailing list