Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105521919
D9060.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
507 B
Referenced Files
None
Subscribers
None
D9060.diff
View Options
Index: head/sys/dev/sfxge/sfxge.h
===================================================================
--- head/sys/dev/sfxge/sfxge.h
+++ head/sys/dev/sfxge/sfxge.h
@@ -326,7 +326,9 @@
#endif
};
-#define SFXGE_LINK_UP(sc) ((sc)->port.link_mode != EFX_LINK_DOWN)
+#define SFXGE_LINK_UP(sc) \
+ ((sc)->port.link_mode != EFX_LINK_DOWN && \
+ (sc)->port.link_mode != EFX_LINK_UNKNOWN)
#define SFXGE_RUNNING(sc) ((sc)->ifnet->if_drv_flags & IFF_DRV_RUNNING)
#define SFXGE_PARAM(_name) "hw.sfxge." #_name
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 5:41 AM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15479339
Default Alt Text
D9060.diff (507 B)
Attached To
Mode
D9060: sfxge(4): treat EFX_LINK_UNKOWN as link down
Attached
Detach File
Event Timeline
Log In to Comment