diff mbox series

net: marvell: prestera: add support for AC3X 98DX3265 device

Message ID 20210416230202.12526-1-vadym.kochan@plvision.eu
State New
Headers show
Series net: marvell: prestera: add support for AC3X 98DX3265 device | expand

Commit Message

Vadym Kochan April 16, 2021, 11:02 p.m. UTC
From: Vadym Kochan <vkochan@marvell.com>

Add PCI match for AC3X 98DX3265 device which is supported by the current
driver and firmware.

Signed-off-by: Vadym Kochan <vkochan@marvell.com>
---
 drivers/net/ethernet/marvell/prestera/prestera_pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Vadym Kochan April 16, 2021, 11:14 p.m. UTC | #1
On Sat, Apr 17, 2021 at 02:02:02AM +0300, Vadym Kochan wrote:
> From: Vadym Kochan <vkochan@marvell.com>
> 
> Add PCI match for AC3X 98DX3265 device which is supported by the current
> driver and firmware.
> 
> Signed-off-by: Vadym Kochan <vkochan@marvell.com>
> ---
>  drivers/net/ethernet/marvell/prestera/prestera_pci.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ethernet/marvell/prestera/prestera_pci.c b/drivers/net/ethernet/marvell/prestera/prestera_pci.c
> index be5677623455..298110119272 100644
> --- a/drivers/net/ethernet/marvell/prestera/prestera_pci.c
> +++ b/drivers/net/ethernet/marvell/prestera/prestera_pci.c
> @@ -756,6 +756,7 @@ static void prestera_pci_remove(struct pci_dev *pdev)
>  
>  static const struct pci_device_id prestera_pci_devices[] = {
>  	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0xC804) },
> +	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0xC80C) },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(pci, prestera_pci_devices);
> -- 
> 2.17.1
> 

Sorry, will re-send it with net-next label.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/marvell/prestera/prestera_pci.c b/drivers/net/ethernet/marvell/prestera/prestera_pci.c
index be5677623455..298110119272 100644
--- a/drivers/net/ethernet/marvell/prestera/prestera_pci.c
+++ b/drivers/net/ethernet/marvell/prestera/prestera_pci.c
@@ -756,6 +756,7 @@  static void prestera_pci_remove(struct pci_dev *pdev)
 
 static const struct pci_device_id prestera_pci_devices[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0xC804) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0xC80C) },
 	{ }
 };
 MODULE_DEVICE_TABLE(pci, prestera_pci_devices);