aboutsummaryrefslogtreecommitdiff
path: root/slof/fs
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2015-03-16 10:41:15 +0100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2015-03-23 11:43:29 +1100
commitf2fb1c617317b2bff697726ed90a2a1cc87f43fe (patch)
tree769865b49833500f8f6ef755c2234ffd17651ee6 /slof/fs
parent5f79afca64721f30bb47d51553a14ea692d085b7 (diff)
downloadSLOF-f2fb1c617317b2bff697726ed90a2a1cc87f43fe.zip
SLOF-f2fb1c617317b2bff697726ed90a2a1cc87f43fe.tar.gz
SLOF-f2fb1c617317b2bff697726ed90a2a1cc87f43fe.tar.bz2
Remove bulk.fs package
The bulk.fs package was part of the old USB stack and is now not required anymore. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'slof/fs')
-rw-r--r--slof/fs/packages.fs12
-rw-r--r--slof/fs/packages/bulk.fs87
2 files changed, 1 insertions, 98 deletions
diff --git a/slof/fs/packages.fs b/slof/fs/packages.fs
index a31be2e..f640d8f 100644
--- a/slof/fs/packages.fs
+++ b/slof/fs/packages.fs
@@ -1,5 +1,5 @@
\ *****************************************************************************
-\ * Copyright (c) 2004, 2008 IBM Corporation
+\ * Copyright (c) 2004, 2015 IBM Corporation
\ * All rights reserved.
\ * This program and the accompanying materials
\ * are made available under the terms of the BSD License
@@ -50,13 +50,3 @@ finish-device
new-device
#include "packages/iso-9660.fs"
finish-device
-
-\ new-device
-\ #include "packages/scsi.fs"
-\ finish-device
-
-new-device
-#include "packages/bulk.fs"
-finish-device
-
-
diff --git a/slof/fs/packages/bulk.fs b/slof/fs/packages/bulk.fs
deleted file mode 100644
index 06d7eae..0000000
--- a/slof/fs/packages/bulk.fs
+++ /dev/null
@@ -1,87 +0,0 @@
-\ *****************************************************************************
-\ * Copyright (c) 2004, 2008 IBM Corporation
-\ * All rights reserved.
-\ * This program and the accompanying materials
-\ * are made available under the terms of the BSD License
-\ * which accompanies this distribution, and is available at
-\ * http://www.opensource.org/licenses/bsd-license.php
-\ *
-\ * Contributors:
-\ * IBM Corporation - initial implementation
-\ ****************************************************************************/
-
-
-s" bulk" device-name
-
-
-\ standard open firmare method
-
-
-: open true ;
-
-\ standard open firmare method
-
-
-: close ;
-
-
-\ -------------------------------------------------
-\ Locals
-\ ------------------------------------------------
-
-
-8 chars alloc-mem VALUE setup-packet
-
-
-\ --------------------------------------------------
-\ signature --->4bytes offset --->0
-\ tag --->4bytes offset --->4
-\ trans-len --->4bytes offset --->8
-\ dir-flag --->1byte offset --->c
-\ lun --->1byte offset --->d
-\ comm-len --->1byte offset --->e
-\ --------------------------------------------------
-
-
-0 VALUE cbw-addr
-: build-cbw ( address tag transfer-len direction lun command-len -- )
- 5 pick TO cbw-addr ( address tag transfer-len direction lun command-len )
- cbw-addr 0f erase ( address tag transfer-len direction lun command-len )
- cbw-addr e + c! ( address tag transfer-len direction lun )
- cbw-addr d + c! ( address tag transfer-len direction )
- cbw-addr c + c! ( address tag transfer-len )
- cbw-addr 8 + l!-le ( address tag )
- cbw-addr 4 + l!-le ( address )
- 43425355 cbw-addr l!-le ( address )
- drop ;
-
-
-\ ---------------------------------------------------
-\ signature --->4bytes offset --->0
-\ tag --->4bytes offset --->4
-\ residue --->4bytes offset --->8
-\ status --->1byte offset --->c
-\ ---------------------------------------------------
-
-
-0 VALUE csw-addr
-: analyze-csw ( address -- residue tag true|reason false )
- TO csw-addr
- csw-addr l@-le 53425355 = IF
- csw-addr c + c@ dup 0= IF ( reason )
- drop
- csw-addr 8 + l@-le ( residue )
- csw-addr 4 + l@-le ( residue tag ) \ command block tag
- TRUE ( residue tag TRUE )
- ELSE
- FALSE ( reason FALSE )
- THEN
- ELSE
- FALSE ( FALSE )
- THEN
- csw-addr 0c erase
-;
-
-: bulk-reset-recovery-procedure ( bulk-out-endp bulk-in-endp usb-addr -- )
- s" bulk-reset-recovery-procedure" $call-parent
-;