Re: dmfe/tulip device id overlap
From: David Miller <davem@davemloft.net>
Date: 2009-11-30 20:26:37
From: Grant Grundler <redacted> Date: Mon, 30 Nov 2009 09:14:01 -0800
Has anyone posted "lspci -v" output for the "Netra X1 and Sunfire V100" motherboards? I'm asking because I'm hoping it's possible to disambiguate the add-on cards from LAN-on-Motherboard cases by looking at subsystem vendor and device IDs as well.
I think more likely OF properties will help here.
Have a look at:
git://git.kernel.org/pub/scm/linux/kernel/git/davem/prtconfs.git
In particular 'v100' which has a network device OF node with properties:
Node 0xf007fae8
.node: f007fae8
local-mac-address: 0003ba11.b371
assigned-addresses: 81006010.00000000.00010000.00000000.00000100.82006014.00000000.00000000.00000000.00002000.82006030.00000000.00040000.00000000.00040000
version: '1.0'
compatible: 70636934.3535342c.34333465.00706369.31323868.2c393130.32007063.69313238.322c3931.30320070.6369636c.6173732c.30323030.303000
device_type: 'network'
subsystem-id: 0000434e
subsystem-vendor-id: 00004554
reg: 00006000.00000000.00000000.00000000.00000000.01006010.00000000.00000000.00000000.00000100.02006014.00000000.00000000.00000000.00000100
name: 'ethernet'
devsel-speed: 00000001
class-code: 00020000
interrupts: 00000001
max-latency: 00000028
min-grant: 00000014
revision-id: 00000031
device-id: 00009102
vendor-id: 00001282
Hmmm, what vendor is '0x4554'? :-)