Re: [PATCH v5 1/5] net: rnpgbe: Add build support for rnpgbe
From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-08-21 03:01:29
Also in:
linux-doc, lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-08-21 03:01:29
Also in:
linux-doc, lkml
Ok, I will improve it. By the way, if I want to add some functions(maybe workqueue to handle link status, or debugfs for the driver) in the future. The function is only one for driver, not each for every pci device, should I turn back to 'module_exit' and 'module_init'? Maybe workqueue can use 'system_power_efficient_wq' just like libwx does?
Generally, you don't have per driver data, only per device data. It makes the locking simpler, and handling bind/unbind etc. Andrew