回复:[PATCH v7 net-next 03/11] net/nebula-matrix: add chip related definitions

From
Illusion Wang <Illusion.Wang@nebula-matrix.com>
Date
2026-03-13 08:05:35
Also in
linux-doc, lkml
Reply to
Paolo Abeni, 2026-03-12
I am so sorry, Last time I missed a 'not'

These data are used to configure P4-related registers. The driver’s functionality

depends heavily on these register settings. They will be declared as const.

But they can be not marked __initdata. Because it will be called by pci_driver.probe.

They also should not be moved into firmware files, as the software functionality

is tightly coupled with these configurations. If they were moved to firmware,

users could easily end up with mismatched versions of the firmware and the kernel

driver module, leading to functional inconsistencies or system malfunctions.


Old Link:https://lore.kernel.org/netdev/5b6205dd-bca8-42e1-b281-52be11f31f69.Illusion.Wang@nebula-matrix.com/ (local)
Thread (20 messages) 20 messages, 2 authors, last reply 2026-03-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help