NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/49270: Samsung NC10 Marvell Yukon ethernet not supported
>Number: 49270
>Category: kern
>Synopsis: Samsung NC10 Marvell Yukon ethernet not supported
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 10 14:10:00 +0000 2014
>Originator: Hauke Fath
>Release: NetBSD 6.1_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
System: NetBSD 1.0_BETA i386
Architecture: i386
Machine: i386
>Description:
The Samsung NC10 notebook sports a Marvell Yukon ethernet NIC,
which is supported by FreeBSD, but not even recognized by
NetBSD.
After adding
Index: if_msk.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_msk.c,v
retrieving revision 1.46
diff -u -u -r1.46 if_msk.c
--- if_msk.c 10 Aug 2014 16:44:36 -0000 1.46
+++ if_msk.c 10 Oct 2014 11:02:08 -0000
@@ -165,6 +165,7 @@
{ PCI_VENDOR_MARVELL, PCI_PRODUCT_MARVELL_YUKON_8036 },
{ PCI_VENDOR_MARVELL, PCI_PRODUCT_MARVELL_YUKON_8038 },
{ PCI_VENDOR_MARVELL, PCI_PRODUCT_MARVELL_YUKON_8039 },
+ { PCI_VENDOR_MARVELL, PCI_PRODUCT_MARVELL_YUKON_8040 },
{ PCI_VENDOR_MARVELL, PCI_PRODUCT_MARVELL_YUKON_8050 },
{ PCI_VENDOR_MARVELL, PCI_PRODUCT_MARVELL_YUKON_8052 },
{ PCI_VENDOR_MARVELL, PCI_PRODUCT_MARVELL_YUKON_8053 },
@@ -948,6 +949,7 @@
case SK_YUKON_EC_U:
case SK_YUKON_EC:
case SK_YUKON_FE:
+ case SK_YUKON_FE_P:
return (1);
}
Index: if_skreg.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_skreg.h,v
retrieving revision 1.14
diff -u -u -r1.14 if_skreg.h
--- if_skreg.h 29 May 2011 13:31:30 -0000 1.14
+++ if_skreg.h 10 Oct 2014 11:02:08 -0000
@@ -390,6 +390,7 @@
#define SK_YUKON_EC_U 0xB4
#define SK_YUKON_EC 0xB6
#define SK_YUKON_FE 0xB7
+#define SK_YUKON_FE_P 0xB8
#define SK_YUKON_FAMILY(x) ((x) & 0xB0)
#define SK_IS_GENESIS(sc) \
@@ -397,7 +398,7 @@
#define SK_IS_YUKON(sc) \
((sc)->sk_type >= SK_YUKON && (sc)->sk_type <= SK_YUKON_LP)
#define SK_IS_YUKON2(sc) \
- ((sc)->sk_type >= SK_YUKON_XL && (sc)->sk_type <= SK_YUKON_FE)
+ ((sc)->sk_type >= SK_YUKON_XL && (sc)->sk_type <= SK_YUKON_FE_P)
/* Known revisions in SK_CONFIG */
#define SK_YUKON_LITE_REV_A0 0x0 /* invented, see test in skc_attach */
the NIC is configured, but not functional - no byte enters the cable.
>How-To-Repeat:
Install NetBSD on an NC10, find there is no ethernet interface.
>Fix:
Port the relevant bits from the FreeVSD driver, I guess?
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index