Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 4093 → Rev 4094

/trunk/kernel/genarch/include/drivers/z8530/z8530.h
96,7 → 96,7
#define RR0_RCA (0x1 << 0)
 
/** z8530's registers. */
struct z8530 {
typedef struct {
union {
ioport8_t ctl_b;
ioport8_t status_b;
110,8 → 110,7
} __attribute__ ((packed));
uint8_t pad3;
ioport8_t data_a;
} __attribute__ ((packed));
typedef struct z8530 z8530_t;
} __attribute__ ((packed)) z8530_t;
 
/** Structure representing the z8530 device. */
typedef struct {
118,12 → 117,10
devno_t devno;
irq_t irq;
z8530_t *z8530;
chardev_t *devout;
indev_t kbrdin;
} z8530_instance_t;
 
extern bool z8530_init(z8530_t *, devno_t, inr_t, cir_t, void *, chardev_t *);
extern irq_ownership_t z8530_claim(irq_t *);
extern void z8530_irq_handler(irq_t *);
extern devin_t *z8530_init(z8530_t *, devno_t, inr_t, cir_t, void *);
 
#endif