Commit | Line | Data |
---|---|---|
1d0f7a40 WJ |
1 | /* |
2 | * ioconf.c | |
3 | * Generated by config program | |
4 | */ | |
5 | ||
6 | #include "machine/pte.h" | |
7 | #include "sys/param.h" | |
8 | #include "sys/buf.h" | |
9 | ||
10 | #define V(s) V##s | |
11 | #define C (caddr_t) | |
12 | ||
13 | /* | |
14 | * ISA devices | |
15 | */ | |
16 | ||
17 | #include "i386/isa/isa_device.h" | |
18 | #include "i386/isa/isa.h" | |
19 | #include "i386/isa/icu.h" | |
20 | ||
21 | extern struct isa_driver wddriver; extern V(wd0)(); | |
22 | extern struct isa_driver fddriver; extern V(fd0)(); | |
23 | extern struct isa_driver pcdriver; extern V(pc0)(); | |
24 | extern struct isa_driver npxdriver; extern V(npx0)(); | |
25 | extern struct isa_driver comdriver; extern V(com0)(); | |
26 | extern struct isa_driver wedriver; extern V(we0)(); | |
27 | ||
28 | struct isa_device isa_devtab_bio[] = { | |
29 | /* driver iobase irq drq maddr msiz intr unit */ | |
30 | { &wddriver, IO_WD1, IRQ14, -1, C 0x00000, 0, V(wd0), 0 }, | |
31 | { &fddriver, IO_FD1, IRQ6, 2, C 0x00000, 0, V(fd0), 0 }, | |
32 | 0 | |
33 | }; | |
34 | struct isa_device isa_devtab_tty[] = { | |
35 | /* driver iobase irq drq maddr msiz intr unit */ | |
36 | { &pcdriver, IO_KBD, IRQ1, -1, C 0x00000, 0, V(pc0), 0 }, | |
37 | { &comdriver, IO_COM1, IRQ4, -1, C 0x00000, 0, V(com0), 0 }, | |
38 | 0 | |
39 | }; | |
40 | ||
41 | struct isa_device isa_devtab_net[] = { | |
42 | /* driver iobase irq drq maddr msiz intr unit */ | |
43 | { &wedriver, 0x280, IRQ3, -1, C 0xD0000, 8192, V(we0), 0 }, | |
44 | 0 | |
45 | }; | |
46 | ||
47 | struct isa_device isa_devtab_null[] = { | |
48 | /* driver iobase irq drq maddr msiz intr unit */ | |
49 | { &npxdriver, IO_NPX, IRQ13, -1, C 0x00000, 0, V(npx0), 0 }, | |
50 | 0 | |
51 | }; | |
52 |