Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/lmcctl sync with if_lmcioctl.h change.
details: https://anonhg.NetBSD.org/src/rev/f800b36ab6f4
branches: trunk
changeset: 508538:f800b36ab6f4
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Apr 12 23:52:22 2001 +0000
description:
sync with if_lmcioctl.h change.
From: Bernd Ernesti <netbsd%arresum.inka.de@localhost>
diffstat:
sbin/lmcctl/lmcctl.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (41 lines):
diff -r c1e3408a0406 -r f800b36ab6f4 sbin/lmcctl/lmcctl.c
--- a/sbin/lmcctl/lmcctl.c Thu Apr 12 22:34:31 2001 +0000
+++ b/sbin/lmcctl/lmcctl.c Thu Apr 12 23:52:22 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lmcctl.c,v 1.3 2001/02/04 20:06:51 christos Exp $ */
+/* $NetBSD: lmcctl.c,v 1.4 2001/04/12 23:52:22 itojun Exp $ */
/*-
* Copyright (c) 1997-1999 LAN Media Corporation (LMC)
@@ -213,24 +213,24 @@
if (flag_c)
ctl.clock_source = wanted.clock_source;
if (flag_l) {
- lmc_av9110_freq(wanted.clock_rate, &wanted.cardspec.t1);
- if (wanted.cardspec.t1.f == 0) {
+ lmc_av9110_freq(wanted.clock_rate, &wanted.cardspec.ssi);
+ if (wanted.cardspec.ssi.f == 0) {
printf("Unable to calculate requested rate.\n");
exit(1);
}
- if (wanted.cardspec.t1.exact == 0)
+ if (wanted.cardspec.ssi.exact == 0)
printf("Unable to calculate exact frequency,"
" using approximation %u\n",
- wanted.cardspec.t1.f);
+ wanted.cardspec.ssi.f);
ctl.clock_rate = wanted.clock_rate;
- ctl.cardspec.t1 = wanted.cardspec.t1;
- printf("rate: %u\n", ctl.cardspec.t1.f);
+ ctl.cardspec.ssi = wanted.cardspec.ssi;
+ printf("rate: %u\n", ctl.cardspec.ssi.f);
#if 0
{
u_int32_t f;
lmc_av9110_t *av;
- av = &wanted.cardspec.t1;
+ av = &wanted.cardspec.ssi;
printf("m == %u, v == %u, n == %u, r == %u, x == %u\n",
av->m, av->v, av->n, av->r, av->x);
Home |
Main Index |
Thread Index |
Old Index