diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-13 01:43:25 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-13 01:43:25 -0500 |
commit | d9bc125caf592b7d081021f32ce5b717efdf70c8 (patch) | |
tree | 263b7066ba22ddce21db610c0300f6eaac6f2064 /include/asm-sparc | |
parent | 43d78ef2ba5bec26d0315859e8324bfc0be23766 (diff) | |
parent | ec2f9d1331f658433411c58077871e1eef4ee1b4 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_spkm3_token.c
net/sunrpc/clnt.c
Merge with mainline and fix conflicts.
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/io.h | 29 | ||||
-rw-r--r-- | include/asm-sparc/termios.h | 18 |
2 files changed, 29 insertions, 18 deletions
diff --git a/include/asm-sparc/io.h b/include/asm-sparc/io.h index cab0b851b8b1..c23e74a0eaa8 100644 --- a/include/asm-sparc/io.h +++ b/include/asm-sparc/io.h | |||
@@ -256,6 +256,35 @@ extern void iounmap(volatile void __iomem *addr); | |||
256 | #define iowrite16(val,X) writew(val,X) | 256 | #define iowrite16(val,X) writew(val,X) |
257 | #define iowrite32(val,X) writel(val,X) | 257 | #define iowrite32(val,X) writel(val,X) |
258 | 258 | ||
259 | static inline void ioread8_rep(void __iomem *port, void *buf, unsigned long count) | ||
260 | { | ||
261 | insb((unsigned long __force)port, buf, count); | ||
262 | } | ||
263 | static inline void ioread16_rep(void __iomem *port, void *buf, unsigned long count) | ||
264 | { | ||
265 | insw((unsigned long __force)port, buf, count); | ||
266 | } | ||
267 | |||
268 | static inline void ioread32_rep(void __iomem *port, void *buf, unsigned long count) | ||
269 | { | ||
270 | insl((unsigned long __force)port, buf, count); | ||
271 | } | ||
272 | |||
273 | static inline void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count) | ||
274 | { | ||
275 | outsb((unsigned long __force)port, buf, count); | ||
276 | } | ||
277 | |||
278 | static inline void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count) | ||
279 | { | ||
280 | outsw((unsigned long __force)port, buf, count); | ||
281 | } | ||
282 | |||
283 | static inline void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count) | ||
284 | { | ||
285 | outsl((unsigned long __force)port, buf, count); | ||
286 | } | ||
287 | |||
259 | /* Create a virtual mapping cookie for an IO port range */ | 288 | /* Create a virtual mapping cookie for an IO port range */ |
260 | extern void __iomem *ioport_map(unsigned long port, unsigned int nr); | 289 | extern void __iomem *ioport_map(unsigned long port, unsigned int nr); |
261 | extern void ioport_unmap(void __iomem *); | 290 | extern void ioport_unmap(void __iomem *); |
diff --git a/include/asm-sparc/termios.h b/include/asm-sparc/termios.h index d05f83c80989..d767f206ab33 100644 --- a/include/asm-sparc/termios.h +++ b/include/asm-sparc/termios.h | |||
@@ -45,24 +45,6 @@ struct winsize { | |||
45 | unsigned short ws_ypixel; | 45 | unsigned short ws_ypixel; |
46 | }; | 46 | }; |
47 | 47 | ||
48 | /* line disciplines */ | ||
49 | #define N_TTY 0 | ||
50 | #define N_SLIP 1 | ||
51 | #define N_MOUSE 2 | ||
52 | #define N_PPP 3 | ||
53 | #define N_STRIP 4 | ||
54 | #define N_AX25 5 | ||
55 | #define N_X25 6 | ||
56 | #define N_6PACK 7 | ||
57 | #define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */ | ||
58 | #define N_R3964 9 /* Reserved for Simatic R3964 module */ | ||
59 | #define N_PROFIBUS_FDL 10 /* Reserved for Profibus <Dave@mvhi.com> */ | ||
60 | #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */ | ||
61 | #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */ | ||
62 | #define N_HDLC 13 /* synchronous HDLC */ | ||
63 | #define N_SYNC_PPP 14 /* synchronous PPP */ | ||
64 | #define N_HCI 15 /* Bluetooth HCI UART */ | ||
65 | |||
66 | #ifdef __KERNEL__ | 48 | #ifdef __KERNEL__ |
67 | #include <linux/module.h> | 49 | #include <linux/module.h> |
68 | 50 | ||