ibmpc.h 553 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2002
  4. * Daniel Engström, Omicron Ceti AB, daniel@omicron.se
  5. */
  6. #ifndef __ASM_IBMPC_H_
  7. #define __ASM_IBMPC_H_ 1
  8. /* misc ports in an ibm compatible pc */
  9. #define MASTER_PIC 0x20
  10. #define PIT_BASE 0x40
  11. #define KBDDATA 0x60
  12. #define SYSCTLB 0x62
  13. #define KBDCMD 0x64
  14. #define SYSCTLA 0x92
  15. #define SLAVE_PIC 0xa0
  16. #define UART0_BASE 0x3f8
  17. #define UART1_BASE 0x2f8
  18. #define UART0_IRQ 4
  19. #define UART1_IRQ 3
  20. #define KBD_IRQ 1
  21. #define MSE_IRQ 12
  22. #endif