Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48653
b: refs/heads/master
c: 2201ec2
h: refs/heads/master
i:
  48651: 922932f
v: v3
  • Loading branch information
Haavard Skinnemoen committed Feb 16, 2007
1 parent 9341c7a commit 42ff407
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b60f16eb56ff872a86c55c11bcfd430ce8cec340
refs/heads/master: 2201ec2b10910c869befb012ae75696a02091e7d
11 changes: 11 additions & 0 deletions trunk/include/asm-avr32/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ extern void __iounmap(void __iomem *addr);
#define ioremap(offset, size) \
__ioremap((offset), (size), 0)

#define ioremap_nocache(offset, size) \
__ioremap((offset), (size), 0)

#define iounmap(addr) \
__iounmap(addr)

Expand All @@ -263,6 +266,14 @@ extern void __iounmap(void __iomem *addr);
#define page_to_bus page_to_phys
#define bus_to_page phys_to_page

/*
* Create a virtual mapping cookie for an IO port range. There exists
* no such thing as port-based I/O on AVR32, so a regular ioremap()
* should do what we need.
*/
#define ioport_map(port, nr) ioremap(port, nr)
#define ioport_unmap(port) iounmap(port)

#define dma_cache_wback_inv(_start, _size) \
flush_dcache_region(_start, _size)
#define dma_cache_inv(_start, _size) \
Expand Down

0 comments on commit 42ff407

Please sign in to comment.