mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
ptp: ocp: add Celestica timecard PCI ids
Celestica is producing card with their own vendor id and device id. Add these ids to driver to support this card. Signed-off-by: Vadim Fedorenko <vadfed@fb.com> Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
3a35e53a11
commit
81fa652e16
@ -23,6 +23,9 @@
|
||||
#define PCI_VENDOR_ID_FACEBOOK 0x1d9b
|
||||
#define PCI_DEVICE_ID_FACEBOOK_TIMECARD 0x0400
|
||||
|
||||
#define PCI_VENDOR_ID_CELESTICA 0x18d4
|
||||
#define PCI_DEVICE_ID_CELESTICA_TIMECARD 0x1008
|
||||
|
||||
static struct class timecard_class = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "timecard",
|
||||
@ -629,7 +632,8 @@ static struct ocp_resource ocp_fb_resource[] = {
|
||||
|
||||
static const struct pci_device_id ptp_ocp_pcidev_id[] = {
|
||||
{ PCI_DEVICE_DATA(FACEBOOK, TIMECARD, &ocp_fb_resource) },
|
||||
{ 0 }
|
||||
{ PCI_DEVICE_DATA(CELESTICA, TIMECARD, &ocp_fb_resource) },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, ptp_ocp_pcidev_id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user