Page MenuHomeFreeBSD

D9059.diff
No OneTemporary

D9059.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
Sat, Oct 11, 2:52 PM (13 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23540282
Default Alt Text
D9059.diff (547 B)

Event Timeline