Subversion Repositories HelenOS

Rev

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

Rev 3655 Rev 3790
Line 99... Line 99...
99
    ofw_pci_reg_t *assigned_address;
99
    ofw_pci_reg_t *assigned_address;
100
    count_t assigned_addresses;
100
    count_t assigned_addresses;
101
   
101
   
102
    prop = ofw_tree_getprop(node, "assigned-addresses");
102
    prop = ofw_tree_getprop(node, "assigned-addresses");
103
    if (!prop)
103
    if (!prop)
104
        panic("Can't find \"assigned-addresses\" property.\n");
104
        panic("Cannot find 'assigned-addresses' property.");
105
   
105
   
106
    assigned_addresses = prop->size / sizeof(ofw_pci_reg_t);
106
    assigned_addresses = prop->size / sizeof(ofw_pci_reg_t);
107
    assigned_address = prop->value;
107
    assigned_address = prop->value;
108
   
108
   
109
    unsigned int i;
109
    unsigned int i;