home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 December / MICD_2000_12_NR1.iso / Dreamnet / drivery / SMC / ETHER.EXE / BANYAN / SERVER / SMC8000.DDL < prev    next >
Text File  |  1996-02-16  |  2KB  |  95 lines

  1. /*
  2.  * SMC8416 data definition
  3.  */
  4.  
  5. #include "cfgstrgs.h"
  6.  
  7. Data_Definition IFN_8416_SMC {
  8.  
  9.     /* ------------------- */
  10.     /* REQUIRED Attributes */
  11.     /* ------------------- */
  12.  
  13.     DRIVER_REQUIREMENTS("smc8000","smc8000Prb",IFN_8416_SMC)
  14.  
  15.     /* -------------------------- */
  16.     /* DEVICE SPECIFIC Attributes */
  17.     /* -------------------------- */
  18.  
  19.     Attribute P_MEDIATYPE {
  20.         Type Decimal Length 1;
  21.         Mode ReadOnly;
  22.         Default CFG_MEDIA_ETHER;
  23.     }
  24.  
  25.     Attribute P_IOADDRESS {
  26.         Prompt "I/O Address (200 - 380 by 20 hex) : " ;
  27.         Type Hex Length 0x20;
  28.         Mode ReadWrite ;
  29.         Restrict {
  30.             value >= 0x200 ;
  31.             value <= 0x380 ;
  32.             value % 0x20 == 0 ;
  33.         } : "I/O Address must be 200 to 380 by 20 hex ";
  34.         Default 0x340 ;
  35.     }
  36.  
  37.     Attribute P_RAMADDRESS {
  38.         Prompt "RAM Address (0xC0000 to 0xEC000 by 0x2000 hex) : " ;
  39.         Type Hex Length 0x2000;
  40.         Mode ReadWrite ;
  41.         Restrict {
  42.             value >= 0xC0000 ;
  43.             value <= 0xEC000 ;
  44.             value % 0x2000 == 0 ;
  45.         } : "RAM Address must be 0xC0000 to 0xEC000 by 0x2000 hex" ;
  46.         Default 0xC8000 ;
  47.     }
  48.  
  49.     
  50.     Attribute P_ROMADDRESS {
  51.         Prompt "ROM Address (0xC0000 to 0xEE000 by 0x2000 hex) : " ;
  52.         Type Hex Length 0x2000;
  53.         Mode ReadWrite ;
  54.         Restrict {
  55.             value >= 0xC0000 ;
  56.             value <= 0xEE000 ;
  57.             value % 0x2000 == 0 ;  
  58.         } : "ROM Address must be 0xC0000 to 0xEE000 by 0x2000 hex" ;
  59.         Default 0xC0000 ;
  60.     }
  61.  
  62.     Attribute P_INTCHANNEL {
  63.         Prompt "Int Level (2,3,5,7,10,11,15) : " ;
  64.         Type Decimal Length 1 ;
  65.         Mode ReadWrite ;
  66.         Restrict {
  67.             ( value == 2 ) || 
  68.             ( value == 3 ) || 
  69.             ( value == 5 ) || 
  70.             ( value == 7 ) || 
  71.             ( value == 10 ) || 
  72.             ( value == 11 ) || 
  73.             ( value == 15 ) ; 
  74.         } : "Interrupt Channel Must be 2,3,5,7,10,11,15" ;
  75.         Default 15;
  76.     }
  77.  
  78.     Attribute P_BUS {
  79.         Type Decimal Length 1; 
  80.         Mode ReadOnly; 
  81.         Default 0; 
  82.     }  
  83.  
  84.     Attribute P_DOWNLOAD {
  85.         Type Decimal Length 1;
  86.         Mode ReadOnly;
  87.         Default 0;              
  88.     }
  89. }
  90.  
  91.  
  92.  
  93.  
  94.  
  95.