}
+#if CONFIG_CONSOLE_VGA == 1
static void allocate_vga_resource(void)
{
#warning "FIXME modify allocate_vga_resource so it is less pci centric!"
bus = (bus == bus->dev->bus)? 0 : bus->dev->bus;
}
}
-
+#endif
/**
* @brief Assign the computed resources to the devices on the bus.
mem->flags |= IORESOURCE_ASSIGNED;
mem->flags &= ~IORESOURCE_STORED;
+#if CONFIG_CONSOLE_VGA == 1
/* Allocate the VGA I/O resource.. */
allocate_vga_resource();
+#endif
/* Store the computed resource allocations into device registers ... */
printk_info("Setting resources...\n");