Subversion Repositories HelenOS

Rev

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

Rev 4346 Rev 4347
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
    devno_t devno;
-
 
66
    ns16550_t *ns16550;
65
    ns16550_t *ns16550;
67
    irq_t irq;
66
    irq_t irq;
68
    indev_t kbrdin;
67
    indev_t kbrdin;
69
} ns16550_instance_t;
68
} ns16550_instance_t;
70
 
69
 
71
extern indev_t *ns16550_init(ns16550_t *, devno_t, inr_t, cir_t, void *);
70
extern indev_t *ns16550_init(ns16550_t *, inr_t, cir_t, void *);
72
 
71
 
73
#endif
72
#endif
74
 
73
 
75
/** @}
74
/** @}
76
 */
75
 */