PERFORCE change 101878 for review

Olivier Houchard cognet at FreeBSD.org
Tue Jul 18 22:24:55 UTC 2006


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

Change 101878 by cognet at cognet on 2006/07/18 22:24:34

	Use 0 as a reg shift and the virtual address instead of the physical
	one.

Affected files ...

.. //depot/projects/arm/src/sys/arm/xscale/ixp425/uart_cpu_ixp425.c#2 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/xscale/ixp425/uart_cpu_ixp425.c#2 (text+ko) ====

@@ -54,7 +54,7 @@
 	di->ops = uart_ns8250_ops;
 	di->bas.chan = 0;
 	di->bas.bst = &ixp425_a4x_bs_tag;
-	di->bas.regshft = 2;
+	di->bas.regshft = 0;
 	di->bas.rclk = IXP425_UART_FREQ;
 	di->baudrate = 115200;
 	di->databits = 8;
@@ -62,6 +62,6 @@
 	di->parity = UART_PARITY_NONE;
 	uart_bus_space_io = &ixp425_a4x_bs_tag;
 	uart_bus_space_mem = NULL;
-	di->bas.bsh = IXP425_UART0_HWBASE;
+	di->bas.bsh = IXP425_UART0_VBASE;
 	return (0);
 }


More information about the p4-projects mailing list