Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140493670
D14800.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
528 B
Referenced Files
None
Subscribers
None
D14800.diff
View Options
Index: head/sys/dev/etherswitch/e6000sw/e6000sw.c
===================================================================
--- head/sys/dev/etherswitch/e6000sw/e6000sw.c
+++ head/sys/dev/etherswitch/e6000sw/e6000sw.c
@@ -213,7 +213,9 @@
if (OF_getencprop(sc->node, "reg", &sc->sw_addr,
sizeof(sc->sw_addr)) < 0)
return (ENXIO);
- if (sc->sw_addr != 0 && (sc->sw_addr % 2) == 0)
+
+ if (!OF_hasprop(sc->node, "single-chip-addressing") &&
+ (sc->sw_addr != 0 && (sc->sw_addr % 2) == 0))
sc->multi_chip = true;
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 25, 3:13 PM (8 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27249665
Default Alt Text
D14800.diff (528 B)
Attached To
Mode
D14800: Improve detection of addressing mode in e6000sw
Attached
Detach File
Event Timeline
Log In to Comment