Page MenuHomeFreeBSD

D9059.id23700.diff
No OneTemporary

D9059.id23700.diff

Index: head/sys/dev/sfxge/sfxge_port.c
===================================================================
--- head/sys/dev/sfxge/sfxge_port.c
+++ head/sys/dev/sfxge/sfxge_port.c
@@ -311,8 +311,7 @@
port->link_mode = mode;
/* Push link state update to the OS */
- link_state = (port->link_mode != EFX_LINK_DOWN ?
- LINK_STATE_UP : LINK_STATE_DOWN);
+ link_state = (SFXGE_LINK_UP(sc) ? LINK_STATE_UP : LINK_STATE_DOWN);
sc->ifnet->if_baudrate = sfxge_link_baudrate[port->link_mode];
if_link_state_change(sc->ifnet, link_state);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 11:50 AM (18 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15486109
Default Alt Text
D9059.id23700.diff (547 B)

Event Timeline