Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx use device_t correctly for imxuart.
details: https://anonhg.NetBSD.org/src/rev/e2f9a9cc060e
branches: trunk
changeset: 759066:e2f9a9cc060e
user: bsh <bsh%NetBSD.org@localhost>
date: Sat Nov 27 13:37:27 2010 +0000
description:
use device_t correctly for imxuart.
diffstat:
sys/arch/arm/imx/imx31_uart.c | 4 ++--
sys/arch/arm/imx/imx51_uart.c | 4 ++--
sys/arch/arm/imx/imxuart.c | 6 +++---
sys/arch/arm/imx/imxuartvar.h | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
diffs (87 lines):
diff -r c80fef9c694d -r e2f9a9cc060e sys/arch/arm/imx/imx31_uart.c
--- a/sys/arch/arm/imx/imx31_uart.c Sat Nov 27 12:11:54 2010 +0000
+++ b/sys/arch/arm/imx/imx31_uart.c Sat Nov 27 13:37:27 2010 +0000
@@ -36,7 +36,7 @@
int
-imxuart_match(struct device *parent, struct cfdata *cf, void *aux)
+imxuart_match(device_t parent, struct cfdata *cf, void *aux)
{
struct aips_attach_args * const aipsa = aux;
@@ -53,7 +53,7 @@
}
void
-imxuart_attach(struct device *parent, struct device *self, void *aux)
+imxuart_attach(device_t parent, device_t self, void *aux)
{
struct aips_attach_args * aa = aux;
diff -r c80fef9c694d -r e2f9a9cc060e sys/arch/arm/imx/imx51_uart.c
--- a/sys/arch/arm/imx/imx51_uart.c Sat Nov 27 12:11:54 2010 +0000
+++ b/sys/arch/arm/imx/imx51_uart.c Sat Nov 27 13:37:27 2010 +0000
@@ -36,7 +36,7 @@
int
-imxuart_match(struct device *parent, struct cfdata *cf, void *aux)
+imxuart_match(device_t parent, struct cfdata *cf, void *aux)
{
struct axi_attach_args * const aa = aux;
@@ -51,7 +51,7 @@
}
void
-imxuart_attach(struct device *parent, struct device *self, void *aux)
+imxuart_attach(device_t parent, device_t self, void *aux)
{
struct axi_attach_args * aa = aux;
diff -r c80fef9c694d -r e2f9a9cc060e sys/arch/arm/imx/imxuart.c
--- a/sys/arch/arm/imx/imxuart.c Sat Nov 27 12:11:54 2010 +0000
+++ b/sys/arch/arm/imx/imxuart.c Sat Nov 27 13:37:27 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imxuart.c,v 1.5 2010/11/13 06:12:17 bsh Exp $ */
+/* $NetBSD: imxuart.c,v 1.6 2010/11/27 13:37:27 bsh Exp $ */
/*
* Copyright (c) 2009, 2010 Genetec Corporation. All rights reserved.
@@ -96,7 +96,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imxuart.c,v 1.5 2010/11/13 06:12:17 bsh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imxuart.c,v 1.6 2010/11/27 13:37:27 bsh Exp $");
#include "opt_imxuart.h"
#include "opt_ddb.h"
@@ -388,7 +388,7 @@
void
-imxuart_attach_common(struct device *parent, struct device *self,
+imxuart_attach_common(device_t parent, device_t self,
bus_space_tag_t iot, paddr_t iobase, size_t size, int intr, int flags)
{
imxuart_softc_t *sc = device_private(self);
diff -r c80fef9c694d -r e2f9a9cc060e sys/arch/arm/imx/imxuartvar.h
--- a/sys/arch/arm/imx/imxuartvar.h Sat Nov 27 12:11:54 2010 +0000
+++ b/sys/arch/arm/imx/imxuartvar.h Sat Nov 27 13:37:27 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imxuartvar.h,v 1.3 2010/11/13 06:12:17 bsh Exp $ */
+/* $NetBSD: imxuartvar.h,v 1.4 2010/11/27 13:37:27 bsh Exp $ */
/*
* driver include for Freescale i.MX31 and i.MX31L UARTs
*/
@@ -36,7 +36,7 @@
#include <sys/termios.h> /* for tcflag_t */
-void imxuart_attach_common(struct device *parent, struct device *self,
+void imxuart_attach_common(device_t parent, device_t self,
bus_space_tag_t, paddr_t, size_t, int, int);
int imxuart_kgdb_attach(bus_space_tag_t, paddr_t, u_int, tcflag_t);
Home |
Main Index |
Thread Index |
Old Index