[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88c7e349-f941-4216-89ca-70a49e82b378@lunn.ch>
Date: Fri, 23 Jan 2026 04:27:38 +0100
From: Andrew Lunn <andrew@...n.ch>
To: "illusion.wang" <illusion.wang@...ula-matrix.com>, y@...n.ch
Cc: dimon.zhao@...ula-matrix.com, alvin.wang@...ula-matrix.com,
sam.chen@...ula-matrix.com, netdev@...r.kernel.org,
andrew+netdev@...n.ch, corbet@....net, kuba@...nel.org,
linux-doc@...r.kernel.org, lorenzo@...nel.org, pabeni@...hat.com,
horms@...nel.org, vadim.fedorenko@...ux.dev,
lukas.bulwahn@...hat.com, hawk@...nel.org, ast@...nel.org,
bpf@...r.kernel.org, sdf@...ichev.me, daniel@...earbox.net,
john.fastabend@...il.com, edumazet@...gle.com,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 net-next 01/15] net/nebula-matrix: add minimum nbl
build framework
> +config NBL_CORE
> + tristate "Nebula-matrix Ethernet Controller m18100 Family support"
> + depends on 64BIT && PCI
> + default m
> + select PAGE_POOL
> + help
> + This driver supports Nebula-matrix Ethernet Controller m18100 Family of
> + devices. For more information about this product, go to the product
> + description with smart NIC:
_CORE is a bit unusual for a driver. CORE is generally a library which
is shared by a number of drivers. It does not have a tristate string,
it is just selected by the drivers which need it.
> +static int nbl_probe(struct pci_dev *pdev,
> + const struct pci_device_id __always_unused *id)
> +{
> + struct device *dev = &pdev->dev;
> +
> + dev_dbg(dev, "nbl probe ok!\n");
Please don't have pointless debug messages. If your driver does not
even probe, you should not be submitting it.
> + return 0;
> +}
> +
> +static void nbl_remove(struct pci_dev *pdev)
> +{
> + dev_dbg(&pdev->dev, "nbl remove OK!\n");
> +}
> +
> +#define NBL_VENDOR_ID (0x1F0F)
Andrew
---
pw-bot: cr
Powered by blists - more mailing lists