capcella.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * capcella.h, Include file for ZAO Networks Capcella.
  3. *
  4. * Copyright (C) 2002-2004 Yoichi Yuasa <yuasa@linux-mips.org>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. */
  20. #ifndef __ZAO_CAPCELLA_H
  21. #define __ZAO_CAPCELLA_H
  22. #include <asm/vr41xx/irq.h>
  23. /*
  24. * General-Purpose I/O Pin Number
  25. */
  26. #define PC104PLUS_INTA_PIN 2
  27. #define PC104PLUS_INTB_PIN 3
  28. #define PC104PLUS_INTC_PIN 4
  29. #define PC104PLUS_INTD_PIN 5
  30. /*
  31. * Interrupt Number
  32. */
  33. #define RTL8139_1_IRQ GIU_IRQ(PC104PLUS_INTC_PIN)
  34. #define RTL8139_2_IRQ GIU_IRQ(PC104PLUS_INTD_PIN)
  35. #define PC104PLUS_INTA_IRQ GIU_IRQ(PC104PLUS_INTA_PIN)
  36. #define PC104PLUS_INTB_IRQ GIU_IRQ(PC104PLUS_INTB_PIN)
  37. #define PC104PLUS_INTC_IRQ GIU_IRQ(PC104PLUS_INTC_PIN)
  38. #define PC104PLUS_INTD_IRQ GIU_IRQ(PC104PLUS_INTD_PIN)
  39. #endif /* __ZAO_CAPCELLA_H */