Ignore:
Timestamp:
2009-02-19T23:55:23Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f32d90b
Parents:
d1eece6
Message:

Improve the ns16550 driver.

  • The driver support multiple instances.
  • It still remembers the last registered IRQ in a global structure (cannot be easily fixed now)
  • Was converted to use PIO directly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/legacy/ia32/io.h

    rd1eece6 r013c4d6  
    4040#include <arch/types.h>
    4141
    42 #define i8042_BASE      ((ioport8_t *)0x60)
     42#define I8042_BASE      ((ioport8_t *)0x60)
    4343
    4444#define EGA_VIDEORAM    0xb8000
    4545#define EGA_BASE        ((ioport8_t *)0x3d4)
     46
     47#define NS16550_BASE    ((ioport8_t *)0x3f8)
    4648
    4749#endif
Note: See TracChangeset for help on using the changeset viewer.