Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/lmcctl detelct LMC1200 T1/E1 card. from openbsd



details:   https://anonhg.NetBSD.org/src/rev/fe31704403a1
branches:  trunk
changeset: 512906:fe31704403a1
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jul 19 00:19:42 2001 +0000

description:
detelct LMC1200 T1/E1 card.  from openbsd

diffstat:

 sbin/lmcctl/lmcctl.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 18fb6000ba29 -r fe31704403a1 sbin/lmcctl/lmcctl.c
--- a/sbin/lmcctl/lmcctl.c      Thu Jul 19 00:15:32 2001 +0000
+++ b/sbin/lmcctl/lmcctl.c      Thu Jul 19 00:19:42 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lmcctl.c,v 1.4 2001/04/12 23:52:22 itojun Exp $        */
+/*     $NetBSD: lmcctl.c,v 1.5 2001/07/19 00:19:42 itojun Exp $        */
 
 /*-
  * Copyright (c) 1997-1999 LAN Media Corporation (LMC)
@@ -361,6 +361,11 @@
                print_t1_cable(ctl);
                print_protocol(ctl);
                break;
+       case LMC_CTL_CARDTYPE_LMC1200:
+               printf("%s: Lan Media Corperation LMC1200 (T1)\n", name);
+               print_clocking(ctl);
+               print_protocol(ctl);
+               break;
        default:
                printf("%s: Unknown card type: %d\n", name, ctl->cardtype);
        }



Home | Main Index | Thread Index | Old Index