Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105544924
D9059.id23700.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
547 B
Referenced Files
None
Subscribers
None
D9059.id23700.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9059: sfxge(4): use SFXGE_LINK_UP() to report link up state
Attached
Detach File
Event Timeline
Log In to Comment