Re: [net-next PATCH v5 1/7] octeon_ep: Add driver framework and device initialization
From: Leon Romanovsky
Date: Wed Apr 13 2022 - 05:51:36 EST
On Tue, Apr 12, 2022 at 08:34:57PM -0700, Veerasenareddy Burru wrote:
> Add driver framework and device setup and initialization for Octeon
> PCI Endpoint NIC.
>
> Add implementation to load module, initilaize, register network device,
> cleanup and unload module.
>
> Signed-off-by: Veerasenareddy Burru <vburru@xxxxxxxxxxx>
> Signed-off-by: Abhijit Ayarekar <aayarekar@xxxxxxxxxxx>
> Signed-off-by: Satananda Burla <sburla@xxxxxxxxxxx>
<...>
> +static struct workqueue_struct *octep_wq;
> +
> +/* Supported Devices */
> +static const struct pci_device_id octep_pci_id_tbl[] = {
> + {PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, OCTEP_PCI_DEVICE_ID_CN93_PF)},
> + {0, },
> +};
> +MODULE_DEVICE_TABLE(pci, octep_pci_id_tbl);
> +
> +MODULE_AUTHOR("Veerasenareddy Burru <vburru@xxxxxxxxxxx>");
> +MODULE_DESCRIPTION(OCTEP_DRV_STRING);
> +MODULE_LICENSE("GPL");
> +MODULE_VERSION(OCTEP_DRV_VERSION_STR);
No module and/or driver versions in new code.
Thanks