r8169: use pci_dev->subsystem_{vendor|device}
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 22 Jul 2011 05:37:24 +0000 (05:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jul 2011 00:01:12 +0000 (17:01 -0700)
commit6d82be7fc2d5cae0991475effe9f2f83d9024428
tree85d274e33093671d5c76ef48dd1418a64f6fbd7c
parent0fe3f19c26aad7697b3fe9bd3c74a8a3e091fb95
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>
drivers/net/r8169.c