]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/scsi.h
fs: add filesystem switch libary, implement ls and fsload commands
[karo-tx-uboot.git] / include / scsi.h
index aaafc9ca7902713f6fec72f9e7c8d1fe941d9f44..89ae45f8e8bcae06770ca7dee35f9b68416e61f4 100644 (file)
@@ -26,7 +26,9 @@
 
 typedef struct SCSI_cmd_block{
        unsigned char           cmd[16];                                        /* command                                 */
-       unsigned char           sense_buf[64];          /* for request sense */
+       /* for request sense */
+       unsigned char           sense_buf[64]
+               __attribute__((aligned(ARCH_DMA_MINALIGN)));
        unsigned char           status;                                         /* SCSI Status                   */
        unsigned char           target;                                         /* Target ID                             */
        unsigned char           lun;                                                    /* Target LUN        */
@@ -185,6 +187,7 @@ void scsi_low_level_init(int busdevfunc);
  * functions residing inside cmd_scsi.c
  */
 void scsi_init(void);
+void scsi_scan(int mode);
 
 
 #define SCSI_IDENTIFY                                  0xC0  /* not used */