aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/w83977af_ir.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-14 19:21:50 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-14 19:21:50 -0400
commit5d7cb157025b3b4852f38e6e5e97d06ef12c1d78 (patch)
tree09831b553687b51749ed99dbabaf3687a4e4bd2a /drivers/net/irda/w83977af_ir.c
parentfc58fb180755cdeda3ce58776eef94a01b37a1c1 (diff)
parent8b1bb90701f9a51f10ce8a990bcc1e237cb3b1c7 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/cleanup
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/cleanup: defconfig reduction kbuild: drop unifdef-y support archs: replace unifdef-y with header-y include: replace unifdef-y with header-y
Diffstat (limited to 'drivers/net/irda/w83977af_ir.c')
0 files changed, 0 insertions, 0 deletions
lass="hl com">/* Physical page number (PA[35:12]) */ #define IOUPTE_CACHE 0x00000080 /* Cached (in Viking/MXCC) */ /* XXX Jakub, find out how to program SBUS streaming cache on XDBUS/sun4d. * XXX Actually, all you should need to do is find out where the registers * XXX are and copy over the sparc64 implementation I wrote. There may be * XXX some horrible hwbugs though, so be careful. -DaveM */ #define IOUPTE_STREAM 0x00000040 /* Translation can use streaming cache */ #define IOUPTE_INTRA 0x00000008 /* SBUS direct slot->slot transfer */ #define IOUPTE_WRITE 0x00000004 /* Writeable */ #define IOUPTE_VALID 0x00000002 /* IOPTE is valid */ #define IOUPTE_PARITY 0x00000001 /* Parity is checked during DVMA */ struct iounit_struct { unsigned long bmap[(IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 3)) / sizeof(unsigned long)]; spinlock_t lock; iopte_t *page_table; unsigned long rotor[3]; unsigned long limit[4]; }; #define IOUNIT_BMAP1_START 0x00000000 #define IOUNIT_BMAP1_END (IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 1)) #define IOUNIT_BMAP2_START IOUNIT_BMAP1_END #define IOUNIT_BMAP2_END IOUNIT_BMAP2_START + (IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 2)) #define IOUNIT_BMAPM_START IOUNIT_BMAP2_END #define IOUNIT_BMAPM_END ((IOUNIT_DMA_SIZE - IOUNIT_DVMA_SIZE) >> PAGE_SHIFT) #endif /* !(_SPARC_IO_UNIT_H) */