mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
sfc: Store VPD serial number at probe time
Original version by Stuart Hodgson. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
parent
bd9a265db2
commit
ef215e6476
2 changed files with 34 additions and 7 deletions
|
@ -771,6 +771,7 @@ struct vfdi_status;
|
|||
* @local_lock: Mutex protecting %local_addr_list and %local_page_list.
|
||||
* @peer_work: Work item to broadcast peer addresses to VMs.
|
||||
* @ptp_data: PTP state data
|
||||
* @vpd_sn: Serial number read from VPD
|
||||
* @monitor_work: Hardware monitor workitem
|
||||
* @biu_lock: BIU (bus interface unit) lock
|
||||
* @last_irq_cpu: Last CPU to handle a possible test interrupt. This
|
||||
|
@ -920,6 +921,8 @@ struct efx_nic {
|
|||
|
||||
struct efx_ptp_data *ptp_data;
|
||||
|
||||
char *vpd_sn;
|
||||
|
||||
/* The following fields may be written more often */
|
||||
|
||||
struct delayed_work monitor_work ____cacheline_aligned_in_smp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue