Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42238
b: refs/heads/master
c: 6ad4e70
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Dec 4, 2006
1 parent 9c8cff9 commit 42fb33e
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 757db1ed9b50d28cd4c1e7d9925c9ea7783b2f91
refs/heads/master: 6ad4e70cafc43155d3a7e6e796e8b6b6967fc9e2
8 changes: 8 additions & 0 deletions trunk/include/asm-ppc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ static inline void __raw_writel(__u32 b, volatile void __iomem *addr)
#define insl(port, buf, nl) _insl_ns((port)+___IO_BASE, (buf), (nl))
#define outsl(port, buf, nl) _outsl_ns((port)+___IO_BASE, (buf), (nl))

#define readsb(a, b, n) _insb((a), (b), (n))
#define readsw(a, b, n) _insw_ns((a), (b), (n))
#define readsl(a, b, n) _insl_ns((a), (b), (n))
#define writesb(a, b, n) _outsb((a),(b),(n))
#define writesw(a, b, n) _outsw_ns((a),(b),(n))
#define writesl(a, b, n) _outsl_ns((a),(b),(n))


/*
* On powermacs and 8xx we will get a machine check exception
* if we try to read data from a non-existent I/O port. Because
Expand Down

0 comments on commit 42fb33e

Please sign in to comment.