diff options
author | Yanteng Si <siyanteng@loongson.cn> | 2024-08-07 16:47:09 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-08-13 10:48:00 +0300 |
commit | 324d96b46520f1476f25deaad0e49d8df71377c1 (patch) | |
tree | 5314bf5382abd72e3cf39fb564004652013da71c /drivers/net/ethernet/intel/ice/ice_parser.c | |
parent | 0c979e6b55f99f939bb8158f3d8f8d2072b04e9c (diff) | |
download | linux-324d96b46520f1476f25deaad0e49d8df71377c1.tar.xz |
net: stmmac: dwmac-loongson: Use PCI_DEVICE_DATA() macro for device identification
For the readability sake convert the hard-coded Loongson GMAC PCI ID to
the respective macro and use the PCI_DEVICE_DATA() macro-function to
create the pci_device_id array entry. The later change will be
specifically useful in order to assign the device-specific data for the
currently supported device and for about to be added Loongson GNET
controller.
Signed-off-by: Feiyang Chen <chenfeiyang@loongson.cn>
Signed-off-by: Yinggang Gu <guyinggang@loongson.cn>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_parser.c')
0 files changed, 0 insertions, 0 deletions