Changeset 8d2760f in mainline for kernel/arch/sparc64/src/drivers/kbd.c
- Timestamp:
- 2008-11-29T20:24:47Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 57e76cb
- Parents:
- dfd77382
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/kbd.c
rdfd77382 r8d2760f 64 64 ofw_tree_property_t *prop; 65 65 const char *name; 66 cir_t cir; 67 void *cir_arg; 66 68 67 69 name = ofw_tree_node_name(node); … … 110 112 } 111 113 if (!ofw_fhc_map_interrupt(node->parent, 112 ((ofw_fhc_reg_t *) prop->value), interrupts, &inr)) { 114 ((ofw_fhc_reg_t *) prop->value), interrupts, &inr, &cir, 115 &cir_arg)) { 113 116 printf("Failed to determine keyboard interrupt.\n"); 114 117 return; … … 124 127 } 125 128 if (!ofw_ebus_map_interrupt(node->parent, 126 ((ofw_ebus_reg_t *) prop->value), interrupts, &inr)) { 129 ((ofw_ebus_reg_t *) prop->value), interrupts, &inr, &cir, 130 &cir_arg)) { 127 131 printf("Failed to determine keyboard interrupt.\n"); 128 132 return; … … 147 151 #ifdef CONFIG_Z8530 148 152 case KBD_Z8530: 149 z8530_init(devno, inr, vaddr);153 z8530_init(devno, vaddr, inr, cir, cir_arg); 150 154 break; 151 155 #endif 152 156 #ifdef CONFIG_NS16550 153 157 case KBD_NS16550: 154 ns16550_init(devno, inr, (ioport_t)vaddr);158 ns16550_init(devno, (ioport_t)vaddr, inr, cir, cir_arg); 155 159 break; 156 160 #endif
Note:
See TracChangeset
for help on using the changeset viewer.