Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2008 00:49:54 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 150775 for review
Message-ID:  <200810020049.m920nsOg046060@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150775

Change 150775 by peter@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810020049.m920nsOg046060>