Bug 134092 - [patch] NSLU.hints contains wrong hints for on board npe(4) NIC
Summary: [patch] NSLU.hints contains wrong hints for on board npe(4) NIC
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: 7.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olivier Houchard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-29 15:20 UTC by Gavin Atkinson
Modified: 2013-12-06 22:20 UTC (History)
0 users

See Also:


Attachments
NSLU.hints.diff (877 bytes, patch)
2009-04-29 15:20 UTC, Gavin Atkinson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Atkinson freebsd_committer freebsd_triage 2009-04-29 15:20:01 UTC
	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.
Comment 1 dfilter service freebsd_committer freebsd_triage 2009-05-06 21:24:27 UTC
Author: cognet
Date: Wed May  6 20:24:17 2009
New Revision: 191858
URL: http://svn.freebsd.org/changeset/base/191858

Log:
  Use the good hints for the NSLU, it should fix the network adapter.
  
  PR:		arm/134092
  Submitted by:	gavin

Modified:
  head/sys/arm/conf/NSLU.hints

Modified: head/sys/arm/conf/NSLU.hints
==============================================================================
--- head/sys/arm/conf/NSLU.hints	Wed May  6 20:07:28 2009	(r191857)
+++ head/sys/arm/conf/NSLU.hints	Wed May  6 20:24:17 2009	(r191858)
@@ -17,17 +17,17 @@ hint.uart.1.irq=13
 # NPE Hardware Queue Manager
 hint.ixpqmgr.0.at="ixp0"
 
-# NPE wireless NIC's, requires ixpqmgr
+# NPE wired NICs, 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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2010-03-20 14:45:53 UTC
State Changed
From-To: open->patched

Fixed in head and stable/8 


Comment 3 Gavin Atkinson freebsd_committer freebsd_triage 2010-03-20 14:45:53 UTC
Responsible Changed
From-To: freebsd-arm->cognet

Over to cognet as MFC reminder
Comment 4 Olivier Houchard freebsd_committer freebsd_triage 2013-12-06 22:20:21 UTC
State Changed
From-To: patched->closed

The fix is in all supported releases