root/drivers/char/scc_config.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #include <linux/scc.h>
   2 
   3 /********* CONFIGURATION PARAMATERES; PLEASE CHANGE THIS TO YOUR OWN SITUATION **********/
   4 
   5 /* SCC hardware parameters */
   6 
   7 /* use the following board types: 
   8  *
   9  *      PA0HZP          OptoSCC (PA0HZP)
  10  *      EAGLE           EAGLE
  11  *      PC100           PC100 
  12  *      PRIMUS          PRIMUS-PC (DG9BL)
  13  *      DRSI            DRSI PC*Packet
  14  *      BAYCOM          BayCom (U)SCC
  15  *      
  16  */
  17 
  18 int     Nchips       = 2        ; /* number of chips */
  19 io_port Vector_Latch = 0        ; /* addr. of INTACK-Latch (0 for poll mode) */
  20 int     Ivec         = 7        ; /* interrupt vector */
  21 long    Clock        = 4915200  ; /* frequency of the scc clock */
  22 char    Board        = BAYCOM   ; /* what type of SCC card do you use? */
  23 int     Option       = 0        ; /* command for extra hardware */
  24 io_port Special_Port = 0        ; /* port address for special hardware */
  25                                   /* (for EAGLE, PC100, PRIMUS, DRSI) */
  26 
  27                         /*      ^  never remove the semicolon !! */
  28                         
  29 
  30 
  31 /*                      Channel    A      B         Chip        */
  32 /*                               ============     ========      */
  33 /* Control ports:                                               */
  34 
  35 io_port SCC_ctrl[MAXSCC * 2] =  {0x304, 0x305,  /* ...one...    */
  36                                  0x306, 0x307,  /* ...two...    */
  37                                      0,     0,  /* ...three...  */
  38                                      0,     0}; /* ...four...   */
  39 
  40 /* Data ports:                                                  */
  41 
  42 io_port SCC_data[MAXSCC * 2] =  {0x300, 0x301,  /* ...one...    */
  43                                  0x302, 0x303,  /* ...two...    */
  44                                      0,     0,  /* ...three...  */
  45                                      0,     0}; /* ...four...   */
  46 
  47 
  48 /* set to '1' if you have and want ESCC chip (8580/85180/85280) support */
  49 
  50 /*                                            Chip      */
  51 /*                                          ========    */
  52 int SCC_Enhanced[MAXSCC] =      {0,     /* ...one...    */
  53                                  0,     /* ...two...    */
  54                                  0,     /* ...three...  */
  55                                  0};    /* ...four...   */
  56 
  57 /* some useful #defines. You might need them or not */
  58 
  59 #define VERBOSE_BOOTMSG 1
  60 #undef  SCC_DELAY               /* perhaps a 486DX2 is a *bit* too fast */
  61 #undef  SCC_LDELAY              /* slow it even a bit more down */
  62 #undef  DONT_CHECK              /* don't look if the SCCs you specified are available */
  63 #define DO_FAST_RX              /* experimental timer routine called immediateley */
  64                                 /* after every received frame */
  65 
  66 
  67 /* The external clocking, nrz and fullduplex divider configuration is gone */
  68 /* you can set these parameters in /etc/z8530drv.rc and initialize the  */
  69 /* driver with sccinit */

/* [previous][next][first][last][top][bottom][index][help] */