Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic swap lm_match() and wb_match(), as wb_match() is ...
details: https://anonhg.NetBSD.org/src/rev/5943fa5208d8
branches: trunk
changeset: 495521:5943fa5208d8
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Jul 30 17:22:26 2000 +0000
description:
swap lm_match() and wb_match(), as wb_match() is more restrictive.
Otherwise a winbond can be mis-probed as a lm if it has the rigth device ID.
Problem reported by Bernd Ernesti.
diffstat:
sys/dev/ic/nslm7x.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r e865fddfba49 -r 5943fa5208d8 sys/dev/ic/nslm7x.c
--- a/sys/dev/ic/nslm7x.c Sun Jul 30 16:39:18 2000 +0000
+++ b/sys/dev/ic/nslm7x.c Sun Jul 30 17:22:26 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nslm7x.c,v 1.5 2000/07/27 21:49:22 bouyer Exp $ */
+/* $NetBSD: nslm7x.c,v 1.6 2000/07/30 17:22:26 bouyer Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -100,8 +100,8 @@
};
struct lm_chip lm_chips[] = {
+ { wb_match},
{ lm_match},
- { wb_match},
{ def_match} /* Must be last */
};
Home |
Main Index |
Thread Index |
Old Index