tb0219.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * tb0219.h, Include file for TANBAC TB0219.
  3. *
  4. * Copyright (C) 2002-2004 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
  5. *
  6. * Modified for TANBAC TB0219:
  7. * Copyright (C) 2003 Megasolution Inc. <matsu@megasolution.jp>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  22. */
  23. #ifndef __TANBAC_TB0219_H
  24. #define __TANBAC_TB0219_H
  25. #include <asm/vr41xx/irq.h>
  26. /*
  27. * General-Purpose I/O Pin Number
  28. */
  29. #define TB0219_PCI_SLOT1_PIN 2
  30. #define TB0219_PCI_SLOT2_PIN 3
  31. #define TB0219_PCI_SLOT3_PIN 4
  32. /*
  33. * Interrupt Number
  34. */
  35. #define TB0219_PCI_SLOT1_IRQ GIU_IRQ(TB0219_PCI_SLOT1_PIN)
  36. #define TB0219_PCI_SLOT2_IRQ GIU_IRQ(TB0219_PCI_SLOT2_PIN)
  37. #define TB0219_PCI_SLOT3_IRQ GIU_IRQ(TB0219_PCI_SLOT3_PIN)
  38. #endif /* __TANBAC_TB0219_H */