Subversion Repositories HelenOS

Rev

Rev 4148 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4148 Rev 4311
Line 60... Line 60...
60
    ioport8_t lsr;      /**< Line Status Register. */
60
    ioport8_t lsr;      /**< Line Status Register. */
61
} __attribute__ ((packed)) ns16550_t;
61
} __attribute__ ((packed)) ns16550_t;
62
 
62
 
63
/** Structure representing the ns16550 device. */
63
/** Structure representing the ns16550 device. */
64
typedef struct {
64
typedef struct {
65
    ns16550_t *ns16550;
-
 
66
    irq_t irq;
65
    irq_t irq;
-
 
66
    ns16550_t *ns16550;
67
    indev_t kbrdin;
67
    indev_t *kbrdin;
68
} ns16550_instance_t;
68
} ns16550_instance_t;
69
 
69
 
70
extern indev_t *ns16550_init(ns16550_t *, inr_t, cir_t, void *);
70
extern ns16550_instance_t *ns16550_init(ns16550_t *, inr_t, cir_t, void *);
-
 
71
extern void ns16550_wire(ns16550_instance_t *, indev_t *);
71
 
72
 
72
#endif
73
#endif
73
 
74
 
74
/** @}
75
/** @}
75
 */
76
 */