Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | /****************************************************************************/ |
| 2 | |
| 3 | /* |
| 4 | * linux/include/asm-blackfin/ide.h |
| 5 | * |
| 6 | * Copyright (C) 1994-1996 Linus Torvalds & authors |
| 7 | * Copyright (C) 2001 Lineo Inc., davidm@snapgear.com |
| 8 | * Copyright (C) 2002 Greg Ungerer (gerg@snapgear.com) |
| 9 | * Copyright (C) 2002 Yoshinori Sato (ysato@users.sourceforge.jp) |
| 10 | * Copyright (C) 2005 Hennerich Michael (hennerich@blackfin.uclinux.org) |
| 11 | */ |
| 12 | |
| 13 | /****************************************************************************/ |
| 14 | #ifndef _BLACKFIN_IDE_H |
| 15 | #define _BLACKFIN_IDE_H |
| 16 | /****************************************************************************/ |
| 17 | #ifdef __KERNEL__ |
| 18 | /****************************************************************************/ |
| 19 | |
| 20 | #define MAX_HWIFS 1 |
| 21 | |
| 22 | /* Legacy ... BLK_DEV_IDECS */ |
| 23 | #define IDE_ARCH_OBSOLETE_INIT |
| 24 | #define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */ |
| 25 | |
| 26 | |
| 27 | #include <asm-generic/ide_iops.h> |
| 28 | |
| 29 | /****************************************************************************/ |
| 30 | #endif /* __KERNEL__ */ |
| 31 | #endif /* _BLACKFIN_IDE_H */ |
| 32 | /****************************************************************************/ |