diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-08-01 01:20:30 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-08-03 22:02:00 -0400 |
commit | b8b572e1015f81b4e748417be2629dfe51ab99f9 (patch) | |
tree | 7df58667d5ed71d6c8f8f4ce40ca16b6fb776d0b /include/asm-powerpc/parport.h | |
parent | 2b12a4c524812fb3f6ee590a02e65b95c8c32229 (diff) |
powerpc: Move include files to arch/powerpc/include/asm
from include/asm-powerpc. This is the result of a
mkdir arch/powerpc/include/asm
git mv include/asm-powerpc/* arch/powerpc/include/asm
Followed by a few documentation/comment fixups and a couple of places
where <asm-powepc/...> was being used explicitly. Of the latter only
one was outside the arch code and it is a driver only built for powerpc.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/parport.h')
-rw-r--r-- | include/asm-powerpc/parport.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/asm-powerpc/parport.h b/include/asm-powerpc/parport.h deleted file mode 100644 index 414c50e2e881..000000000000 --- a/include/asm-powerpc/parport.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /* | ||
2 | * parport.h: platform-specific PC-style parport initialisation | ||
3 | * | ||
4 | * Copyright (C) 1999, 2000 Tim Waugh <tim@cyberelk.demon.co.uk> | ||
5 | * | ||
6 | * This file should only be included by drivers/parport/parport_pc.c. | ||
7 | */ | ||
8 | |||
9 | #ifndef _ASM_POWERPC_PARPORT_H | ||
10 | #define _ASM_POWERPC_PARPORT_H | ||
11 | #ifdef __KERNEL__ | ||
12 | |||
13 | #include <asm/prom.h> | ||
14 | |||
15 | static int __devinit parport_pc_find_nonpci_ports (int autoirq, int autodma) | ||
16 | { | ||
17 | struct device_node *np; | ||
18 | const u32 *prop; | ||
19 | u32 io1, io2; | ||
20 | int propsize; | ||
21 | int count = 0; | ||
22 | for (np = NULL; (np = of_find_compatible_node(np, | ||
23 | "parallel", | ||
24 | "pnpPNP,400")) != NULL;) { | ||
25 | prop = of_get_property(np, "reg", &propsize); | ||
26 | if (!prop || propsize > 6*sizeof(u32)) | ||
27 | continue; | ||
28 | io1 = prop[1]; io2 = prop[2]; | ||
29 | prop = of_get_property(np, "interrupts", NULL); | ||
30 | if (!prop) | ||
31 | continue; | ||
32 | if (parport_pc_probe_port(io1, io2, prop[0], autodma, NULL) != NULL) | ||
33 | count++; | ||
34 | } | ||
35 | return count; | ||
36 | } | ||
37 | |||
38 | #endif /* __KERNEL__ */ | ||
39 | #endif /* !(_ASM_POWERPC_PARPORT_H) */ | ||