1 #ifndef __ISDN_SC_SCIOC_H__
 
   2 #define __ISDN_SC_SCIOC_H__
 
   5  * This software may be used and distributed according to the terms
 
   6  * of the GNU General Public License, incorporated herein by reference.
 
  12 #define SCIOCLOAD       0x01    /* Load a firmware record */
 
  13 #define SCIOCRESET      0x02    /* Perform hard reset */
 
  14 #define SCIOCDEBUG      0x03    /* Set debug level */
 
  15 #define SCIOCREV        0x04    /* Get driver revision(s) */
 
  16 #define SCIOCSTART      0x05    /* Start the firmware */
 
  17 #define SCIOCGETSWITCH  0x06    /* Get switch type */
 
  18 #define SCIOCSETSWITCH  0x07    /* Set switch type */
 
  19 #define SCIOCGETSPID    0x08    /* Get channel SPID */
 
  20 #define SCIOCSETSPID    0x09    /* Set channel SPID */
 
  21 #define SCIOCGETDN      0x0A    /* Get channel DN */
 
  22 #define SCIOCSETDN      0x0B    /* Set channel DN */
 
  23 #define SCIOCTRACE      0x0C    /* Toggle trace mode */
 
  24 #define SCIOCSTAT       0x0D    /* Get line status */
 
  25 #define SCIOCGETSPEED   0x0E    /* Set channel speed */
 
  26 #define SCIOCSETSPEED   0x0F    /* Set channel speed */
 
  27 #define SCIOCLOOPTST    0x10    /* Perform loopback test */
 
  32         unsigned long command;
 
  37 #define SCIOC_SPIDSIZE          49
 
  38 #define SCIOC_DNSIZE            SCIOC_SPIDSIZE
 
  39 #define SCIOC_REVSIZE           SCIOC_SPIDSIZE
 
  40 #define SCIOC_SRECSIZE          49
 
  43         unsigned long tx_good;
 
  45         unsigned long rx_good;
 
  54         ChLinkStats link_stats;
 
  57 typedef BRIStat POTStat;
 
  64         ChLinkStats link_stats;
 
  83         unsigned char modelid;
 
  96         ChLinkStats dch_stats;
 
 101                 POTStat potsstats[2];
 
 110 #endif  /*  __ISDN_SC_SCIOC_H__  */