PERFORCE change 150775 for review

Peter Wemm peter at FreeBSD.org
Thu Oct 2 00:49:55 UTC 2008


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

Change 150775 by peter at peter_melody on 2008/10/02 00:49:51

	Refine port reservation via hints hack

Affected files ...

.. //depot/projects/hammer/sys/dev/uart/uart_bus_acpi.c#5 edit

Differences ...

==== //depot/projects/hammer/sys/dev/uart/uart_bus_acpi.c#5 (text+ko) ====

@@ -95,7 +95,7 @@
 	int		unit;
 	u_int		port;
 
-	port = isa_get_port(dev);
+	port = bus_get_resource_start(dev, SYS_RES_IOPORT, 0);
 	if (port == -1)
 		device_printf(dev, "cannot find start port");
 	unit = 0;


More information about the p4-projects mailing list