patch-2.3.29 linux/drivers/pci/pci.c

Next file: linux/drivers/pci/pci.ids
Previous file: linux/drivers/parport/ieee1284_ops.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/drivers/pci/pci.c linux/drivers/pci/pci.c
@@ -437,6 +437,7 @@
 		dev = dev_cache;
 		memset(dev, 0, sizeof(*dev));
 		dev->bus = bus;
+		dev->sysdata = bus->sysdata;
 		dev->devfn  = devfn;
 
 		if (pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type))
@@ -556,6 +557,7 @@
 			child->self = dev;
 			child->parent = bus;
 			child->ops = bus->ops;
+			child->sysdata = bus->sysdata;
 
 			/*
 			 * Set up the primary, secondary and subordinate

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)