Add subsystemid option to sconfig

Allow user to add 'subsystemid <vendor> <device> [inherit]' to devicetree.cb for
PCI and PCI domain devices.

Example:

	device pci 00.0 on
	       subsystemid dead beef
	end

If the user wants to have this ID inherited to all subdevices/functions,
he can add 'inherit', like in the following example:

	device pci 00.0 on
	       subsystemid dead beef inherit
	end

If the user don't want to inherit a Subsystem for a single device, he can
specify 'subsystemid 0 0' on this particular device.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Peter Stuge <peter@stuge.se>

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6420 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Sven Schnelle
2011-03-01 19:58:15 +00:00
parent e38d0a6743
commit 270a908646
7 changed files with 139 additions and 55 deletions

View File

@@ -58,7 +58,9 @@
IRQ = 274,
DRQ = 275,
IO = 276,
NUMBER = 277
NUMBER = 277,
SUBSYSTEMID = 278,
INHERIT = 279
};
#endif