Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa -fix script botch from CFATTACH_DECL introduction
details: https://anonhg.NetBSD.org/src/rev/e28ae559ff8f
branches: trunk
changeset: 538560:e28ae559ff8f
user: drochner <drochner%NetBSD.org@localhost>
date: Tue Oct 22 16:18:26 2002 +0000
description:
-fix script botch from CFATTACH_DECL introduction
-while here, spotted probe error: we shouldn't try other locations if the
base address is nailed down per locator
diffstat:
sys/dev/isa/nsclpcsio_isa.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 9ae4eea298d4 -r e28ae559ff8f sys/dev/isa/nsclpcsio_isa.c
--- a/sys/dev/isa/nsclpcsio_isa.c Tue Oct 22 16:14:04 2002 +0000
+++ b/sys/dev/isa/nsclpcsio_isa.c Tue Oct 22 16:18:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nsclpcsio_isa.c,v 1.4 2002/10/02 03:10:49 thorpej Exp $ */
+/* $NetBSD: nsclpcsio_isa.c,v 1.5 2002/10/22 16:18:26 drochner Exp $ */
/*
* Copyright (c) 2002
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nsclpcsio_isa.c,v 1.4 2002/10/02 03:10:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nsclpcsio_isa.c,v 1.5 2002/10/22 16:18:26 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -52,9 +52,8 @@
struct sysmon_envsys sc_sysmon;
};
-CFATTACH_DECL(nsclpcsio_isa, sizeof(struct nsclpcsio_isa_softc),
+CFATTACH_DECL(nsclpcsio_isa, sizeof(struct nsclpcsio_softc),
nsclpcsio_isa_match, nsclpcsio_isa_attach, NULL, NULL);
-};
static const struct envsys_range tms_ranges[] = {
{ 0, 2, ENVSYS_STEMP },
@@ -128,6 +127,7 @@
iobase = ia->ia_io[0].ir_addr;
goto found;
}
+ return (0);
}
/* PC87366 has two possible locations depending on wiring */
Home |
Main Index |
Thread Index |
Old Index