1; poke script
2; dump 16C952 ID regs
3
4outb b803 bf
5outb b802 10
6outb b803 00
7; serial_icr_write(off,val)
8; outb b807 off
9; outb b805 val
10; serial_icr_read(off)
11; outb b807 00
12; outb b805 40
13; outb b807 off
14; inb b805
15; outb b807 00
16; outb b805 00
17
18outb b807 00
19outb b805 40
20; id1
21outb b807 08
22inb b805
23; id2
24outb b807 09
25inb b805
26; id3
27outb b807 0a
28inb b805
29; rev
30outb b807 0b
31inb b805
32
33; 
34outb b807 00
35inb b805
36
37
38outb b807 00
39outb b805 00
40
41
42; disable enhanced control bit
43outb b803 bf
44outb b802 00
45outb b803 00
46