Subversion Repositories HelenOS

Rev

Rev 1789 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1789 Rev 1800
Line 54... Line 54...
54
        return false;
54
        return false;
55
                               
55
                               
56
    pci_reg_t macio;
56
    pci_reg_t macio;
57
    if (ofw_get_property(device, "assigned-addresses", &macio, sizeof(macio)) <= 0)
57
    if (ofw_get_property(device, "assigned-addresses", &macio, sizeof(macio)) <= 0)
58
        return false;
58
        return false;
59
    keyboard->addr = (void *) macio.addr.addr_lo;
59
    keyboard->addr = (void *) (((unsigned long) macio.addr.addr_lo) | (((unsigned long) macio.addr.addr_hi) << 32));
60
    keyboard->size = macio.size_lo;
60
    keyboard->size = macio.size_lo;
61
 
61
 
62
    return true;
62
    return true;
63
}
63
}
64
 
64