PERFORCE change 158635 for review

John Baldwin jhb at FreeBSD.org
Tue Mar 3 14:47:44 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=158635

Change 158635 by jhb at jhb_jhbbsd on 2009/03/03 22:47:27

	Compile.

Affected files ...

.. //depot/projects/multipass/sys/kern/subr_bus.c#4 edit
.. //depot/user/jhb/acpipci/dev/pci/pci.c#118 edit

Differences ...

==== //depot/projects/multipass/sys/kern/subr_bus.c#4 (text+ko) ====

@@ -3281,8 +3281,11 @@
 void
 bus_generic_new_pass(device_t dev)
 {
+	driverlink_t dl;
+	devclass_t dc;
 	device_t child;
 
+	dc = dev->devclass;
 	TAILQ_FOREACH(dl, &dc->drivers, link) {
 		if (dl->pass == bus_current_pass)
 			DEVICE_IDENTIFY(dl->driver, dev);

==== //depot/user/jhb/acpipci/dev/pci/pci.c#118 (text+ko) ====

@@ -2279,8 +2279,7 @@
     int b, int s, int f, int reg, struct resource_list *rl, int force,
     int prefetch)
 {
-	uint32_t map;
-	pci_addr_t base;
+	pci_addr_t base, map;
 	pci_addr_t start, end, count;
 	uint8_t ln2size;
 	uint8_t ln2range;


More information about the p4-projects mailing list