Difference between revisions of "Board:jetway/nf81-t56n-lf"
Jump to navigation
Jump to search
Eocallaghan (talk | contribs) (→Status) |
Eocallaghan (talk | contribs) |
||
Line 772: | Line 772: | ||
# echo "mem" > /sys/power/state | # echo "mem" > /sys/power/state | ||
However a issue remains of wanrings about resources being '''not assigned'''. | However a issue remains of wanrings about resources being '''not assigned'''. | ||
For details see in '''src/device/pnp_device.c''' the function: | For details see in '''src/device/pnp_device.c''' the function: | ||
Line 783: | Line 784: | ||
} | } | ||
... | ... | ||
and in '''src/device/device_util.c''' the function: | |||
const char *resource_type(struct resource *resource) | |||
{ | |||
static char buffer[RESOURCE_TYPE_MAX]; | |||
snprintf(buffer, sizeof (buffer), "%s%s%s%s", | |||
((resource->flags & IORESOURCE_READONLY) ? "ro" : ""), | |||
((resource->flags & IORESOURCE_PREFETCH) ? "pref" : ""), | |||
((resource->flags == 0) ? "unused" : | |||
(resource->flags & IORESOURCE_IO) ? "io" : | |||
(resource->flags & IORESOURCE_DRQ) ? "drq" : | |||
(resource->flags & IORESOURCE_IRQ) ? "irq" : | |||
(resource->flags & IORESOURCE_MEM) ? "mem" : "??????"), | |||
((resource->flags & IORESOURCE_PCI64) ? "64" : "")); | |||
return buffer; | |||
} | |||
and in '''src/include/device/resource.h''' the struct resource: | |||
struct resource { | |||
.. | |||
unsigned long index; /* Bus specific per device resource id */ | |||
.. | |||
Analysis: | Analysis: | ||
Line 796: | Line 821: | ||
| | | | ||
+--- dev_path(dev) | +--- dev_path(dev) | ||
A '''dev_path''' of type '''DEVICE_PATH_PCI''' (Host Bridge) at 18.0 of '''IORESOURCE_MEM''' type has a bus specific index of '''1088'''. | |||
Possibly related to the devicetree.cb ?? | Possibly related to the devicetree.cb ?? |