Ignore:
Timestamp:
2009-03-07T16:08:40Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4c84368e
Parents:
e06da7e
Message:

Complete emancipation of kernel serial controller drivers (i8042, ns16550 and
z8530). Provide a common keyboard module for PC and Sun keyboards. The serial
line module is still to follow.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/ns16550/ns16550.h

    re06da7e r411b6a6  
    3232/**
    3333 * @file
    34  * @brief       Headers for NS 16550 serial port / keyboard driver.
     34 * @brief       Headers for NS 16550 serial controller.
    3535 */
    3636
     
    4040#include <ddi/irq.h>
    4141#include <arch/types.h>
    42 #include <arch/drivers/kbd.h>
     42#include <console/chardev.h>
    4343
    4444#define IER_ERBFI       0x01    /** Enable Receive Buffer Full Interrupt. */
     
    6767        ns16550_t *ns16550;
    6868        irq_t irq;
     69        chardev_t *devout;
    6970} ns16550_instance_t;
    7071
    71 extern bool ns16550_init(ns16550_t *, devno_t, inr_t, cir_t, void *);
     72extern bool ns16550_init(ns16550_t *, devno_t, inr_t, cir_t, void *,
     73    chardev_t *);
    7274extern irq_ownership_t ns16550_claim(irq_t *);
    7375extern void ns16550_irq_handler(irq_t *);
Note: See TracChangeset for help on using the changeset viewer.