]> www.infradead.org Git - users/jedix/linux-maple.git/commit
r8169: use pci_dev->subsystem_{vendor|device}
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 22 Jul 2011 05:37:24 +0000 (05:37 +0000)
committerJoe Jin <joe.jin@oracle.com>
Fri, 18 May 2012 02:03:14 +0000 (10:03 +0800)
commitbe12c8b0ba4237d31269584996b10b471b43e849
treecb7a366af1d43f2216321f548cb04eb95fb57924
parent6ac73d70c2743afab17edb43d5d2e245e9371974
r8169: use pci_dev->subsystem_{vendor|device}

The driver reads PCI subsystem IDs from the PCI configuration registers while
they are already stored by the PCI subsystem in the 'subsystem_{vendor|device}'
fields of 'struct pci_dev'...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit ccbae55e1c6dc18e95d72c044cf9345ea08abf7b)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/r8169.c