]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/sym53c8xx.h
configs: EB+MCF-EV123.h: Fix typo on CONFIG_SYS_HUSH_PARSER
[karo-tx-uboot.git] / include / sym53c8xx.h
index 821e1f85a4d3b91168399e37dbc24634c079020e..7d3ded5fe8bec6b7766219b6985fd9d6f0234e93 100644 (file)
@@ -33,7 +33,7 @@
 #define SCNTL0         0x00    /* full arb., ena parity, par->ATN  */
 
 #define SCNTL1         0x01    /* no reset                         */
-  #define   ISCON   0x10  /* connected to scsi                                         */
+  #define   ISCON   0x10  /* connected to scsi                                         */
   #define   CRST    0x08  /* force reset                      */
   #define   IARB    0x02  /* immediate arbitration            */
 
 
 #define CTEST3         0x1b
        #define   FLF     0x08  /* cmd: flush dma fifo              */
-       #define   CLF           0x04    /* cmd: clear dma fifo              */
+       #define   CLF           0x04    /* cmd: clear dma fifo              */
        #define   FM      0x02  /* mod: fetch pin mode              */
        #define   WRIE    0x01  /* mod: write and invalidate enable */
                                /* bits 4-7 rsvd for C1010          */
        #define   IRQM    0x08  /* mod: irq mode (1 = totem pole !) */
        #define   STD     0x04  /* cmd: start dma mode              */
        #define   IRQD    0x02  /* mod: irq disable                 */
-       #define   NOCOM   0x01  /* cmd: protect sfbr while reselect */
+       #define   NOCOM   0x01  /* cmd: protect sfbr while reselect */
                                /* bits 0-1 rsvd for C1010          */
 
 #define ADDER                  0x3c
 
 #define SIDL                   0x50    /* Lowlevel: latched from scsi data */
 #define STEST4         0x52
-       #define SMODE   0xc0    /* SCSI bus mode      (895/6 only) */
+       #define SMODE   0xc0    /* SCSI bus mode      (895/6 only) */
        #define SMODE_HVD 0x40  /* High Voltage Differential       */
        #define SMODE_SE  0x80  /* Single Ended                    */
        #define SMODE_LVD 0xc0  /* Low Voltage Differential        */
 #define SBDL                   0x58    /* Lowlevel: data from scsi data    */
 
 
-
-
 /*-----------------------------------------------------------
 **
 **     Utility macros for the script.
 #define        SCR_ATN         0x00000008
 
 
-
-
 /*-----------------------------------------------------------
 **
 **     Memory to memory move
 #define SCR_REG_OFS(ofs) ((((ofs) & 0x7f) << 16ul)) /* + ((ofs) & 0x80)) */
 
 #define SCR_SFBR_REG(reg,op,data) \
-        (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
+       (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
 
 #define SCR_REG_SFBR(reg,op,data) \
-        (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
+       (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
 
 #define SCR_REG_REG(reg,op,data) \
-        (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
+       (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
 
 
 #define      SCR_LOAD   0x00000000
 **     LOAD_REG (reg, data)      reg  = <data>
 **     << 0 >>
 **
-**     LOAD_SFBR(data)           SFBR = <data>
+**     LOAD_SFBR(data)           SFBR = <data>
 **     << 0 >>
 **
 **-----------------------------------------------------------
        SCR_REG_REG(reg,SCR_LOAD,data)
 
 #define SCR_LOAD_SFBR(data) \
-        (SCR_REG_SFBR (gpreg, SCR_LOAD, data))
+       (SCR_REG_SFBR (gpreg, SCR_LOAD, data))
 
 /*-----------------------------------------------------------
 **
 #define SCR_DSA_REL2   0x10000000
 
 #define SCR_LOAD_R(reg, how, n) \
-        (0xe1000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
+       (0xe1000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
 
 #define SCR_STORE_R(reg, how, n) \
-        (0xe0000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
+       (0xe0000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
 
 #define SCR_LOAD_ABS(reg, n)   SCR_LOAD_R(reg, SCR_NO_FLUSH2, n)
 #define SCR_LOAD_REL(reg, n)   SCR_LOAD_R(reg, SCR_NO_FLUSH2|SCR_DSA_REL2, n)
 #define CARRYSET       (0x00200000)
 
 
-
 #define SIR_COMPLETE                                    0x10000000
 /* script errors */
 #define SIR_SEL_ATN_NO_MSG_OUT 0x00000001