Commit ab254e4f authored by Jens Axboe's avatar Jens Axboe

arch ide updates. mainly ide_ioreg_t type changes, and removal of

silly old irq and region registration etc.
parent d271af5d
......@@ -7,6 +7,6 @@
#ifndef __ASMalpha_HDREG_H
#define __ASMalpha_HDREG_H
typedef unsigned short ide_ioreg_t;
typedef unsigned long ide_ioreg_t;
#endif /* __ASMalpha_HDREG_H */
......@@ -7,7 +7,7 @@
#ifndef __ASMARM_HDREG_H
#define __ASMARM_HDREG_H
typedef unsigned int ide_ioreg_t;
typedef unsigned long ide_ioreg_t;
#endif /* __ASMARM_HDREG_H */
......@@ -7,6 +7,6 @@
#ifndef __ASMi386_HDREG_H
#define __ASMi386_HDREG_H
typedef unsigned short ide_ioreg_t;
typedef unsigned long ide_ioreg_t;
#endif /* __ASMi386_HDREG_H */
......@@ -77,20 +77,6 @@ static __inline__ void ide_init_default_hwifs(void)
#endif
}
#define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id))
#define ide_free_irq(irq,dev_id) free_irq((irq), (dev_id))
#define ide_check_region(from,extent) check_region((from), (extent))
#define ide_request_region(from,extent,name) request_region((from), (extent), (name))
#define ide_release_region(from,extent) release_region((from), (extent))
/*
* The following are not needed for the non-m68k ports
*/
#define ide_ack_intr(hwif) (1)
#define ide_fix_driveid(id) do {} while (0)
#define ide_release_lock(lock) do {} while (0)
#define ide_get_lock(lock, hdlr, data) do {} while (0)
#endif /* __KERNEL__ */
#endif /* __ASMi386_IDE_H */
#ifndef _ASM_HDREG_H
#define _ASM_HDREG_H
typedef unsigned short ide_ioreg_t;
typedef unsigned long ide_ioreg_t;
#endif
......@@ -14,7 +14,7 @@
#ifndef __ASMPPC_HDREG_H
#define __ASMPPC_HDREG_H
typedef unsigned int ide_ioreg_t;
typedef unsigned long ide_ioreg_t;
#endif /* __ASMPPC_HDREG_H */
......@@ -7,6 +7,6 @@
#ifndef __ASM_SH_HDREG_H
#define __ASM_SH_HDREG_H
typedef unsigned int ide_ioreg_t;
typedef unsigned long ide_ioreg_t;
#endif /* __ASM_SH_HDREG_H */
......@@ -7,6 +7,6 @@
#ifndef __ASMx86_64_HDREG_H
#define __ASMx86_64_HDREG_H
typedef unsigned short ide_ioreg_t;
typedef unsigned long ide_ioreg_t;
#endif /* __ASMx86_64_HDREG_H */
/*
* linux/include/asm-i386/ide.h
* linux/include/asm-x86_64/ide.h
*
* Copyright (C) 1994-1996 Linus Torvalds & authors
*/
......@@ -8,8 +8,8 @@
* This file contains the i386 architecture specific IDE code.
*/
#ifndef __ASMi386_IDE_H
#define __ASMi386_IDE_H
#ifndef __ASMx86_64_IDE_H
#define __ASMx86_64_IDE_H
#ifdef __KERNEL__
......@@ -79,4 +79,4 @@ static __inline__ void ide_init_default_hwifs(void)
#endif /* __KERNEL__ */
#endif /* __ASMi386_IDE_H */
#endif /* __ASMx86_64_IDE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment