Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic fixed mistake.
details: https://anonhg.NetBSD.org/src/rev/999c0f48dac0
branches: trunk
changeset: 509901:999c0f48dac0
user: ichiro <ichiro%NetBSD.org@localhost>
date: Tue May 15 11:45:50 2001 +0000
description:
fixed mistake.
major version and minor version were made reverse.
diffstat:
sys/dev/ic/wi.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r bd1d0aca7e99 -r 999c0f48dac0 sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c Tue May 15 11:19:45 2001 +0000
+++ b/sys/dev/ic/wi.c Tue May 15 11:45:50 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wi.c,v 1.7 2001/05/15 09:06:15 ichiro Exp $ */
+/* $NetBSD: wi.c,v 1.8 2001/05/15 11:45:50 ichiro Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1714,10 +1714,10 @@
ver.wi_type = WI_RID_IDENT;
ver.wi_len = 5;
wi_read_record(sc, (struct wi_ltv_gen *)&ver);
- printf(" ,Firmware Ver: %i.%i.%i \n", ver.wi_ver[1],
- ver.wi_ver[2], ver.wi_ver[3]);
- sc->sc_prism2_ver = ver.wi_ver[1] * 100 +
- ver.wi_ver[2] * 10 + ver.wi_ver[3];
+ printf(" ,Firmware Ver: %i.%i.%i \n", ver.wi_ver[3],
+ ver.wi_ver[2], ver.wi_ver[1]);
+ sc->sc_prism2_ver = ver.wi_ver[3] * 100 +
+ ver.wi_ver[2] * 10 + ver.wi_ver[1];
}
return;
Home |
Main Index |
Thread Index |
Old Index