mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
iflib.c: Deactivate use of ifc_cpus
- cpusets and SMP are currently not supported in libbsd for RTEMS - Disable the ifc_cpus context variable and replace its usage, essentially hard-coding for cpu 0
This commit is contained in:
@@ -1837,8 +1837,14 @@ em_if_update_admin_status(if_ctx_t ctx)
|
||||
|
||||
if (adapter->hw.mac.type < em_mac_min)
|
||||
lem_smartspeed(adapter);
|
||||
#ifdef __rtems__
|
||||
else if (hw->mac.type == e1000_82574 &&
|
||||
adapter->intr_type == IFLIB_INTR_MSIX)
|
||||
E1000_WRITE_REG(&adapter->hw, E1000_IMS, EM_MSIX_LINK | E1000_IMS_LSC);
|
||||
#else /* __rtems__ */
|
||||
|
||||
E1000_WRITE_REG(&adapter->hw, E1000_IMS, EM_MSIX_LINK | E1000_IMS_LSC);
|
||||
#endif /* __rtems__ */
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user