Rev 2510 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2510 | Rev 2745 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | return false; |
59 | return false; |
60 | 60 | ||
61 | ranges = prop->size / sizeof(ofw_sbus_range_t); |
61 | ranges = prop->size / sizeof(ofw_sbus_range_t); |
62 | range = prop->value; |
62 | range = prop->value; |
63 | 63 | ||
64 | int i; |
64 | unsigned int i; |
65 | 65 | ||
66 | for (i = 0; i < ranges; i++) { |
66 | for (i = 0; i < ranges; i++) { |
67 | if (overlaps(reg->addr, reg->size, range[i].child_base, |
67 | if (overlaps(reg->addr, reg->size, range[i].child_base, |
68 | range[i].size)) { |
68 | range[i].size)) { |
69 | *pa = range[i].parent_base + |
69 | *pa = range[i].parent_base + |