1: /*
   2:  * Copyright (c) 1986 MICOM-Interlan, Inc., Boxborough Mass.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)npcmd.h	6.1 (Berkeley) 2/20/86
   7:  *  @(#)NP Series Drivers npcmd.h	1.1
   8:  *
   9:  * Delta Created 9/19/85			Date Extracted 9/20/85
  10:  * File name ../../sccs/h/s.npcmd.h
  11:  */
  12: 
  13: /* Note that the NPUNIT macro must match that defined in "npreg.h" */
  14: 
  15: #define NPUNIT(a)   ((minor(a) >> 4) & 0x0F)
  16: 
  17: #define NPRESET     0x01        /* reset the board */
  18: #define NPSTART     0x04        /* start board execution */
  19: #define NPGPANIC    0x05        /* Get panic message */
  20: #define NPINIT      0x06        /* initialize software on board */
  21: #define NPSTATS     0x07
  22: #define NPRCSR0     0x08        /* read CSR0 */
  23: #define NPRCSR1     0x09        /* read CSR1 */
  24: #define NPRCSR2     0x0a        /* read CSR2 */
  25: #define NPRCSR3     0x0b        /* read CSR3 */
  26: #define NPWCSR0     0x0c        /* write CSR0 */
  27: #define NPWCSR1     0x0d        /* write CSR1 */
  28: #define NPWCSR2     0x0e        /* write CSR2 */
  29: #define NPWCSR3     0x0f        /* write CSR3 */
  30: #define NPPOLL      0x10
  31: #define NPKILL      0x11
  32: #define NPSETPROT   0x12        /* set the protocol to use */
  33: #define NPSETBOARD  0x13        /* set board to use */
  34: #define NPSETNPDEB  0x14        /* set nc debuging level */
  35: #define NPSETADDR   0x15        /* set host address */
  36: #define NPNETBOOT   0x16        /* boot from the network */
  37: 
  38: /* ICP Board Requests */
  39: 
  40: #define ICPLOAD  0x02
  41: #define ICPDUMP  0x03
  42: #define ICPPANIC 0x05
  43: #define ICPPOLL  0x10

Defined macros

ICPDUMP defined in line 41; never used
ICPLOAD defined in line 40; never used
ICPPANIC defined in line 42; never used
ICPPOLL defined in line 43; never used
NPGPANIC defined in line 19; never used
NPINIT defined in line 20; never used
NPKILL defined in line 31; never used
NPNETBOOT defined in line 36; never used
NPPOLL defined in line 30; never used
NPRCSR0 defined in line 22; never used
NPRCSR1 defined in line 23; never used
NPRCSR2 defined in line 24; never used
NPRCSR3 defined in line 25; never used
NPRESET defined in line 17; used 1 times
NPSETADDR defined in line 35; never used
NPSETBOARD defined in line 33; never used
NPSETNPDEB defined in line 34; never used
NPSETPROT defined in line 32; never used
NPSTART defined in line 18; used 1 times
NPSTATS defined in line 21; never used
NPUNIT defined in line 15; never used
NPWCSR0 defined in line 26; never used
NPWCSR1 defined in line 27; never used
NPWCSR2 defined in line 28; never used
NPWCSR3 defined in line 29; never used

Usage of this include

Last modified: 1986-02-20
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1027
Valid CSS Valid XHTML 1.0 Strict