This source file includes following definitions.
- es1888_init
1
2
3
4
5
6
7
8 #include <linux/init.h>
9 #include <asm/io.h>
10 #include "proto.h"
11
12 void __init
13 es1888_init(void)
14 {
15
16 inb(0x0229);
17 inb(0x0229);
18 inb(0x0229);
19 inb(0x022b);
20 inb(0x0229);
21 inb(0x022b);
22 inb(0x0229);
23 inb(0x0229);
24 inb(0x022b);
25 inb(0x0229);
26 inb(0x0220);
27
28
29 outb(0x01, 0x0226);
30 inb(0x0226);
31 outb(0x00, 0x0226);
32 while (!(inb(0x022e) & 0x80))
33 continue;
34 inb(0x022a);
35 outb(0xc6, 0x022c);
36 inb(0x022a);
37 while (inb(0x022c) & 0x80)
38 continue;
39 outb(0xb1, 0x022c);
40 while (inb(0x022c) & 0x80)
41 continue;
42 outb(0x14, 0x022c);
43 while (inb(0x022c) & 0x80)
44 continue;
45 outb(0xb2, 0x022c);
46 while (inb(0x022c) & 0x80)
47 continue;
48 outb(0x18, 0x022c);
49 inb(0x022c);
50 }