]> git.baikalelectronics.ru Git - kernel.git/commit
hinic: Add pci device ids
authorXue Chaojing <xuechaojing@huawei.com>
Sun, 20 Jan 2019 22:15:46 +0000 (22:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2019 22:54:08 +0000 (14:54 -0800)
commit6f5fc7dba60a07f1cc83054d64a3c8383dcbc683
treeb00212c4d8aa482e96b2a57f3518bf567f00428c
parentc9f87d21030eaae417de357c0749d4dfa835baf0
hinic: Add pci device ids

This patch adds PCI device IDs to support following cards:

1. Add device id 0x0205 for HINIC 100GE dual port mezz card.
2. Add device id 0x0210 for HINIC 25GE quad port mezz card.
3. Delete device id 0x0201 for HINIC 100GE dual port card, because
this is used by other product.
4. Macro of device id 0x200 is modified for HINIC 100GE dual port card.

Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_main.c