Changeset 84afc7b in mainline for kernel/genarch/src/drivers/i8042/i8042.c
- Timestamp:
- 2009-03-18T10:53:12Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e749794
- Parents:
- 8015eeec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/i8042/i8042.c
r8015eeec r84afc7b 42 42 #include <console/chardev.h> 43 43 #include <mm/slab.h> 44 #include <ddi/device.h> 44 45 45 46 static indev_operations_t kbrdin_ops = { … … 77 78 78 79 /** Initialize i8042. */ 79 indev_t *i8042_init(i8042_t *dev, devno_t devno,inr_t inr)80 indev_t *i8042_init(i8042_t *dev, inr_t inr) 80 81 { 81 82 i8042_instance_t *instance … … 86 87 indev_initialize("i8042", &instance->kbrdin, &kbrdin_ops); 87 88 88 instance->devno = devno;89 89 instance->i8042 = dev; 90 90 91 91 irq_initialize(&instance->irq); 92 instance->irq.devno = dev no;92 instance->irq.devno = device_assign_devno(); 93 93 instance->irq.inr = inr; 94 94 instance->irq.claim = i8042_claim;
Note:
See TracChangeset
for help on using the changeset viewer.