home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / tools / misc / cnetdevice / readme < prev    next >
Encoding:
Text File  |  1997-03-04  |  5.3 KB  |  148 lines

  1.        --------------------------------------------------------------
  2.        "cnet.device" An Experimental Amiga PCMCIA Network Card Driver
  3.        --------------------------------------------------------------
  4.                 V0.4 By Bruce Abbott (bhabbott@inhb.co.nz)
  5.  
  6.  
  7. Introduction:
  8.  
  9.   Many A1200 owners have been asking the question "will a PC-CARD work
  10.   on my Amiga?". The usual reply to this is "No, because there are no
  11.   drivers for the Amiga". It has also been suggested that the A1200
  12.   PCMCIA port is incompatible with the PC-CARD standard.
  13.  
  14.   With PC-CARD Modems and Ethernet cards being so cheap, it was only a
  15.   matter of time before "Only the Amiga makes it possible". Thus I now
  16.   present "cnet.device", an Amiga driver for the CNet CN40BC and Accton
  17.   EN2216 PC-CARD ethernet adapters!
  18.  
  19.  
  20. Requirements:
  21.  
  22.   - A CNet CN40BC or Accton EN2216 PCMCIA Ethernet card
  23.     (May also work with other 'NE2000 compatible' PCMCIA cards)
  24.  
  25.   - An Amiga 1200 or Amiga 600
  26.  
  27.   - Network software. Tested with AmiTCP 3.0b, Miami 2.0g and Envoy 2.0
  28.  
  29.   - A network :^)
  30.  
  31. Usage:
  32.  
  33.   Simply copy the file "cnet.device" to where you want it (usually
  34.   "DEVS:networks/") and set up your network software for an ethernet
  35.   driver. For AmiTCP 3.0 this would involve editing the "interfaces"
  36.   file and adding a line like "cnet dev = devs:networks/cnet.device".
  37.   Then you would start it up with "ifconfig cnet0 192.168.0.1".
  38.  
  39.  
  40. Performance:
  41.  
  42.   My network consists of an A1200 030/40MHz conected via co-ax cable
  43.   to a 486DX-33 running Windoze 95. Software on the Amiga is AmiTCP3.0b
  44.   and ch_NFS, and the pecee is using MSTCP/IP and SOSNT. This gives me
  45.   access to the peecee drives on the Workbench. With this setup file
  46.   transfer speeds reach about 200KBytes/Sec.
  47.  
  48.  
  49. Getting the Hardware:
  50.  
  51.   The driver currently works with the CNet CN40BC and the ACCTON EN2216.
  52.   If you  want one of these cards, but can't get it from a peecee dealer,
  53.   I have a limited quantity of them for sale at $130 (US) INCLUDING
  54.   POSTAGE. Buyers will also receive the latest version of cnet.device,
  55.   customised for each card to ensure more reliable operation.
  56.  
  57.   Payment can be made by credit card (Visa/Mastercard/Banckcard/Amix/Diners)
  58.   or cash in US banknotes.
  59.  
  60.   My address is:    B.H.Abbott
  61.                     604 Buller street
  62.                     Hastings 4201
  63.                     New Zealand
  64.  
  65.  
  66.  
  67. Bugs and Limitations:
  68.  
  69.   As I am a lazy programmer, some SANA-II functions are not working in
  70.   this version. If it does not work on your protocol stack then this
  71.   is probably the reason.
  72.  
  73.   Do not try to run multiple protocol stacks on this driver, as the
  74.   device can only operate with a single opener.
  75.  
  76.   The only way to close the device is to re-boot! (even if it didn't
  77.   open properly).
  78.  
  79.   The device does not handle "hot swapping" cards. However you can pull
  80.   out and re-insert the card if you wish, just remember to reboot after-
  81.   wards. New for V0.4 - You can safely remove the card, which will cause
  82.   the device to go Offline. However it will _not_ go back online when
  83.   re-inserted!
  84.  
  85.   Error checking is not very robust, and has not been thoroughly checked,
  86.   so don't be surprised if the driver locks up or stops working on a
  87.   very busy or noisy network. New for V0.4 - Now much less likely to
  88.   stop working during heavy usage. I found a hole in the interrupt code
  89.   which was allowing the Gayle chip to ignore PCMCIA interrupts.
  90.  
  91.   On my A1200, the card sometimes refuses to initialise properly on power
  92.   up. Simply unplugging and re-inserting it usually clears this error. I
  93.   suspect that this may be caused by slow power supply startup, although
  94.   there is the possibility that software may be involved. (When properly
  95.   initialised, the card runs perfectly, and has often been online for
  96.   several days at a time.)
  97.  
  98.  
  99. History:
  100.  
  101.    V0.1 First Aminet Release
  102.  
  103.    - It worked, just.
  104.  
  105.  
  106.    V0.4 Second Aminet Release
  107.  
  108.    - Added several SANAII commands for compatibility with Miami.
  109.  
  110.    - Enabled interrupts during RemoteWrite. Should no longer cause
  111.      serial port overruns.
  112.  
  113.    - Improved error checking in case of card initialisation failure.
  114.      Now doesn't GURU if device is opened twice! Also tested it with
  115.      Enforcer, which did not detect any illegal memory accesses.
  116.  
  117.    - Relaxed hardware address verification to accept the Accton EN2216.
  118.      Now it might possibly work with other 'NE2000 compatible' cards.
  119.  
  120.    - Unrolled loops to improve data transfer speed. Now about 20% faster
  121.      on an unexpanded A600. Code size got bigger as a result :(
  122.  
  123.    - Hack to fix problem with missed interrupts. Now the device clears
  124.      the Gayle interrupt bits instead of letting card.resource do it.
  125.  
  126.  
  127.  
  128. Future:
  129.  
  130.   Full SANA-II support, more drivers for other Network cards, MODEM
  131.   and SCSI card drivers, etc. if I have the time and the inclination.
  132.  
  133.  
  134. Legal Mush:
  135.  
  136.   To encourage further development in PC-CARD devices for the Amiga, I am
  137.   placing the source code for this project into the Public Domain. You
  138.   can freely use or abuse it as you wish. I have also included some other
  139.   authors' code for reference purposes, please respect their copyrights.
  140.  
  141.   Please note that this driver is not a finished product, and is almost
  142.   certain to harbour a few bugs. Thus I will not be held responsible for
  143.   any loss or injury that you may incur while using it.
  144.  
  145.   I cannot guarantee compatibility with your system. All I can say is it
  146.   works for me.
  147.  
  148.