[openfirmware] r1401 - cpu/x86/pc/olpc/via
svn at openfirmware.info
svn at openfirmware.info
Wed Oct 7 20:56:31 CEST 2009
Author: wmb
Date: 2009-10-07 20:56:31 +0200 (Wed, 07 Oct 2009)
New Revision: 1401
Modified:
cpu/x86/pc/olpc/via/devices.fth
cpu/x86/pc/olpc/via/usb.fth
Log:
OLPC trac 9480 - fixed net devalias - was /usb/wlan, now /wlan for SD-connected wlan module on XO-1.5
Modified: cpu/x86/pc/olpc/via/devices.fth
===================================================================
--- cpu/x86/pc/olpc/via/devices.fth 2009-10-07 08:52:49 UTC (rev 1400)
+++ cpu/x86/pc/olpc/via/devices.fth 2009-10-07 18:56:31 UTC (rev 1401)
@@ -337,6 +337,7 @@
devalias ide /ide at 0/disk
devalias sd /sd/disk at 2
devalias ext /sd/disk at 2
+devalias net /wlan
\ The "int" devalias is defined in report-disk at runtime, since it
\ varies between A-test and later boards.
@@ -376,7 +377,7 @@
\ If there is a USB ethernet adapter, use it as the default net device.
\ We can't use ?report-device here because we already have net aliased
-\ to /usb/wlan, and ?report-device won't override an existing alias.
+\ to /wlan, and ?report-device won't override an existing alias.
: report-net ( -- )
" /usb/ethernet" 2dup locate-device 0= if ( name$ phandle )
drop ( name$ )
Modified: cpu/x86/pc/olpc/via/usb.fth
===================================================================
--- cpu/x86/pc/olpc/via/usb.fth 2009-10-07 08:52:49 UTC (rev 1400)
+++ cpu/x86/pc/olpc/via/usb.fth 2009-10-07 18:56:31 UTC (rev 1401)
@@ -41,7 +41,6 @@
pwd$ $nopage-show-devs
then
;
-devalias net /usb/wlan
: probe-usb ( -- )
." USB2 devices:" cr
More information about the openfirmware
mailing list