aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_stmp.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-02-25 18:38:03 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-25 18:38:03 -0500
commitd7930c9ef9cc67044f5ddaac54d06ca22645a012 (patch)
tree32ec9ed98a7b5ff659de11886492b18abd421069 /drivers/spi/spi_stmp.c
parentb6d97026561a6ed6eed58428633a6bb4e1b78c57 (diff)
parent4f4517c45f325ba511458465430a52864a5d0d30 (diff)
Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6
* 'next-spi' of git://git.secretlab.ca/git/linux-2.6: (31 commits) spi: Correct SPI clock frequency setting in spi_mpc8xxx spi/spi_s3c64xx.c: Fix continuation line formats spi/dw_spi: Fix dw_spi_mmio to depend on HAVE_CLK spi/dw_spi: Allow dw_spi.c to be a module spi/dw_spi: mmio code style fixups Memory-mapped dw_spi driver spi/dw_spi: fix missing export of dw_spi_remove_host spi/dw_spi: conditional transfer mode changes spi/dw_spi: remove conditional from 'poll_transfer'. spi/dw_spi: fixed a spelling typo in a warning message. spi/dw_spi: add return value to empty mrst_spi_debugfs_init() spi/dw_spi: enable platform specific chipselect. spi/dw_spi: add a FIFO depth detection spi/dw_spi: fix __init/__devinit section mismatch spi: xilinx_spi: Fix up I/O routine wrapping bogosity. spi/spi_imx: add device information by switching pr_debug() to dev_dbg() spi: update MSIOF includes spi/dw_spi: refine the IRQ mode working flow spi/dw_spi: add a missed dw_spi_remove_host() in exit sequence spi/dw_spi: bug fix in wait_till_not_busy() ...
Diffstat (limited to 'drivers/spi/spi_stmp.c')
-rw-r--r--drivers/spi/spi_stmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_stmp.c b/drivers/spi/spi_stmp.c
index 2552bb364005..fadff76eb7e0 100644
--- a/drivers/spi/spi_stmp.c
+++ b/drivers/spi/spi_stmp.c
@@ -76,7 +76,7 @@ struct stmp_spi {
76 break; \ 76 break; \
77 } \ 77 } \
78 cpu_relax(); \ 78 cpu_relax(); \
79 } while (time_before(end_jiffies, jiffies)); \ 79 } while (time_before(jiffies, end_jiffies)); \
80 succeeded; \ 80 succeeded; \
81 }) 81 })
82 82
RxLenCntExp | RxOverFlow | RxCodeViolation) # define TxErrorMask (TxUnderrun | TxMaxSizeError | TxExcessCollExp | \ TxLateCollExp | TxNetworkCollExp | TxDeferTimerExp) /* transmit control */ #define TXRST 0x420 /* transmit reset */ # define TxResetBit 0x0001 #define TXCFG 0x430 /* transmit configuration control*/ # define TxMACEnable 0x0001 /* output driver enable */ # define TxSlowMode 0x0020 /* enable slow mode */ # define TxIgnoreColl 0x0040 /* ignore transmit collisions */ # define TxNoFCS 0x0080 /* do not emit FCS */ # define TxNoBackoff 0x0100 /* no backoff in case of collisions */ # define TxFullDuplex 0x0200 /* enable full-duplex */ # define TxNeverGiveUp 0x0400 /* don't give up on transmits */ #define IPG1 0x440 /* Inter-packet gap 1 */ #define IPG2 0x450 /* Inter-packet gap 2 */ #define ALIMIT 0x460 /* Transmit attempt limit */ #define SLOT 0x470 /* Transmit slot time */ #define PALEN 0x480 /* Size of transmit preamble */ #define PAPAT 0x490 /* Pattern for transmit preamble */ #define TXSFD 0x4a0 /* Transmit frame delimiter */ #define JAM 0x4b0 /* Jam size */ #define TXMAX 0x4c0 /* Transmit max pkt size */ #define TXMIN 0x4d0 /* Transmit min pkt size */ #define PAREG 0x4e0 /* Count of transmit peak attempts */ #define DCNT 0x4f0 /* Transmit defer timer */ #define NCCNT 0x500 /* Transmit normal-collision counter */ #define NTCNT 0x510 /* Transmit first-collision counter */ #define EXCNT 0x520 /* Transmit excess-collision counter */ #define LTCNT 0x530 /* Transmit late-collision counter */ #define RSEED 0x540 /* Transmit random number seed */ #define TXSM 0x550 /* Transmit state machine */ /* receive control */ #define RXRST 0x620 /* receive reset */ # define RxResetValue 0x0000 #define RXCFG 0x630 /* receive configuration control */ # define RxMACEnable 0x0001 /* receiver overall enable */ # define RxCFGReserved 0x0004 # define RxPadStripEnab 0x0020 /* enable pad byte stripping */ # define RxPromiscEnable 0x0040 /* turn on promiscuous mode */ # define RxNoErrCheck 0x0080 /* disable receive error checking */ # define RxCRCNoStrip 0x0100 /* disable auto-CRC-stripping */ # define RxRejectOwnPackets 0x0200 /* don't receive our own packets */ # define RxGrpPromisck 0x0400 /* enable group promiscuous mode */ # define RxHashFilterEnable 0x0800 /* enable hash filter */ # define RxAddrFilterEnable 0x1000 /* enable address filter */ #define RXMAX 0x640 /* Max receive packet size */ #define RXMIN 0x650 /* Min receive packet size */ #define MADD2 0x660 /* our enet address, high part */ #define MADD1 0x670 /* our enet address, middle part */ #define MADD0 0x680 /* our enet address, low part */ #define FRCNT 0x690 /* receive frame counter */ #define LECNT 0x6a0 /* Receive excess length error counter */ #define AECNT 0x6b0 /* Receive misaligned error counter */ #define FECNT 0x6c0 /* Receive CRC error counter */ #define RXSM 0x6d0 /* Receive state machine */ #define RXCV 0x6e0 /* Receive code violation */ #define BHASH3 0x700 /* multicast hash register */ #define BHASH2 0x710 /* multicast hash register */ #define BHASH1 0x720 /* multicast hash register */ #define BHASH0 0x730 /* multicast hash register */ #define AFR2 0x740 /* address filtering setup? */ #define AFR1 0x750 /* address filtering setup? */ #define AFR0 0x760 /* address filtering setup? */ #define AFCR 0x770 /* address filter compare register? */ # define EnableAllCompares 0x0fff /* bits in XIFC */