Changes in uspace/drv/isa/isa.c [41b56084:7e752b2] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/isa/isa.c

    r41b56084 r7e752b2  
    5151
    5252#include <driver.h>
    53 #include <ops/hw_res.h>
     53#include <resource.h>
    5454
    5555#include <devman.h>
     
    8484}
    8585
    86 static hw_res_ops_t isa_child_hw_res_ops = {
     86static resource_iface_t isa_child_res_iface = {
    8787        &isa_get_child_resources,
    8888        &isa_enable_child_interrupt
     
    282282
    283283                printf(NAME ": added io range (addr=0x%x, size=0x%x) to "
    284                     "device %s\n", (unsigned int) addr, (unsigned int) len,
    285                     dev->name);
     284                    "device %s\n", addr, len, dev->name);
    286285        }
    287286}
     
    490489static int isa_add_device(device_t *dev)
    491490{
    492         printf(NAME ": isa_add_device, device handle = %d\n",
    493             (int) dev->handle);
     491        printf(NAME ": isa_add_device, device handle = %d\n", dev->handle);
    494492
    495493        /* Add child devices. */
     
    502500static void isa_init()
    503501{
    504         isa_child_dev_ops.interfaces[HW_RES_DEV_IFACE] = &isa_child_hw_res_ops;
     502        isa_child_dev_ops.interfaces[HW_RES_DEV_IFACE] = &isa_child_res_iface;
    505503}
    506504
Note: See TracChangeset for help on using the changeset viewer.