[PATCH v8 3/9] net/zxdh: add zxdh device pci init implementation

David Marchand david.marchand at redhat.com
Wed Oct 30 15:55:28 CET 2024


On Wed, Oct 30, 2024 at 10:07 AM Junlong Wang <wang.junlong1 at zte.com.cn> wrote:
>
> Add device pci init implementation,
> to obtain PCI capability and read configuration, etc.

This title with PCI intrigued me, so I had a look at this patch.

Please use the PCI bus API and don't redefine common PCI constants/helpers.
To make it easier for you, I recommend having a look at:
$ git show a10b6e53fe baa9c55009 7bb1168d98 -- drivers/net/virtio/virtio_pci.c


-- 
David Marchand



More information about the dev mailing list