PageRenderTime 18ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/sh/include/mach-landisk/mach/iodata_landisk.h

https://gitlab.com/teobaluta/opw
C Header | 45 lines | 26 code | 10 blank | 9 comment | 0 complexity | 994e9d63ca17eecb0599b58239a1c156 MD5 | raw file
 1#ifndef __ASM_SH_IODATA_LANDISK_H
 2#define __ASM_SH_IODATA_LANDISK_H
 3
 4/*
 5 * arch/sh/include/mach-landisk/mach/iodata_landisk.h
 6 *
 7 * Copyright (C) 2000  Atom Create Engineering Co., Ltd.
 8 *
 9 * IO-DATA LANDISK support
10 */
11#include <linux/sh_intc.h>
12
13/* Box specific addresses.  */
14
15#define PA_USB		0xa4000000	/* USB Controller M66590 */
16
17#define PA_ATARST	0xb0000000	/* ATA/FATA Access Control Register */
18#define PA_LED		0xb0000001	/* LED Control Register */
19#define PA_STATUS	0xb0000002	/* Switch Status Register */
20#define PA_SHUTDOWN	0xb0000003	/* Shutdown Control Register */
21#define PA_PCIPME	0xb0000004	/* PCI PME Status Register */
22#define PA_IMASK	0xb0000005	/* Interrupt Mask Register */
23/* 2003.10.31 I-O DATA NSD NWG	add.	for shutdown port clear */
24#define PA_PWRINT_CLR	0xb0000006	/* Shutdown Interrupt clear Register */
25
26#define PA_PIDE_OFFSET	0x40		/* CF IDE Offset */
27#define PA_SIDE_OFFSET	0x40		/* HDD IDE Offset */
28
29#define IRQ_PCIINTA	evt2irq(0x2a0)	/* PCI INTA IRQ */
30#define IRQ_PCIINTB	evt2irq(0x2c0)	/* PCI INTB IRQ */
31#define IRQ_PCIINTC	evt2irq(0x2e0)	/* PCI INTC IRQ */
32#define IRQ_PCIINTD	evt2irq(0x300)	/* PCI INTD IRQ */
33#define IRQ_ATA		evt2irq(0x320)	/* ATA IRQ */
34#define IRQ_FATA	evt2irq(0x340)	/* FATA IRQ */
35#define IRQ_POWER	evt2irq(0x360)	/* Power Switch IRQ */
36#define IRQ_BUTTON	evt2irq(0x380)	/* USL-5P Button IRQ */
37#define IRQ_FAULT	evt2irq(0x3a0)	/* USL-5P Fault  IRQ */
38
39void init_landisk_IRQ(void);
40
41#define __IO_PREFIX landisk
42#include <asm/io_generic.h>
43
44#endif  /* __ASM_SH_IODATA_LANDISK_H */
45