Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/dev Properly initialize the IOBlix card's lpt...
details: https://anonhg.NetBSD.org/src/rev/eea28ab529d0
branches: trunk
changeset: 756498:eea28ab529d0
user: jklos <jklos%NetBSD.org@localhost>
date: Tue Jul 20 05:32:46 2010 +0000
description:
Properly initialize the IOBlix card's lpt port on boot. From Frank Wille
and Michael L. Hitch.
diffstat:
sys/arch/amiga/dev/ioblix_zbus.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 4d298bb4a325 -r eea28ab529d0 sys/arch/amiga/dev/ioblix_zbus.c
--- a/sys/arch/amiga/dev/ioblix_zbus.c Mon Jul 19 20:05:06 2010 +0000
+++ b/sys/arch/amiga/dev/ioblix_zbus.c Tue Jul 20 05:32:46 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ioblix_zbus.c,v 1.15 2010/02/02 19:03:31 phx Exp $ */
+/* $NetBSD: ioblix_zbus.c,v 1.16 2010/07/20 05:32:46 jklos Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ioblix_zbus.c,v 1.15 2010/02/02 19:03:31 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ioblix_zbus.c,v 1.16 2010/07/20 05:32:46 jklos Exp $");
/* IOBlix Zorro driver */
/* XXX to be done: we need to probe the com clock speed! */
@@ -52,6 +52,7 @@
#include <amiga/dev/supio.h>
#include <amiga/dev/zbusvar.h>
+#include "opt_iobzclock.h"
struct iobz_softc {
struct device sc_dev;
@@ -130,7 +131,7 @@
while (iobzd->name) {
supa.supio_name = iobzd->name;
supa.supio_iobase = iobzd->off;
- supa.supio_arg = iobzclock /* XXX iobzd->arg */;
+ supa.supio_arg = iobzd->arg ? iobzclock : 0 /* XXX iobzd->arg */;
config_found(self, &supa, iobzprint); /* XXX */
++iobzd;
}
Home |
Main Index |
Thread Index |
Old Index