This is a driver for the SST brand 5136-DN-PC PCMCIA to DeviceNet interface. It also works on true compatibles of this card. A driver for the ISA version of the card, as well as a suite of applications and example code for writing applications that talk to the card can be found at ftp://sunsite.unc.edu/pub/linux/hardware/drivers/ss5136dn-1.2.tar.gz. A complete online manual for the driver and applications can be found at http://www.gnofn.org/~marksu/dn5136man.html. Full manuals in HTML and txt format will also unpack under the "doc" directory of the PCMCIA distribution. This driver is covered under the GNU Library General Public License. See http://www.gnu.org/copyleft/lgpl.html for more information. The author is: Mark Sutton c/o The Laitram Corporation 220 Laitram Lane Harahan, LA 70123. email: mark.sutton@laitram.com The software and this README file: Copyright (c) 1998,1999, The Laitram Corporation. -------------------------------------------------------------------- Steps to install the driver: * Create a device file as follows: o As root, cd to /dev. o If you are running a 2.0.X or 2.1.X series kernel, type "mknod ss5136dn0 c 120 0" o If you are running a 2.2.X series kernel, type "mknod ss5136dn0 c 144 0" (Note that "144" is the officially assigned major number for this device, but the 2.0 series kernels do not allow a major number greater than 128, so on those kernels, we use an "experimental" major number.) o If you are using a 2.0.X series kernel, and you already have a device with major number "120", use another number and edit ss5136dn_cs.h accordingly before re-making the PCMCIA package. You will find this file in the "modules" directory after you unpack the PCMCIA driver package. o While still in directory "/dev" type: "ln -s ss5136dn0 ss5136dn". * There are a few other constants in the ss5136_cs.h file that you might want to edit. See below. * Connect to the root directory of the PCMCIA source tree. On recent RedHat distributions, this directory is "/usr/src/linux/pcmica-cs-". On older RedHat distributions, and some other popular distributions, it will be in "/usr/src/pcmica-cs-". Consult the docs for your distribution if you have trouble finding it. * Unpack the file "ss5136dn_cs-.tar.gz on top of the PCMCIA source tree. This file can be found in the directory "pcmcia" under the ss5136dn driver distribution and (hopefully soon) at ftp://csb.stanford.edu/pub/pcmcia/contrib * Type "make config". Answer the questions it asks. Refer to The Linux PCMCIA HOWTO document for assistance. In most cases, you can just accept all of the defaults. * Type "make all" then "make install". * Edit the file "/etc/pcmcia/config" as follows: In the "device driver definitions" section, add the following block: device "ss5136dn_cs" module "ss5136dn_cs" In the "miscellaneous card definitions" section add: card "SST 5136-DN-PCM Devicenet Interface" manfid 0x01a1, 0x0010 bind "ss5136dn_cs" * Type "cardctl eject" and remove all your PCMCIA cards. (Optional, but recommended.) * Type "killall -HUP cardmgr". * Reinsert your PCMCIA cards one by one, include the 5136 card. * If the install was successful, when you insert the 5136 card, your computer should make a high pitched beep and the top LED on the card's external box should briefly flash red and then turn green. There are a few items near the top of the file ss5136dn_cs.h (which will unpack in the "modules" directory under the PCMCIA distribution) that you may wish to edit prior to compilation. On the majority of systems, these will be fine the way they are. * "#define SS5136DN_MAJOR 120". You may change the major number if 120 is already in use on your system. Make sure the number you give in the "mknod" command and the value in "ss5136dn_cs.h" match. * "#define SS5136DN_PORTBASE 0x250" This defines the port address to use. * "define SS5136DN_MEMBASE 0xd000" Use this to define where in memory you want the card to map in. Make sure this value doesn't conflict with a memory block used by another device.