2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/arch/sh/include/mach-landisk/mach/iodata_landisk.h
Nobuhiro Iwamatsu 418f219c25 sh: Move init_landisk_IRQ to header file
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2011-01-11 12:47:33 +09:00

45 lines
1.4 KiB
C

#ifndef __ASM_SH_IODATA_LANDISK_H
#define __ASM_SH_IODATA_LANDISK_H
/*
* arch/sh/include/mach-landisk/mach/iodata_landisk.h
*
* Copyright (C) 2000 Atom Create Engineering Co., Ltd.
*
* IO-DATA LANDISK support
*/
/* Box specific addresses. */
#define PA_USB 0xa4000000 /* USB Controller M66590 */
#define PA_ATARST 0xb0000000 /* ATA/FATA Access Control Register */
#define PA_LED 0xb0000001 /* LED Control Register */
#define PA_STATUS 0xb0000002 /* Switch Status Register */
#define PA_SHUTDOWN 0xb0000003 /* Shutdown Control Register */
#define PA_PCIPME 0xb0000004 /* PCI PME Status Register */
#define PA_IMASK 0xb0000005 /* Interrupt Mask Register */
/* 2003.10.31 I-O DATA NSD NWG add. for shutdown port clear */
#define PA_PWRINT_CLR 0xb0000006 /* Shutdown Interrupt clear Register */
#define PA_PIDE_OFFSET 0x40 /* CF IDE Offset */
#define PA_SIDE_OFFSET 0x40 /* HDD IDE Offset */
#define IRQ_PCIINTA 5 /* PCI INTA IRQ */
#define IRQ_PCIINTB 6 /* PCI INTB IRQ */
#define IRQ_PCIINTC 7 /* PCI INTC IRQ */
#define IRQ_PCIINTD 8 /* PCI INTD IRQ */
#define IRQ_ATA 9 /* ATA IRQ */
#define IRQ_FATA 10 /* FATA IRQ */
#define IRQ_POWER 11 /* Power Switch IRQ */
#define IRQ_BUTTON 12 /* USL-5P Button IRQ */
#define IRQ_FAULT 13 /* USL-5P Fault IRQ */
void init_landisk_IRQ(void);
#define __IO_PREFIX landisk
#include <asm/io_generic.h>
#endif /* __ASM_SH_IODATA_LANDISK_H */