Changeset 84afc7b in mainline for kernel/genarch/src/drivers/z8530/z8530.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/z8530/z8530.c
r8015eeec r84afc7b 40 40 #include <arch/asm.h> 41 41 #include <mm/slab.h> 42 #include <ddi/device.h> 42 43 43 44 static indev_operations_t kbrdin_ops = { … … 88 89 89 90 /** Initialize z8530. */ 90 indev_t *z8530_init(z8530_t *dev, devno_t devno,inr_t inr, cir_t cir, void *cir_arg)91 indev_t *z8530_init(z8530_t *dev, inr_t inr, cir_t cir, void *cir_arg) 91 92 { 92 93 z8530_instance_t *instance … … 97 98 indev_initialize("z8530", &instance->kbrdin, &kbrdin_ops); 98 99 99 instance->devno = devno;100 100 instance->z8530 = dev; 101 101 102 102 irq_initialize(&instance->irq); 103 instance->irq.devno = dev no;103 instance->irq.devno = device_assign_devno(); 104 104 instance->irq.inr = inr; 105 105 instance->irq.claim = z8530_claim;
Note:
See TracChangeset
for help on using the changeset viewer.