Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/dev Fixed the match logic to only match one u...
details: https://anonhg.NetBSD.org/src/rev/010a8f84f1e2
branches: trunk
changeset: 535334:010a8f84f1e2
user: fredette <fredette%NetBSD.org@localhost>
date: Thu Aug 15 04:22:02 2002 +0000
description:
Fixed the match logic to only match one unit, and only for the
(pseudo)module named "pdc".
diffstat:
sys/arch/hp700/dev/pdc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 510a3a5863e1 -r 010a8f84f1e2 sys/arch/hp700/dev/pdc.c
--- a/sys/arch/hp700/dev/pdc.c Thu Aug 15 03:26:38 2002 +0000
+++ b/sys/arch/hp700/dev/pdc.c Thu Aug 15 04:22:02 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pdc.c,v 1.3 2002/08/11 19:17:45 fredette Exp $ */
+/* $NetBSD: pdc.c,v 1.4 2002/08/15 04:22:02 fredette Exp $ */
/* $OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $ */
@@ -121,7 +121,7 @@
struct confargs *ca = aux;
/* there could be only one */
- if (cf->cf_unit > 0 && !strcmp(ca->ca_name, "pdc"))
+ if (cf->cf_unit > 0 || strcmp(ca->ca_name, "pdc"))
return 0;
return 1;
Home |
Main Index |
Thread Index |
Old Index