summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-12-12 21:00:58 +0000
committerWarner Losh <imp@FreeBSD.org>2005-12-12 21:00:58 +0000
commitfbd68c4b4ce9f404df4a819e64680f29bf0c7cce (patch)
treede5e6dc38512c6a9282ee32995b39dfe9278e623
parentcf9e56b04e75c19037ad4b8cfd838d968fbb10b0 (diff)
Notes
-rw-r--r--sys/dev/uart/uart_cpu_alpha.c1
-rw-r--r--sys/dev/uart/uart_cpu_amd64.c1
-rw-r--r--sys/dev/uart/uart_cpu_i386.c1
-rw-r--r--sys/dev/uart/uart_cpu_ia64.c1
-rw-r--r--sys/dev/uart/uart_cpu_pc98.c1
-rw-r--r--sys/dev/uart/uart_subr.c1
6 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_cpu_alpha.c b/sys/dev/uart/uart_cpu_alpha.c
index f7a2f8bb5d4a..00aa1de354b4 100644
--- a/sys/dev/uart/uart_cpu_alpha.c
+++ b/sys/dev/uart/uart_cpu_alpha.c
@@ -95,6 +95,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
}
/* Check the environment. */
+ di->ops = uart_ns8250_ops;
if (uart_getenv(devtype, di) == 0)
return (0);
diff --git a/sys/dev/uart/uart_cpu_amd64.c b/sys/dev/uart/uart_cpu_amd64.c
index 498496b86b90..fb8b99476eb6 100644
--- a/sys/dev/uart/uart_cpu_amd64.c
+++ b/sys/dev/uart/uart_cpu_amd64.c
@@ -52,6 +52,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
unsigned int i, ivar;
/* Check the environment. */
+ di->ops = uart_ns8250_ops;
if (uart_getenv(devtype, di) == 0)
return (0);
diff --git a/sys/dev/uart/uart_cpu_i386.c b/sys/dev/uart/uart_cpu_i386.c
index 673dde54b25a..c8e2e2ec721f 100644
--- a/sys/dev/uart/uart_cpu_i386.c
+++ b/sys/dev/uart/uart_cpu_i386.c
@@ -52,6 +52,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
unsigned int i, ivar;
/* Check the environment. */
+ di->ops = uart_ns8250_ops;
if (uart_getenv(devtype, di) == 0)
return (0);
diff --git a/sys/dev/uart/uart_cpu_ia64.c b/sys/dev/uart/uart_cpu_ia64.c
index cf1e7e178e98..496049200c2d 100644
--- a/sys/dev/uart/uart_cpu_ia64.c
+++ b/sys/dev/uart/uart_cpu_ia64.c
@@ -104,5 +104,6 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
}
/* Check the environment. */
+ di->ops = uart_ns8250_ops;
return (uart_getenv(devtype, di));
}
diff --git a/sys/dev/uart/uart_cpu_pc98.c b/sys/dev/uart/uart_cpu_pc98.c
index 0ae255967727..0887a6766624 100644
--- a/sys/dev/uart/uart_cpu_pc98.c
+++ b/sys/dev/uart/uart_cpu_pc98.c
@@ -52,6 +52,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
unsigned int i, ivar, flags;
/* Check the environment. */
+ di->ops = uart_ns8250_ops;
if (uart_getenv(devtype, di) == 0)
return (0);
diff --git a/sys/dev/uart/uart_subr.c b/sys/dev/uart/uart_subr.c
index 14ce64b1b84f..c9b6fe7ab504 100644
--- a/sys/dev/uart/uart_subr.c
+++ b/sys/dev/uart/uart_subr.c
@@ -182,7 +182,6 @@ uart_getenv(int devtype, struct uart_devinfo *di)
return (ENXIO);
/* Set defaults. */
- di->ops = uart_ns8250_ops;
di->bas.chan = 0;
di->bas.regshft = 0;
di->bas.rclk = 0;