Changeset 84afc7b in mainline for kernel/genarch/src/drivers/dsrln/dsrlnin.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/dsrln/dsrlnin.c
r8015eeec r84afc7b 39 39 #include <mm/slab.h> 40 40 #include <arch/asm.h> 41 #include <ddi/device.h> 41 42 42 43 static indev_operations_t kbrdin_ops = { … … 57 58 } 58 59 59 indev_t *dsrlnin_init(dsrlnin_t *dev, devno_t devno,inr_t inr)60 indev_t *dsrlnin_init(dsrlnin_t *dev, inr_t inr) 60 61 { 61 62 dsrlnin_instance_t *instance … … 66 67 indev_initialize("dsrlnin", &instance->kbrdin, &kbrdin_ops); 67 68 68 instance->devno = devno;69 69 instance->dsrlnin = dev; 70 70 71 71 irq_initialize(&instance->irq); 72 instance->irq.devno = dev no;72 instance->irq.devno = device_assign_devno(); 73 73 instance->irq.inr = inr; 74 74 instance->irq.claim = dsrlnin_claim;
Note:
See TracChangeset
for help on using the changeset viewer.