Rev 1896 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1896 | Rev 1909 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | 36 | ||
37 | #include <genarch/kbd/z8530.h> |
37 | #include <genarch/kbd/z8530.h> |
38 | #include <genarch/kbd/key.h> |
38 | #include <genarch/kbd/key.h> |
39 | #include <genarch/kbd/scanc.h> |
39 | #include <genarch/kbd/scanc.h> |
40 | #include <genarch/kbd/scanc_sun.h> |
40 | #include <genarch/kbd/scanc_sun.h> |
41 | #include <arch/drivers/fhc.h> |
- | |
42 | #include <arch/drivers/z8530.h> |
41 | #include <arch/drivers/z8530.h> |
43 | #include <arch/interrupt.h> |
42 | #include <arch/interrupt.h> |
44 | #include <arch/drivers/kbd.h> |
43 | #include <arch/drivers/kbd.h> |
45 | #include <cpu.h> |
44 | #include <cpu.h> |
46 | #include <arch/asm.h> |
45 | #include <arch/asm.h> |
Line 104... | Line 103... | ||
104 | 103 | ||
105 | /* 8 bits per character and enable receiver */ |
104 | /* 8 bits per character and enable receiver */ |
106 | z8530_write_a(WR3, WR3_RX8BITSCH | WR3_RX_ENABLE); |
105 | z8530_write_a(WR3, WR3_RX8BITSCH | WR3_RX_ENABLE); |
107 | 106 | ||
108 | z8530_write_a(WR9, WR9_MIE); /* Master Interrupt Enable. */ |
107 | z8530_write_a(WR9, WR9_MIE); /* Master Interrupt Enable. */ |
109 | - | ||
110 | /* |
- | |
111 | * We need to initialize the FireHose Controller, |
- | |
112 | * to which is this z8530 attached. Otherwise |
- | |
113 | * interrupts generated by the z8530 would not |
- | |
114 | * be forwarded to the CPU. |
- | |
115 | */ |
- | |
116 | fhc_init(); |
- | |
117 | } |
108 | } |
118 | 109 | ||
119 | /** Process z8530 interrupt. |
110 | /** Process z8530 interrupt. |
120 | * |
111 | * |
121 | * @param n Interrupt vector. |
112 | * @param n Interrupt vector. |