2 * linux/include/asm-arm/ide.h
4 * Copyright (C) 1994-1996 Linus Torvalds & authors
8 * This file contains the i386 architecture specific IDE code.
11 #ifndef __ASMARM_IDE_H
12 #define __ASMARM_IDE_H
20 #define ide__sti() __sti()
22 #include <asm/arch/ide.h>
25 unsigned all
: 8; /* all of the bits together */
27 unsigned head
: 4; /* always zeros here */
28 unsigned unit
: 1; /* drive select number, 0 or 1 */
29 unsigned bit5
: 1; /* always 1 */
30 unsigned lba
: 1; /* using LBA instead of CHS */
31 unsigned bit7
: 1; /* always 1 */
35 #define ide_request_irq(irq,hand,flg,dev,id) request_irq((irq),(hand),(flg),(dev),(id))
36 #define ide_free_irq(irq,dev_id) free_irq((irq), (dev_id))
37 #define ide_check_region(from,extent) check_region((from), (extent))
38 #define ide_request_region(from,extent,name) request_region((from), (extent), (name))
39 #define ide_release_region(from,extent) release_region((from), (extent))
42 * The following are not needed for the non-m68k ports
44 #define ide_ack_intr(hwif) (1)
45 #define ide_fix_driveid(id) do {} while (0)
46 #define ide_release_lock(lock) do {} while (0)
47 #define ide_get_lock(lock, hdlr, data) do {} while (0)
49 #endif /* __KERNEL__ */
51 #endif /* __ASMARM_IDE_H */