ide.h 694 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * linux/include/asm-ppc/ide.h
  3. *
  4. * Copyright (C) 1994-1996 Linus Torvalds & authors
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the License, or (at your option) any later version.
  10. */
  11. /*
  12. * This file contains the ppc64 architecture specific IDE code.
  13. */
  14. #ifndef __ASMPPC64_IDE_H
  15. #define __ASMPPC64_IDE_H
  16. #ifdef __KERNEL__
  17. #ifndef MAX_HWIFS
  18. # define MAX_HWIFS 10
  19. #endif
  20. #define IDE_ARCH_OBSOLETE_INIT
  21. #define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */
  22. #endif /* __KERNEL__ */
  23. #endif /* __ASMPPC64_IDE_H */