mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
847ddd2bbe
Add CONFIG_IDE_ARCH_OBSOLETE_INIT to drivers/ide/Kconfig and use it instead of defining IDE_ARCH_OBSOLETE_INIT in <arch/ide.h>. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
/****************************************************************************/
|
|
|
|
/*
|
|
* linux/include/asm-blackfin/ide.h
|
|
*
|
|
* Copyright (C) 1994-1996 Linus Torvalds & authors
|
|
* Copyright (C) 2001 Lineo Inc., davidm@snapgear.com
|
|
* Copyright (C) 2002 Greg Ungerer (gerg@snapgear.com)
|
|
* Copyright (C) 2002 Yoshinori Sato (ysato@users.sourceforge.jp)
|
|
* Copyright (C) 2005 Hennerich Michael (hennerich@blackfin.uclinux.org)
|
|
*/
|
|
|
|
/****************************************************************************/
|
|
#ifndef _BLACKFIN_IDE_H
|
|
#define _BLACKFIN_IDE_H
|
|
/****************************************************************************/
|
|
#ifdef __KERNEL__
|
|
/****************************************************************************/
|
|
|
|
#define MAX_HWIFS 1
|
|
|
|
/* Legacy ... BLK_DEV_IDECS */
|
|
#define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */
|
|
|
|
|
|
#include <asm-generic/ide_iops.h>
|
|
|
|
/****************************************************************************/
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _BLACKFIN_IDE_H */
|
|
/****************************************************************************/
|