ide.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /****************************************************************************/
  2. /*
  3. * linux/include/asm-blackfin/ide.h
  4. *
  5. * Copyright (C) 1994-1996 Linus Torvalds & authors
  6. * Copyright (C) 2001 Lineo Inc., davidm@snapgear.com
  7. * Copyright (C) 2002 Greg Ungerer (gerg@snapgear.com)
  8. * Copyright (C) 2002 Yoshinori Sato (ysato@users.sourceforge.jp)
  9. * Copyright (C) 2005 Hennerich Michael (hennerich@blackfin.uclinux.org)
  10. */
  11. /****************************************************************************/
  12. #ifndef _BLACKFIN_IDE_H
  13. #define _BLACKFIN_IDE_H
  14. /****************************************************************************/
  15. #ifdef __KERNEL__
  16. /****************************************************************************/
  17. #define MAX_HWIFS 1
  18. /* Legacy ... BLK_DEV_IDECS */
  19. #define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */
  20. #include <asm-generic/ide_iops.h>
  21. /****************************************************************************/
  22. #endif /* __KERNEL__ */
  23. #endif /* _BLACKFIN_IDE_H */
  24. /****************************************************************************/