 if (class == PCI_CLASS_DISPLAY_VGA || class == PCI_CLASS_NOT_DEFINED_VGA) bus->bridge_ctl |= PCI_BRIDGE_CTL_VGA; 
pbus_assign_resources_sorted(struct pci_bus *bus){	struct pci_dev *dev;	struct resource *res;	struct resource_list head, *list, *tmp;	int idx;	bus->bridge_ctl &= ~PCI_BRIDGE_CTL_VGA;	head.next = NULL;	list_for_each_entry(dev, &bus->devices, bus_list) {		u16 class = dev->class >> 8;		/* Don't touch classless devices and host bridges.  */		if (class == PCI_CLASS_NOT_DEFINED ||		    class == PCI_CLASS_BRIDGE_HOST)			continue;		if (class == PCI_CLASS_DISPLAY_VGA ||		    class == PCI_CLASS_NOT_DEFINED_VGA)			bus->bridge_ctl |= PCI_BRIDGE_CTL_VGA;		pdev_sort_resources(dev, &head);	}	for (list = head.next; list;) {		res = list->res;		idx = res - &list->dev->resource[0];		if (pci_assign_resource(list->dev, idx)) {			res->start = 0;			res->end = 0;			res->flags = 0;		}		tmp = list;		list = list->next;		kfree(tmp);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/10f4338ca8534823bc6c843edbbe42fd4e73d258/setup-bus.c/buggy/drivers/pci/setup-bus.c