8
#define I8259_MASTER_CONTROL 0x20
9
#define I8259_MASTER_MASK 0x21
11
#define I8259_SLAVE_CONTROL 0xA0
12
#define I8259_SLAVE_MASK 0xA1
14
#define SIO_CONFIG_ADDR 0x3F0
15
#define SIO_CONFIG_DATA 0x3F1
17
#define SIO_WRITE_CONFIG(addr, byte) \
18
out_byte(SIO_CONFIG_ADDR, addr); \
19
out_byte(SIO_CONFIG_DATA, byte);
21
#define SIO_READ_CONFIG(addr, byte) \
22
out_byte(SIO_CONFIG_ADDR, addr); \
23
byte = in_byte(SIO_CONFIG_DATA);
27
void via_calibrate_bus_freq(void);