Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 14:39:00 +0100 (BST)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   arm/134092: [patch] NSLU.hints contains wrong hints for on board npe(4) NIC
Message-ID:  <200904291339.n3TDd0jw095739@buffy.york.ac.uk>
Resent-Message-ID: <200904291420.n3TEK1n9019198@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134092
>Category:       arm
>Synopsis:       [patch] NSLU.hints contains wrong hints for on board npe(4) NIC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-arm
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 29 14:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gavin Atkinson
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD buffy.york.ac.uk 7.1-STABLE FreeBSD 7.1-STABLE #5: Fri Feb 13 11:25:58 GMT 2009 root@buffy.york.ac.uk:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	The NSLU kernel will fail to find the associated PHYs.  The
attached patch fixes this for both me, and for the user in
http://lists.freebsd.org/pipermail/freebsd-arm/2009-April/001649.html

The patch also removes the PHY/MAC hints for npe1 - all that is required
is the single "at" hint, and not the full config.

While here, fix a comment.

>How-To-Repeat:
	Presumably, just try booting on an NSLU2.
>Fix:

--- NSLU.hints.diff begins here ---
Index: src-head/sys/arm/conf/NSLU.hints
===================================================================
RCS file: /home/ncvs/src/sys/arm/conf/NSLU.hints,v
retrieving revision 1.1
diff -u -r1.1 NSLU.hints
--- src-head/sys/arm/conf/NSLU.hints	3 Aug 2008 07:10:25 -0000	1.1
+++ src-head/sys/arm/conf/NSLU.hints	27 Jan 2009 16:06:24 -0000
@@ -17,17 +17,17 @@
 # NPE Hardware Queue Manager
 hint.ixpqmgr.0.at="ixp0"
 
-# NPE wireless NIC's, requires ixpqmgr
+# NPE wired NICx's, requires ixpqmgr
 hint.npe.0.at="ixp0"
-hint.npe.0.mac="A"
-hint.npe.0.mii="A"
+hint.npe.0.mac="B"
+hint.npe.0.mii="B"
 hint.npe.0.phy=1
 # The second MAC isn't used on the NSLU, but it needs to be configured or
 # we timeout on dhcp packets
 hint.npe.1.at="ixp0"
-hint.npe.1.mac="B"
-hint.npe.1.mii="A"
-hint.npe.1.phy=0
+#hint.npe.1.mac="B"
+#hint.npe.1.mii="A"
+#hint.npe.1.phy=0
 
 #not yet
 # RTC
--- NSLU.hints.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904291339.n3TDd0jw095739>