[ipxe-devel] additional subsys id of of busid as variable available?

Oliver Rath rath at mglug.de
Tue Mar 20 11:15:14 UTC 2012


Hi list,

as far i knows, the ${busid} in ipxe are 5 bytes

 1. A miracle number (what is it?)
 2. vendor-id part 1
 3. vendor-id part 2
 4. dev-id part 1
 5. dev-id part 2

I.e. 01:80:86:10:9a shows an intel e1000pl nic

01      I dont know what is good for. Primary card?
80:86 ist the vendor (must have been very expensive getting this number
;-) )
10:9a the dev-id

Now it would be a great thing for me getting the subsys id useable in
ipxe-scripts. I.e. in my case i have a machine with the following nic:

root at PartedMagic:~# lspci -nnv -s 02:00.0
02:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit
Ethernet Controller [8086:109a]
    Subsystem: AOPEN Inc. Device [a0a0:0632]
    Flags: bus master, fast devsel, latency 0, IRQ 42
    Memory at fdde0000 (32-bit, non-prefetchable) [size=128K]
    I/O ports at ef00 [size=32]
    Capabilities: [c8] Power Management version 2
    Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [e0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Device Serial Number 00-01-80-ff-ff-65-dc-c9
    Kernel driver in use: e1000e
    Kernel modules: e1000e


Here you see the additional subsys-id from aopen, which is a0a0:0632.

My question: Is it possible to get this subsys-id at ipxe-time in a
variable?

Tfh!

Oliver

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120320/d3839fd4/attachment.htm>


More information about the ipxe-devel mailing list