aboutsummaryrefslogtreecommitdiff
path: root/scripts/docproc.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-06-23 04:44:30 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-27 20:30:47 -0700
commitaca7a3acb19a7a4b1084f6f2411f6eaf52dd79c0 (patch)
tree7db67a402f464fa3e69e2c7f21b9fa8bac2bc638 /scripts/docproc.c
parentd5b8aa1d246fddfe4042be6f6eb169efa5cfbb94 (diff)
mlx4: use pci_dev->revision
Commit 725c89997e03d71b09ea3c17c997da0712b9d835 (mlx4_en: Reporting HW revision in ethtool -i) added code to read the revision ID from the PCI configuration register while it's already stored by PCI subsystem in the 'revision' field of 'struct pci_dev'... While at it, move the code being changed a bit in order to not break the initialization sequence. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions