[openfirmware] [commit] r2013 - dev/usb2/hcd/ohci

repository service svn at openfirmware.info
Fri Nov 5 07:08:59 CET 2010


Author: wmb
Date: Fri Nov  5 07:08:59 2010
New Revision: 2013
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2013

Log:
Fixed a compile problem in the OHCI USB-1.1 driver caused by a somewhat-recent refactoring.

Modified:
   dev/usb2/hcd/ohci/ohci.fth

Modified: dev/usb2/hcd/ohci/ohci.fth
==============================================================================
--- dev/usb2/hcd/ohci/ohci.fth	Fri Nov  5 06:12:20 2010	(r2012)
+++ dev/usb2/hcd/ohci/ohci.fth	Fri Nov  5 07:08:59 2010	(r2013)
@@ -21,13 +21,16 @@
 0 value open-count
 0 value ohci-reg
 
+: my-w@  ( offset -- w )  my-space +  " config-w@" $call-parent  ;
+: my-w!  ( w offset -- )  my-space +  " config-w!" $call-parent  ;
+
 : map-regs  ( -- )
    4 my-w@  h# 16 or  4 my-w!
-   0 0 my-space h# 0200.0010 + 1000  map-in to ohci-reg
+   0 0 my-space h# 0200.0010 + 1000  " map-in" $call-parent to ohci-reg
 ;
 
 : unmap-regs  ( -- )
-   ohci-reg  1000  map-out  0 to ohci-reg
+   ohci-reg  1000  " map-out" $call-parent  0 to ohci-reg
 ;
 
 : ohci-reg@  ( idx -- data )  ohci-reg + rl@  ;



More information about the openfirmware mailing list