YhLu YhLu@tyan.com writes:
self.firstparentdevicelink()
How about IORESOURCE_FIXED ?
Good point. I guess I should have looked at chip.c when I was doing that part of the conversion. I have just added IORESOURCE_ASSIGNED to the flags.
I was so happy it booted I forgot to look for error messages :)
I will get the trivial fix for that commited in a moment.
static void pnp_set_resource(device_t dev, struct resource *resource) { if (!(resource->flags & IORESOURCE_ASSIGNED)) { printk_err("ERROR: %s %02x not allocated\n", dev_path(dev), resource->index); return; }
Eric