Esempio n. 1
0
static void rl5c476_read_resources(device_t dev)
{

	struct resource *resource;

	 /* For CF socket we need an extra memory window for
	  * the control structure of the CF itself
	  */
	if( enable_cf_boot && (PCI_FUNC(dev->path.pci.devfn) == 1)){
		/* fake index as it isn't in PCI config space */
		resource = new_resource(dev, 1);
		resource->flags |= IORESOURCE_MEM;
		resource->size = 0x1000;
		resource->align = resource->gran = 12;
		resource->limit= 0xffff0000;
	}
	cardbus_read_resources(dev);
}
Esempio n. 2
0
static void pci7420_cardbus_read_resources(device_t dev)
{
	cardbus_read_resources(dev);
}
Esempio n. 3
0
static void pci7420_cardbus_read_resources(struct device *dev)
{
	cardbus_read_resources(dev);
}
Esempio n. 4
0
static void pcixx12_read_resources(device_t dev)
{
	cardbus_read_resources(dev);
}