Changes in uspace/drv/isa/isa.c [7e752b2:41b56084] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/isa/isa.c
r7e752b2 r41b56084 51 51 52 52 #include <driver.h> 53 #include < resource.h>53 #include <ops/hw_res.h> 54 54 55 55 #include <devman.h> … … 84 84 } 85 85 86 static resource_iface_t isa_child_res_iface= {86 static hw_res_ops_t isa_child_hw_res_ops = { 87 87 &isa_get_child_resources, 88 88 &isa_enable_child_interrupt … … 282 282 283 283 printf(NAME ": added io range (addr=0x%x, size=0x%x) to " 284 "device %s\n", addr, len, dev->name); 284 "device %s\n", (unsigned int) addr, (unsigned int) len, 285 dev->name); 285 286 } 286 287 } … … 489 490 static int isa_add_device(device_t *dev) 490 491 { 491 printf(NAME ": isa_add_device, device handle = %d\n", dev->handle); 492 printf(NAME ": isa_add_device, device handle = %d\n", 493 (int) dev->handle); 492 494 493 495 /* Add child devices. */ … … 500 502 static void isa_init() 501 503 { 502 isa_child_dev_ops.interfaces[HW_RES_DEV_IFACE] = &isa_child_ res_iface;504 isa_child_dev_ops.interfaces[HW_RES_DEV_IFACE] = &isa_child_hw_res_ops; 503 505 } 504 506
Note:
See TracChangeset
for help on using the changeset viewer.