Messages in this thread | | | Date | Tue, 16 Sep 2014 15:00:37 -0400 (EDT) | Subject | Re: [PATCH v2 3/4] net: stmmac: add support for Intel Quark X1000 | From | David Miller <> |
| |
From: "Kweh, Hock Leong" <hock.leong.kweh@intel.com> Date: Mon, 15 Sep 2014 12:42:03 +0000
> The only things to differentiate them is PCI BUS DEVICE FUNCTION > (Bus:Dev:Func) number which are fix numbers 00:20:6 for port 1 and > 00:20:7 for port 2 stated in Quark X1000 datasheet.
Match on the PCI device class, which must be PCI_CLASS_NETWORK_ETHERNET or similar.
The pci_device_id used for probing supports matching on this directly. .
| |