[openfirmware] [commit] r2035 - dev

repository service svn at openfirmware.info
Wed Nov 24 21:29:07 CET 2010


Author: wmb
Date: Wed Nov 24 21:29:04 2010
New Revision: 2035
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2035

Log:
Changed ps2mouse.fth to use my-space instead of my-unit for set-port; my-unit does not work right.

Modified:
   dev/ps2mouse.fth

Modified: dev/ps2mouse.fth
==============================================================================
--- dev/ps2mouse.fth	Tue Nov 23 23:37:52 2010	(r2034)
+++ dev/ps2mouse.fth	Wed Nov 24 21:29:04 2010	(r2035)
@@ -299,7 +299,7 @@
    lock[
    identify  if
       \ This port is unresponsive; try the other
-      my-unit 1- set-port  identify  if  ]unlock  true exit  then
+      my-space 1- set-port  identify  if  ]unlock  true exit  then
    then                                   ( id )
 
    dup  h# ab =  if                       ( id )
@@ -312,7 +312,7 @@
       my-port 0=  if  ]unlock  true exit  then
 
       \ Otherwise look for the mouse on the keyboard port
-      my-unit 1- set-port  identify  if  ]unlock  true exit  then  ( id )
+      my-space 1- set-port  identify  if  ]unlock  true exit  then  ( id )
    then                                   ( id )
    ]unlock                                ( id )
 
@@ -325,7 +325,7 @@
 
 headers
 : open  ( -- flag )
-   my-unit set-port
+   my-space set-port
 
    open-count 0=  if
       \ The "force" argument causes the open to succeed even if no mouse



More information about the openfirmware mailing list