Date: Mon, 2 Apr 2007 22:00:23 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/arm/at91 uart_cpu_at91rm9200usart.c uart_dev_at91usart.c src/sys/arm/sa11x0 uart_cpu_sa1110.c uart_dev_sa1110.c src/sys/arm/xscale/i80321 uart_cpu_i80321.c src/sys/arm/xscale/ixp425 uart_cpu_ixp425.c src/sys/dev/uart uart.h uart_bus.h uart_core.c ... Message-ID: <200704022200.l32M0Nml088954@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2007-04-02 22:00:23 UTC FreeBSD src repository Modified files: sys/arm/at91 uart_cpu_at91rm9200usart.c uart_dev_at91usart.c sys/arm/sa11x0 uart_cpu_sa1110.c uart_dev_sa1110.c sys/arm/xscale/i80321 uart_cpu_i80321.c sys/arm/xscale/ixp425 uart_cpu_ixp425.c sys/dev/uart uart.h uart_bus.h uart_core.c uart_cpu.h uart_cpu_amd64.c uart_cpu_i386.c uart_cpu_ia64.c uart_cpu_pc98.c uart_cpu_powerpc.c uart_cpu_sparc64.c uart_dev_ns8250.c uart_dev_sab82532.c uart_dev_z8530.c uart_kbd_sun.c uart_subr.c Log: Don't expose the uart_ops structure directly, but instead have it obtained through the uart_class structure. This allows us to declare the uart_class structure as weak and as such allows us to reference it even when it's not compiled-in. It also allows is to get the uart_ops structure by name, which makes it possible to implement the dt tag handling in uart_getenv(). The side-effect of all this is that we're using the uart_class structure more consistently which means that we now also have access to the size of the bus space block needed by the hardware when we map the bus space, eliminating any hardcoding. Revision Changes Path 1.3 +6 -5 src/sys/arm/at91/uart_cpu_at91rm9200usart.c 1.12 +4 -2 src/sys/arm/at91/uart_dev_at91usart.c 1.7 +3 -2 src/sys/arm/sa11x0/uart_cpu_sa1110.c 1.8 +4 -2 src/sys/arm/sa11x0/uart_dev_sa1110.c 1.5 +1 -1 src/sys/arm/xscale/i80321/uart_cpu_i80321.c 1.2 +1 -1 src/sys/arm/xscale/ixp425/uart_cpu_ixp425.c 1.6 +9 -0 src/sys/dev/uart/uart.h 1.15 +1 -4 src/sys/dev/uart/uart_bus.h 1.22 +32 -5 src/sys/dev/uart/uart_core.c 1.12 +14 -15 src/sys/dev/uart/uart_cpu.h 1.12 +9 -4 src/sys/dev/uart/uart_cpu_amd64.c 1.12 +9 -4 src/sys/dev/uart/uart_cpu_i386.c 1.13 +9 -5 src/sys/dev/uart/uart_cpu_ia64.c 1.17 +9 -4 src/sys/dev/uart/uart_cpu_pc98.c 1.3 +6 -1 src/sys/dev/uart/uart_cpu_powerpc.c 1.23 +12 -7 src/sys/dev/uart/uart_cpu_sparc64.c 1.26 +3 -2 src/sys/dev/uart/uart_dev_ns8250.c 1.16 +3 -2 src/sys/dev/uart/uart_dev_sab82532.c 1.22 +3 -2 src/sys/dev/uart/uart_dev_z8530.c 1.12 +2 -2 src/sys/dev/uart/uart_kbd_sun.c 1.6 +44 -6 src/sys/dev/uart/uart_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704022200.l32M0Nml088954>