home *** CD-ROM | disk | FTP | other *** search
/ ftp.ib.com / 2003-04-09_ftp.ibm.com-os2.zip / os2ddpak_cur / pccardbr.exe / IBM_ETHR.SCR < prev    next >
Text File  |  1996-08-01  |  1KB  |  40 lines

  1. ; IBM Ethernet Card
  2.  
  3. ;* hlp.cardid = Card ID got from Version/Product Information
  4. ;* val.port1 = 0x300
  5. ;* hlp.port1 = I/O Port Base Address 1
  6. ;* val.port2 = 0
  7. ;* hlp.port2 = I/O Port Base Address 2 (Not required)
  8. ;* val.irq = 3,4,5,6,7,9,10,11,15
  9. ;* hlp.irq = Interrupt (IRQ) Level
  10. ;* val.window1 = 0xC0000,0xC4000,0xC8000,0xCC000,0xD0000,0xD4000,0xD8000,0xDC000
  11. ;* hlp.window1 = Shared RAM (SRAM) Address
  12. ;* val.size1 = 0x4000
  13. ;* hlp.size1 = Size of Shared RAM (SRAM) (16KB)
  14. ;* val.offset1 = 0x4000
  15. ;* hlp.offset1 = Card Offset for Shared RAM (SRAM) Area. It must be 0x4000.
  16.  
  17. CardID         =Ethernet
  18. FunctionID     =0xFF
  19. ManufacturerID =0x00A4
  20. IgnoreCardID   =
  21. EnableSequence =ReqIO(0x300,0x20,0,0,0,0,0x10)
  22.                 ReqIRQ(0,5)
  23.                 ReqConfig(0xFF,0xFF,0xFF,0x20,0,0,0x40)
  24.                 ReqWindow(1,0x000E,0xCC000,0x4000,0x04)
  25.                 MapMemPage(1,0x20000)
  26.                 Read(0xCC000,#1)
  27.                 Move(#2,0x80)
  28.                 Or(#1,#2)
  29.                 Write(0xCC000,#1)
  30.                 Move(#1,0x41)
  31.                 Write(0xCC000,#1)
  32.                 MapMemPage(1,0)
  33.                 IBM_Ethernet1
  34.                 RelWindow(1)
  35.                 ReqWindow(1,0x000C,0xCC000,0x4000,0x04)
  36.                 MapMemPage(1,0x4000)
  37.                 IBM_Ethernet2
  38.                 End
  39. DisableSequence=End
  40.