~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/blackfin/include/asm/bfin_serial.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
#undef __BFP
185
185
 
186
186
#ifndef port_membase
187
 
# define port_membase(p) (((struct bfin_serial_port *)(p))->port.membase)
 
187
# define port_membase(p) 0
188
188
#endif
189
189
 
190
190
#define UART_GET_CHAR(p)      bfin_read16(port_membase(p) + OFFSET_RBR)
235
235
#define UART_SET_DLAB(p)      do { UART_PUT_LCR(p, UART_GET_LCR(p) | DLAB); SSYNC(); } while (0)
236
236
 
237
237
#ifndef put_lsr_cache
238
 
# define put_lsr_cache(p, v) (((struct bfin_serial_port *)(p))->lsr = (v))
 
238
# define put_lsr_cache(p, v)
239
239
#endif
240
240
#ifndef get_lsr_cache
241
 
# define get_lsr_cache(p)    (((struct bfin_serial_port *)(p))->lsr)
 
241
# define get_lsr_cache(p) 0
242
242
#endif
243
243
 
244
244
/* The hardware clears the LSR bits upon read, so we need to cache