diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-05-11 10:48:58 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-05-11 12:00:29 -0400 |
commit | df9f54084f1faf611cedd846d38b0631f9d4e9a5 (patch) | |
tree | a4e5f46b26a761d62d79d5b367e885cc8a88b4b6 /include/asm-mips | |
parent | 129a84de2347002f09721cda3155ccfd19fade40 (diff) |
Convert SGI IP22 and specific drivers to platform_device.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/sgi/seeq.h | 21 | ||||
-rw-r--r-- | include/asm-mips/sgi/wd.h | 20 |
2 files changed, 41 insertions, 0 deletions
diff --git a/include/asm-mips/sgi/seeq.h b/include/asm-mips/sgi/seeq.h new file mode 100644 index 000000000000..af0ffd76899d --- /dev/null +++ b/include/asm-mips/sgi/seeq.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 2007 by Ralf Baechle | ||
7 | */ | ||
8 | #ifndef __ASM_SGI_SEEQ_H | ||
9 | #define __ASM_SGI_SEEQ_H | ||
10 | |||
11 | #include <linux/if_ether.h> | ||
12 | |||
13 | #include <asm/sgi/hpc3.h> | ||
14 | |||
15 | struct sgiseeq_platform_data { | ||
16 | struct hpc3_regs *hpc; | ||
17 | unsigned int irq; | ||
18 | unsigned char mac[ETH_ALEN]; | ||
19 | }; | ||
20 | |||
21 | #endif /* __ASM_SGI_SEEQ_H */ | ||
diff --git a/include/asm-mips/sgi/wd.h b/include/asm-mips/sgi/wd.h new file mode 100644 index 000000000000..0d6c3a4da891 --- /dev/null +++ b/include/asm-mips/sgi/wd.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 2007 by Ralf Baechle | ||
7 | */ | ||
8 | #ifndef __ASM_SGI_WD_H | ||
9 | #define __ASM_SGI_WD_H | ||
10 | |||
11 | #include <asm/sgi/hpc3.h> | ||
12 | |||
13 | struct sgiwd93_platform_data { | ||
14 | unsigned int unit; | ||
15 | unsigned int irq; | ||
16 | struct hpc3_scsiregs *hregs; | ||
17 | unsigned char *wdregs; | ||
18 | }; | ||
19 | |||
20 | #endif /* __ASM_SGI_WD_H */ | ||