]> git.karo-electronics.de Git - mv-sheeva.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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jul 2011 00:01:12 +0000 (17:01 -0700)
commitccbae55e1c6dc18e95d72c044cf9345ea08abf7b
tree85d274e33093671d5c76ef48dd1418a64f6fbd7c
parent431bf99d26157d56689e5de65bd27ce9f077fc3f
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