aboutsummaryrefslogtreecommitdiff
path: root/slof/fs/usb/usb-enumerate.fs
diff options
context:
space:
mode:
authorAdrian Reber <adrian@lisas.de>2008-11-22 17:35:06 +0100
committerAdrian Reber <adrian@lisas.de>2008-11-22 17:35:06 +0100
commitc19a5bbc1f2650771d65a08a7c19563f28c01302 (patch)
tree74d92e25d1f55ea5ab90ac3bb9c1b2578f40a105 /slof/fs/usb/usb-enumerate.fs
parent1015f69140c36be1c56653075636be60ca433a6d (diff)
downloadSLOF-c19a5bbc1f2650771d65a08a7c19563f28c01302.zip
SLOF-c19a5bbc1f2650771d65a08a7c19563f28c01302.tar.gz
SLOF-c19a5bbc1f2650771d65a08a7c19563f28c01302.tar.bz2
imported slof-JX-1.6.0-0 releaseslof-JX-1.6.0-0
Diffstat (limited to 'slof/fs/usb/usb-enumerate.fs')
-rw-r--r--slof/fs/usb/usb-enumerate.fs10
1 files changed, 6 insertions, 4 deletions
diff --git a/slof/fs/usb/usb-enumerate.fs b/slof/fs/usb/usb-enumerate.fs
index a027ec5..5b64bed 100644
--- a/slof/fs/usb/usb-enumerate.fs
+++ b/slof/fs/usb/usb-enumerate.fs
@@ -116,9 +116,11 @@
\ create device tree for SCSI device
: (scsi-create) ( -- )
+ s" SCSI-CREATE " usb-debug-print
mps new-device-address 0 ch-buffer 1 control-std-get-maxlun ( TRUE|FALSE )
IF
- s" GET-MAX-LUN IS WORKING :" usb-debug-print
+\ s" GET-MAX-LUN IS WORKING :" usb-debug-print
+\ ch-buffer 5 dump cr \ dump the responsed message
ELSE
s" ERROR in GET-MAX-LUN " usb-debug-print
cd-buffer @ 5 + c@ to temp1
@@ -157,9 +159,9 @@
THEN
( interface-subclass )
CASE
- 02 OF (atapi-8020-create) s" 2 ATAPI " usb-debug-print ENDOF
- 05 OF (atapi-8070-create) s" 5 ATAPI " usb-debug-print ENDOF
- 06 OF (scsi-create) s" 6 SCSI " usb-debug-print ENDOF
+ 02 OF (atapi-8020-create) s" ATAPI Interface " usb-debug-print ENDOF
+ 05 OF (atapi-8070-create) s" ATAPI Interface " usb-debug-print ENDOF
+ 06 OF (scsi-create) s" SCSI Interface " usb-debug-print ENDOF
dup OF s" USB storage: Unsupported sub-class code." usb-debug-print ENDOF
ENDCASE
;