home *** CD-ROM | disk | FTP | other *** search
- --------------------------------------------------------------
- "cnet.device" An Experimental Amiga PCMCIA Network Card Driver
- --------------------------------------------------------------
- V0.4 By Bruce Abbott (bhabbott@inhb.co.nz)
-
-
- Introduction:
-
- Many A1200 owners have been asking the question "will a PC-CARD work
- on my Amiga?". The usual reply to this is "No, because there are no
- drivers for the Amiga". It has also been suggested that the A1200
- PCMCIA port is incompatible with the PC-CARD standard.
-
- With PC-CARD Modems and Ethernet cards being so cheap, it was only a
- matter of time before "Only the Amiga makes it possible". Thus I now
- present "cnet.device", an Amiga driver for the CNet CN40BC and Accton
- EN2216 PC-CARD ethernet adapters!
-
-
- Requirements:
-
- - A CNet CN40BC or Accton EN2216 PCMCIA Ethernet card
- (May also work with other 'NE2000 compatible' PCMCIA cards)
-
- - An Amiga 1200 or Amiga 600
-
- - Network software. Tested with AmiTCP 3.0b, Miami 2.0g and Envoy 2.0
-
- - A network :^)
-
- Usage:
-
- Simply copy the file "cnet.device" to where you want it (usually
- "DEVS:networks/") and set up your network software for an ethernet
- driver. For AmiTCP 3.0 this would involve editing the "interfaces"
- file and adding a line like "cnet dev = devs:networks/cnet.device".
- Then you would start it up with "ifconfig cnet0 192.168.0.1".
-
-
- Performance:
-
- My network consists of an A1200 030/40MHz conected via co-ax cable
- to a 486DX-33 running Windoze 95. Software on the Amiga is AmiTCP3.0b
- and ch_NFS, and the pecee is using MSTCP/IP and SOSNT. This gives me
- access to the peecee drives on the Workbench. With this setup file
- transfer speeds reach about 200KBytes/Sec.
-
-
- Getting the Hardware:
-
- The driver currently works with the CNet CN40BC and the ACCTON EN2216.
- If you want one of these cards, but can't get it from a peecee dealer,
- I have a limited quantity of them for sale at $130 (US) INCLUDING
- POSTAGE. Buyers will also receive the latest version of cnet.device,
- customised for each card to ensure more reliable operation.
-
- Payment can be made by credit card (Visa/Mastercard/Banckcard/Amix/Diners)
- or cash in US banknotes.
-
- My address is: B.H.Abbott
- 604 Buller street
- Hastings 4201
- New Zealand
-
-
-
- Bugs and Limitations:
-
- As I am a lazy programmer, some SANA-II functions are not working in
- this version. If it does not work on your protocol stack then this
- is probably the reason.
-
- Do not try to run multiple protocol stacks on this driver, as the
- device can only operate with a single opener.
-
- The only way to close the device is to re-boot! (even if it didn't
- open properly).
-
- The device does not handle "hot swapping" cards. However you can pull
- out and re-insert the card if you wish, just remember to reboot after-
- wards. New for V0.4 - You can safely remove the card, which will cause
- the device to go Offline. However it will _not_ go back online when
- re-inserted!
-
- Error checking is not very robust, and has not been thoroughly checked,
- so don't be surprised if the driver locks up or stops working on a
- very busy or noisy network. New for V0.4 - Now much less likely to
- stop working during heavy usage. I found a hole in the interrupt code
- which was allowing the Gayle chip to ignore PCMCIA interrupts.
-
- On my A1200, the card sometimes refuses to initialise properly on power
- up. Simply unplugging and re-inserting it usually clears this error. I
- suspect that this may be caused by slow power supply startup, although
- there is the possibility that software may be involved. (When properly
- initialised, the card runs perfectly, and has often been online for
- several days at a time.)
-
-
- History:
-
- V0.1 First Aminet Release
-
- - It worked, just.
-
-
- V0.4 Second Aminet Release
-
- - Added several SANAII commands for compatibility with Miami.
-
- - Enabled interrupts during RemoteWrite. Should no longer cause
- serial port overruns.
-
- - Improved error checking in case of card initialisation failure.
- Now doesn't GURU if device is opened twice! Also tested it with
- Enforcer, which did not detect any illegal memory accesses.
-
- - Relaxed hardware address verification to accept the Accton EN2216.
- Now it might possibly work with other 'NE2000 compatible' cards.
-
- - Unrolled loops to improve data transfer speed. Now about 20% faster
- on an unexpanded A600. Code size got bigger as a result :(
-
- - Hack to fix problem with missed interrupts. Now the device clears
- the Gayle interrupt bits instead of letting card.resource do it.
-
-
-
- Future:
-
- Full SANA-II support, more drivers for other Network cards, MODEM
- and SCSI card drivers, etc. if I have the time and the inclination.
-
-
- Legal Mush:
-
- To encourage further development in PC-CARD devices for the Amiga, I am
- placing the source code for this project into the Public Domain. You
- can freely use or abuse it as you wish. I have also included some other
- authors' code for reference purposes, please respect their copyrights.
-
- Please note that this driver is not a finished product, and is almost
- certain to harbour a few bugs. Thus I will not be held responsible for
- any loss or injury that you may incur while using it.
-
- I cannot guarantee compatibility with your system. All I can say is it
- works for me.
-
-