Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isapnp more namespace sanity: ISACF_*_DEFAULT consta...
details: https://anonhg.NetBSD.org/src/rev/71497fead22c
branches: trunk
changeset: 569727:71497fead22c
user: drochner <drochner%NetBSD.org@localhost>
date: Wed Sep 01 21:26:29 2004 +0000
description:
more namespace sanity: ISACF_*_DEFAULT constants are for ISA
frontends, not for general use
diffstat:
sys/dev/isapnp/i82365_isapnp.c | 6 +++---
sys/dev/isapnp/if_cs_isapnp.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 08720960bd6b -r 71497fead22c sys/dev/isapnp/i82365_isapnp.c
--- a/sys/dev/isapnp/i82365_isapnp.c Wed Sep 01 21:13:44 2004 +0000
+++ b/sys/dev/isapnp/i82365_isapnp.c Wed Sep 01 21:26:29 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i82365_isapnp.c,v 1.16 2004/08/11 00:20:36 mycroft Exp $ */
+/* $NetBSD: i82365_isapnp.c,v 1.17 2004/09/01 21:26:29 drochner Exp $ */
/*
* Copyright (c) 1998 Bill Sommerfeld. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i82365_isapnp.c,v 1.16 2004/08/11 00:20:36 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i82365_isapnp.c,v 1.17 2004/09/01 21:26:29 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -179,7 +179,7 @@
if (ipa->ipa_nirq > 0)
sc->irq = ipa->ipa_irq[0].num;
else
- sc->irq = ISACF_IRQ_DEFAULT;
+ sc->irq = -1;
printf("\n");
diff -r 08720960bd6b -r 71497fead22c sys/dev/isapnp/if_cs_isapnp.c
--- a/sys/dev/isapnp/if_cs_isapnp.c Wed Sep 01 21:13:44 2004 +0000
+++ b/sys/dev/isapnp/if_cs_isapnp.c Wed Sep 01 21:26:29 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cs_isapnp.c,v 1.5 2002/10/02 16:34:00 thorpej Exp $ */
+/* $NetBSD: if_cs_isapnp.c,v 1.6 2004/09/01 21:26:29 drochner Exp $ */
/*-
* Copyright (c)2001 YAMAMOTO Takashi,
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cs_isapnp.c,v 1.5 2002/10/02 16:34:00 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cs_isapnp.c,v 1.6 2004/09/01 21:26:29 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -116,7 +116,7 @@
ipa->ipa_nio, ipa->ipa_nmem, ipa->ipa_nmem32, ipa->ipa_ndrq, ipa->ipa_nirq);
#endif
isc->sc_ic = ipa->ipa_ic;
- isc->sc_drq = ISACF_DRQ_DEFAULT;
+ isc->sc_drq = -1;
#endif
sc->sc_iot = ipa->ipa_iot;
sc->sc_ioh = ipa->ipa_io[0].h;
Home |
Main Index |
Thread Index |
Old Index