You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(164) |
Oct
(104) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(17) |
Jun
|
Jul
(11) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
(8) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
(1) |
Nov
|
Dec
(6) |
2005 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
(13) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(2) |
Nov
(6) |
Dec
|
2007 |
Jan
|
Feb
(3) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(6) |
Aug
(36) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
(23) |
2008 |
Jan
(33) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(13) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(32) |
Sep
|
Oct
|
Nov
(14) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(13) |
2011 |
Jan
(16) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: chas w. <ch...@us...> - 2003-05-01 13:23:22
|
Update of /cvsroot/linux-atm/linux-atm In directory sc8-pr-cvs1:/tmp/cvs-serv19559 Modified Files: Tag: V2_5_0 ChangeLog NEWS Log Message: import vsprintf changes from 2.4.1 Index: ChangeLog =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/ChangeLog,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** ChangeLog 15 Oct 2001 23:19:42 -0000 1.2.2.1 --- ChangeLog 1 May 2003 13:23:17 -0000 1.2.2.2 *************** *** 1,2 **** --- 1,11 ---- + Version 2.4.0 to 2.4.1 (25-APR-2003) + ===================== + + Bug fixes + --------- + + - vsprintf's changed to vsnprintf's to prevent possible stack overflows + + Version 0.79 to 2.4.0 (18-OCT-2001) ===================== *************** *** 7,16 **** - defined 'now' in src/lib/timer.c - ia64 build fix for ASN (Chas Williams) - - New features - ------------ - - - the driver for the Marconi ForeRunnerHE is in src/extra/drivers (Chas - Williams, Eric Kinzie) Other changes --- 16,19 ---- Index: NEWS =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/NEWS,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** NEWS 9 Oct 2001 22:33:01 -0000 1.2 --- NEWS 1 May 2003 13:23:18 -0000 1.2.2.1 *************** *** 1,2 **** --- 1,3 ---- + April 30, 2003 Version 2.4.1 is released. October 18, 2001 Version 2.4.0 is released. August 15, 2001 Version 0.79 is released. |
From: chas w. <ch...@us...> - 2003-04-30 14:38:54
|
Update of /cvsroot/linux-atm/linux-atm In directory sc8-pr-cvs1:/tmp/cvs-serv12720 Modified Files: Tag: V2_4_1 ChangeLog NEWS configure.in Log Message: change vsprintf to vsnprintf increment version numbers for updated release Index: ChangeLog =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/ChangeLog,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.2.2.1 diff -C2 -d -r1.1.2.2 -r1.1.2.2.2.1 *** ChangeLog 9 Oct 2001 22:22:33 -0000 1.1.2.2 --- ChangeLog 30 Apr 2003 14:38:15 -0000 1.1.2.2.2.1 *************** *** 1,2 **** --- 1,11 ---- + Version 2.4.0 to 2.4.1 (25-APR-2003) + ===================== + + Bug fixes + --------- + + - vsprintf's changed to vsnprintf's to prevent possible stack overflows + + Version 0.79 to 2.4.0 (18-OCT-2001) ===================== Index: NEWS =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/NEWS,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.2.2.1 diff -C2 -d -r1.1.2.2 -r1.1.2.2.2.1 *** NEWS 9 Oct 2001 22:22:33 -0000 1.1.2.2 --- NEWS 30 Apr 2003 14:38:17 -0000 1.1.2.2.2.1 *************** *** 1,2 **** --- 1,3 ---- + April 30, 2003 Version 2.4.1 is released. October 18, 2001 Version 2.4.0 is released. August 15, 2001 Version 0.79 is released. Index: configure.in =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/configure.in,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.6.2.1 diff -C2 -d -r1.1.2.6 -r1.1.2.6.2.1 *** configure.in 9 Oct 2001 21:46:41 -0000 1.1.2.6 --- configure.in 30 Apr 2003 14:38:18 -0000 1.1.2.6.2.1 *************** *** 12,16 **** AC_CANONICAL_SYSTEM ! AM_INIT_AUTOMAKE(linux-atm,2.4.0) LIBVER_CURRENT="1" --- 12,16 ---- AC_CANONICAL_SYSTEM ! AM_INIT_AUTOMAKE(linux-atm,2.4.1) LIBVER_CURRENT="1" |
From: chas w. <ch...@us...> - 2003-04-30 14:38:27
|
Update of /cvsroot/linux-atm/linux-atm/src/lib In directory sc8-pr-cvs1:/tmp/cvs-serv12720/src/lib Modified Files: Tag: V2_4_1 diag.c sap2text.c Log Message: change vsprintf to vsnprintf increment version numbers for updated release Index: diag.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/lib/diag.c,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.1.2.1 diff -C2 -d -r1.1.2.1 -r1.1.2.1.2.1 *** diag.c 3 Sep 2001 18:41:05 -0000 1.1.2.1 --- diag.c 30 Apr 2003 14:38:21 -0000 1.1.2.1.2.1 *************** *** 136,140 **** if (!to) { for (i = 0; sev2prio[i] == severity || sev2prio[i] == -1; i += 2); ! vsprintf(buffer,fmt,ap); syslog(sev2prio[i+1],"%s: %s",component,buffer); } --- 136,140 ---- if (!to) { for (i = 0; sev2prio[i] == severity || sev2prio[i] == -1; i += 2); ! vsnprintf(buffer,MAX_DIAG_MSG+1,fmt,ap); syslog(sev2prio[i+1],"%s: %s",component,buffer); } Index: sap2text.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/lib/sap2text.c,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.1.2.1 diff -C2 -d -r1.1.2.1 -r1.1.2.1.2.1 *** sap2text.c 3 Sep 2001 18:41:05 -0000 1.1.2.1 --- sap2text.c 30 Apr 2003 14:38:22 -0000 1.1.2.1.2.1 *************** *** 42,46 **** va_start(ap,fmt); ! len = vsprintf(scratch,fmt,ap); va_end(ap); if (!len) return 0; --- 42,46 ---- va_start(ap,fmt); ! len = vsnprintf(scratch,40,fmt,ap); va_end(ap); if (!len) return 0; |
From: chas w. <ch...@us...> - 2003-04-30 14:38:24
|
Update of /cvsroot/linux-atm/linux-atm/src/lane In directory sc8-pr-cvs1:/tmp/cvs-serv12720/src/lane Modified Files: Tag: V2_4_1 dump.c Log Message: change vsprintf to vsnprintf increment version numbers for updated release Index: dump.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/lane/dump.c,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.1.2.1 diff -C2 -d -r1.1.2.1 -r1.1.2.1.2.1 *** dump.c 3 Sep 2001 18:41:05 -0000 1.1.2.1 --- dump.c 30 Apr 2003 14:38:19 -0000 1.1.2.1.2.1 *************** *** 186,190 **** case DT_FILE: va_start(args, format); ! printf_ret = vsprintf(buffer, format, args); assert(printf_ret > 0); printf_ret = fprintf(dump_filep, "%s%s%s", el_prefix[level], buffer, --- 186,190 ---- case DT_FILE: va_start(args, format); ! printf_ret = vsnprintf(buffer, BUFSIZE, format, args); assert(printf_ret > 0); printf_ret = fprintf(dump_filep, "%s%s%s", el_prefix[level], buffer, *************** *** 197,201 **** case DT_SYSLOG: va_start(args, format); ! printf_ret = vsprintf(buffer, format, args); assert(printf_ret > 0); syslog(el_to_log[level], "%s", buffer); --- 197,201 ---- case DT_SYSLOG: va_start(args, format); ! printf_ret = vsnprintf(buffer, BUFSIZE, format, args); assert(printf_ret > 0); syslog(el_to_log[level], "%s", buffer); *************** *** 221,225 **** va_start(args, format); ! sprintf_ret = vsprintf(buffer2, buffer, args); assert(sprintf_ret > 0); va_end(args); --- 221,225 ---- va_start(args, format); ! sprintf_ret = vsnprintf(buffer2, 2048, buffer, args); assert(sprintf_ret > 0); va_end(args); |
From: Paul B. S. <pa...@us...> - 2001-10-17 19:37:55
|
Update of /cvsroot/linux-atm/linux-atm In directory usw-pr-cvs1:/tmp/cvs-serv28414 Modified Files: Makefile.am Removed Files: Makefile Log Message: Check that.. I'm an idiot... Remove Makefile from repository.. Index: Makefile.am =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.am 2001/10/17 19:27:43 1.3 --- Makefile.am 2001/10/17 19:37:52 1.4 *************** *** 1,5 **** SUBDIRS = m4 src doc ! EXTRA_DIST = Makefile COPYING.GPL COPYING.LGPL BUGS rpms: dist src/extra/linux-atm.spec --- 1,5 ---- SUBDIRS = m4 src doc ! EXTRA_DIST = COPYING.GPL COPYING.LGPL BUGS rpms: dist src/extra/linux-atm.spec --- Makefile DELETED --- |
From: Paul B. S. <pa...@us...> - 2001-10-17 19:27:46
|
Update of /cvsroot/linux-atm/linux-atm In directory usw-pr-cvs1:/tmp/cvs-serv27673 Modified Files: Makefile.am Log Message: Add Makefile to EXTRA_DIST... Index: Makefile.am =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 2001/10/09 22:33:01 1.2 --- Makefile.am 2001/10/17 19:27:43 1.3 *************** *** 1,5 **** SUBDIRS = m4 src doc ! EXTRA_DIST = COPYING.GPL COPYING.LGPL BUGS rpms: dist src/extra/linux-atm.spec --- 1,5 ---- SUBDIRS = m4 src doc ! EXTRA_DIST = Makefile COPYING.GPL COPYING.LGPL BUGS rpms: dist src/extra/linux-atm.spec |
From: Paul B. S. <pa...@us...> - 2001-10-17 19:27:24
|
Update of /cvsroot/linux-atm/linux-atm In directory usw-pr-cvs1:/tmp/cvs-serv27295 Added Files: INSTALL Makefile Log Message: Put modified INSTALL file into CVS.. Also added an unconfigured Makefile. i.e. If somebody runs 'make' before 'configure' they will be directed to do so. --- NEW FILE: INSTALL --- Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Operation Controls ================== `configure' recognizes the following options to control how it operates. `--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'. `--help' Print a summary of the options to `configure', and exit. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. Additional Build Targets ======================== The following additional build targets can be passed to make: `uninstall' Uninstall the binaries, libraries, configuration files, and man pages which were installed with the 'install' target. `dist' Create a gzipped distribution tarball. It will be placed in the current directory. `rpm' Create a binary RPM of the distribution. The RPM will be placed in the src/extra/RPMS/`arch'/ directory where arch is the target platform. (This will also make a gzipped distribution tarball.) `cscope' Create `cscope.out' cross-reference file for cscope tags. |
From: Paul B. S. <pa...@us...> - 2001-10-15 23:19:46
|
Update of /cvsroot/linux-atm/linux-atm/doc In directory usw-pr-cvs1:/tmp/cvs-serv10837/doc Modified Files: Tag: V2_5_0 atm-linux-howto.sgml atm-linux-howto.txt Log Message: Merge V2_4_0 updates (from HE driver) into V2_5_0... Index: atm-linux-howto.sgml =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/doc/atm-linux-howto.sgml,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** atm-linux-howto.sgml 2001/10/09 22:33:02 1.2 --- atm-linux-howto.sgml 2001/10/15 23:19:42 1.2.2.1 *************** *** 134,138 **** <informalexample><screen> ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co linux-atm </screen></informalexample> --- 134,138 ---- <informalexample><screen> ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co -P linux-atm </screen></informalexample> Index: atm-linux-howto.txt =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/doc/atm-linux-howto.txt,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** atm-linux-howto.txt 2001/10/09 22:33:02 1.2 --- atm-linux-howto.txt 2001/10/15 23:19:42 1.2.2.1 *************** *** 80,84 **** Just hit return when prompted for a password. Then, checkout the repository: ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co linux-atm You may also specify a branch to check out specifically: --- 80,84 ---- Just hit return when prompted for a password. Then, checkout the repository: ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co -P linux-atm You may also specify a branch to check out specifically: |
From: Paul B. S. <pa...@us...> - 2001-10-15 23:19:46
|
Update of /cvsroot/linux-atm/linux-atm In directory usw-pr-cvs1:/tmp/cvs-serv10837 Modified Files: Tag: V2_5_0 ChangeLog README configure.in Log Message: Merge V2_4_0 updates (from HE driver) into V2_5_0... Index: ChangeLog =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/ChangeLog,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** ChangeLog 2001/10/09 22:33:01 1.2 --- ChangeLog 2001/10/15 23:19:42 1.2.2.1 *************** *** 8,11 **** --- 8,17 ---- - ia64 build fix for ASN (Chas Williams) + New features + ------------ + + - the driver for the Marconi ForeRunnerHE is in src/extra/drivers (Chas + Williams, Eric Kinzie) + Other changes ------------- Index: README =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/README,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** README 2001/10/09 22:33:01 1.2 --- README 2001/10/15 23:19:42 1.2.2.1 *************** *** 14,20 **** features supported by ATM on Linux. ! If you're just looking for the device drivers: they're either ! already in the mainstream kernel or, for those which are not ! integrated, found by visiting http://linux-atm.sourceforge.net/. For usage and installation instructions, please read the "ATM on Linux HOWTO" --- 14,20 ---- features supported by ATM on Linux. ! If you're just looking for the device drivers: you may find what you're looking ! for under src/extra/drivers. Most are already in the mainstream kernel or, for ! those which are not integrated, visit http://linux-atm.sourceforge.net/info.php For usage and installation instructions, please read the "ATM on Linux HOWTO" Index: configure.in =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/configure.in,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** configure.in 2001/10/09 22:33:01 1.2 --- configure.in 2001/10/15 23:19:42 1.2.2.1 *************** *** 174,178 **** src/extra/Makefile \ src/extra/linux-atm.spec \ ! src/extra/ANS/Makefile ) --- 174,179 ---- src/extra/Makefile \ src/extra/linux-atm.spec \ ! src/extra/ANS/Makefile \ ! src/extra/drivers/Makefile ) |
From: Paul B. S. <pa...@us...> - 2001-10-15 23:19:46
|
Update of /cvsroot/linux-atm/linux-atm/src/extra/drivers In directory usw-pr-cvs1:/tmp/cvs-serv10837/src/extra/drivers Added Files: Tag: V2_5_0 Makefile.am README.he atm_he.h he.c he.h he.patch-2.2 he.patch-2.4 hediag.c Log Message: Merge V2_4_0 updates (from HE driver) into V2_5_0... --- NEW FILE: Makefile.am --- EXTRA_DIST = atm_he.h he.c hediag.c he.h he.patch-2.2 he.patch-2.4 README.he --- NEW FILE: README.he --- Description =========== This is a Linux ATM driver for the FORE Systems ForeRunnerHE adapters. It supports both the 155 and 622 flavors of the card. The driver was primarily developed on a powerpc (604e@200MHz) but it has been ported and tested on an i386 (2 i686@800Mhz). This is the sixth public release of the driver. Its mainly to provide interrupt sharing fixes and updates for the latest 2.4 kernels. Current features: . interrupt sharing . hardware traffic shaping . cbr . tasklet support . uses new pci loadable module scheme . 64bit PCI bus operation tested . SMP tested . 2.2 kernel support Feedback (including fixes or suggestions) is welcome. Contact ch...@cm.... History ======= This driver has been an informal project for Eric Kinzie, ek...@cm..., and I. It represents most of our spare time during the month of March, 2000. It started last November when we wanted a cheap oc-12c capable router. I wrote the skeleton in about a week but had to put it aside until recently. Most of the brain damage in the driver can be attributed directly to me and my lack of understanding regarding linux internals. Eric has the i386 with the 622 board (and a slightly out of date linux device driver book). Requirements ============ ATM 0.59 - ATM 0.78 Installation ============ copy atm_he.h to /usr/src/linux/include/linux: % cp atm_he.h /usr/src/linux/include/linux copy he.c and he.h to /usr/src/linux/drivers/atm: % cp he.c he.h /usr/src/linux/drivers/atm apply the patches: % cd /usr/src/inux/drivers/atm [2.2 KERNELS ONLY] % patch < he.patch-2.2 [2.4 KERNELS ONLY] % patch < he.patch-2.4 reconfigure your kernel and select the 'FORE HE' driver in the Network Device/ATM Adapters menu and rebuild your kernel: % cd /usr/src/linux % make menuconfig (enable the HE card in the Networking/ATM menu) % make dep % make (or 'make modules' if you building as a module) boot your new kernel or insmod the driver. Miscellaneous ============= hediag.c is a utility to dump the various registers on the adapter. Its handy for debugging the driver. BUGS ==== . aal0 receive only (atmdump works though) . the driver seems to use a fair amount of memory. this can be a problem for smaller memory (<64M) machines. there should possibly be a small memory config. --chas ch...@cm... --- NEW FILE: atm_he.h --- /* atm_he.h */ #ifndef LINUX_ATM_HE_H #define LINUX_ATM_HE_H #include <linux/atmioc.h> #define HE_GET_REG _IOW('a', ATMIOC_SARPRV, struct atmif_sioc) #define HE_REGTYPE_PCI 1 #define HE_REGTYPE_RCM 2 #define HE_REGTYPE_TCM 3 #define HE_REGTYPE_MBOX 4 struct he_ioctl_reg { unsigned addr, val; char type; }; #endif /* LINUX_ATM_HE_H */ --- NEW FILE: he.c --- /* $Id: he.c,v 1.1.2.1 2001/10/15 23:19:43 paulsch Exp $ */ /* he.c ForeRunnerHE ATM Adapter driver for ATM on Linux Copyright (C) 1999-2001 Naval Research Laboratory This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. [...2883 lines suppressed...] { atm_dev_deregister(he_devs->atm_dev); he_stop(he_devs); kfree(he_devs); he_devs = he_devs->next; } } int init_module(void) { return he_init(); } void cleanup_module(void) { he_cleanup(); } #endif --- NEW FILE: he.h --- /* $Id: he.h,v 1.1.2.1 2001/10/15 23:19:43 paulsch Exp $ */ /* he.h ForeRunnerHE ATM Adapter driver for ATM on Linux Copyright (C) 1999-2001 Naval Research Laboratory This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* he.h ForeRunnerHE ATM Adapter driver for ATM on Linux Copyright (C) 1999-2000 Naval Research Laboratory Permission to use, copy, modify and distribute this software and its documentation is hereby granted, provided that both the copyright notice and this permission notice appear in all copies of the software, derivative works or modified versions, and any portions thereof, and that both notices appear in supporting documentation. NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. */ #ifndef _HE_H_ #define _HE_H_ #define DEV_LABEL "he" #define CONFIG_VCIBITS 12 #define CONFIG_VPIBITS 0 #define CONFIG_IRQ_SIZE 128 #define CONFIG_IRQ_THRESH (CONFIG_IRQ_SIZE/2) #define CONFIG_TPDRQ_SIZE 512 #define TPDRQ_MASK(x) (((unsigned long)(x))&((CONFIG_TPDRQ_SIZE<<3)-1)) #define CONFIG_RBRQ_SIZE 512 #define CONFIG_RBRQ_THRESH 400 #define RBRQ_MASK(x) (((unsigned long)(x))&((CONFIG_RBRQ_SIZE<<3)-1)) #define CONFIG_TBRQ_SIZE 512 #define CONFIG_TBRQ_THRESH 400 #define TBRQ_MASK(x) (((unsigned long)(x))&((CONFIG_TBRQ_SIZE<<2)-1)) #define CONFIG_RBPL_SIZE 512 #define CONFIG_RBPL_THRESH 64 #define CONFIG_RBPL_BUFSIZE 4096 #define RBPL_MASK(x) (((unsigned long)(x))&((CONFIG_RBPL_SIZE<<3)-1)) #ifdef rbps_support #define CONFIG_RBPS_SIZE 512 #define CONFIG_RBPS_THRESH 64 #define CONFIG_RBPS_BUFSIZE 128 #define RBPS_MASK(x) (((unsigned long)(x))&((CONFIG_RBPS_SIZE<<3)-1)) #endif /* these values are configurable but must be set in accordance with page FIXME */ #define CONFIG_RSRA 0x00000 #define CONFIG_RCMLBM 0x08000 #define CONFIG_RCMABR 0x0d800 #define CONFIG_RSRB 0x0e000 #define CONFIG_TSRA 0x00000 #define CONFIG_TSRB 0x08000 #define CONFIG_TSRC 0x0c000 #define CONFIG_TSRD 0x0e000 /* 2.9.3.3 interrupt encodings */ struct he_irq { volatile u32 isw; }; #define IRQ_ALIGNMENT 0x1000 #define NEXT_ENTRY(base, tail, mask) \ (((unsigned long)base)|(((unsigned long)(tail+1))&mask)) #define ITYPE_INVALID 0xffffffff #define ITYPE_TBRQ_THRESH (0<<3) #define ITYPE_TPD_COMPLETE (1<<3) #define ITYPE_RBPS_THRESH (2<<3) #define ITYPE_RBPL_THRESH (3<<3) #define ITYPE_RBRQ_THRESH (4<<3) #define ITYPE_RBRQ_TIMER (5<<3) #define ITYPE_PHY (6<<3) #define ITYPE_OTHER 0x80 #define ITYPE_PARITY 0x81 #define ITYPE_ABORT 0x82 #define ITYPE_GROUP(x) (x & 0x7) #define ITYPE_TYPE(x) (x & 0xf8) #define HE_NUM_GROUPS 8 struct he_tpd { /* read by the adapter */ volatile u32 status; volatile u32 reserved; volatile u32 address1, length1; volatile u32 address2, length2; volatile u32 address3, length3; /* linux-atm extensions */ struct sk_buff *skb; struct atm_vcc *vcc; void *base; }; #define TPD_ALIGNMENT 64 #define BUF_ADDR(x) (x & 0xffffffc0) /* table 2.3 transmit buffer return elements */ struct he_tbrq { volatile u32 tbre; }; #define TBRQ_ALIGNMENT CONFIG_TBRQ_SIZE #define TBRQ_TPD(tbrq) ((tbrq)->tbre & 0xffffffc0) #define TBRQ_EOS(tbrq) ((tbrq)->tbre & (1<<3)) #define TBRQ_MULTIPLE(tbrq) ((tbrq)->tbre & (1)) /* table 2.21 receive buffer return qeueu element field organization */ struct he_rbrq { volatile u32 addr; volatile u32 cidlen; }; #define RBRQ_ALIGNMENT CONFIG_RBRQ_SIZE #define RBRQ_ADDR(rbrq) ((rbrq)->addr & 0xffffffc0) #define RBRQ_CRC_ERR(rbrq) ((rbrq)->addr & (1<<5)) #define RBRQ_LEN_ERR(rbrq) ((rbrq)->addr & (1<<4)) #define RBRQ_END_PDU(rbrq) ((rbrq)->addr & (1<<3)) #define RBRQ_AAL5_PROT(rbrq) ((rbrq)->addr & (1<<2)) #define RBRQ_CON_CLOSED(rbrq) ((rbrq)->addr & (1<<1)) #define RBRQ_HBUF_ERR(rbrq) ((rbrq)->addr & 1) #define RBRQ_CID(rbrq) (((rbrq)->cidlen >> 16) & 0x1fff) #define RBRQ_BUFLEN(rbrq) ((rbrq)->cidlen & 0xffff) /* figure 2.3 transmit packet descriptor ready queue */ struct he_tpdrq { volatile u32 tpd; volatile u32 cid; }; #define TPDRQ_ALIGNMENT CONFIG_TPDRQ_SIZE /* table 2.30 host status page detail */ #define HSP_ALIGNMENT 0x400 /* must align on 1k boundary */ struct he_hsp { struct he_hsp_entry { volatile u32 tbrq_tail; volatile u32 reserved1[15]; volatile u32 rbrq_tail; volatile u32 reserved2[15]; } group[HE_NUM_GROUPS]; }; #define HBUF_ALIGNMENT 64 struct he_buff { int loaned; int len; void *data; dma_addr_t mapping; void *base; }; /* figure 2.9 receive buffer pools */ struct he_rbp { volatile u32 phys; /* virt_to_bus(hbuf->data) */ volatile u32 virt; /* virt_to_bus(hbuf) */ }; /* NOTE: it is suggested that virt be the virtual address of the host buffer. on a 64-bit machine, this does not work. in our driver, virt points to bus address (which is hopefully 32 bit) of the he_buff. in the future, this may need to change. */ #define RBPL_ALIGNMENT CONFIG_RBPL_SIZE #define RBPS_ALIGNMENT CONFIG_RBPS_SIZE #ifdef notyet struct he_group { u32 rpbs_size, rpbs_qsize; struct he_rbp rbps_ba; u32 rpbl_size, rpbl_qsize; struct he_rpb_entry *rbpl_ba; }; #endif #define HE_LOOKUP_VCC(dev, cid) ((dev)->he_vcc_table[(cid)].vcc) struct he_vcc_table { struct atm_vcc *vcc; }; struct he_cs_stper { long pcr; int inuse; }; #define HE_NUM_CS_STPER 16 struct he_dev { unsigned int number; unsigned int irq; unsigned long membase; char prod_id[30]; char mac_addr[6]; int media; /* * 0x26 = HE155 MM * 0x27 = HE622 MM * 0x46 = HE155 SM * 0x47 = HE622 SM */ unsigned int vcibits, vpibits; unsigned int cells_per_row; unsigned int bytes_per_row; unsigned int cells_per_lbuf; unsigned int r0_numrows, r0_startrow, r0_numbuffs; unsigned int r1_numrows, r1_startrow, r1_numbuffs; unsigned int tx_numrows, tx_startrow, tx_numbuffs; unsigned int buffer_limit; struct he_vcc_table *he_vcc_table; #ifdef notyet struct he_group group[HE_NUM_GROUPS]; #endif struct he_cs_stper cs_stper[HE_NUM_CS_STPER]; unsigned total_bw; void *irq_p; struct he_irq *irq_base, *irq_head, *irq_tail; volatile unsigned *irq_tailoffset; int irq_peak; #ifdef USE_TASKLET struct tasklet_struct tasklet; #endif void *tpdrq_p; struct he_tpdrq *tpdrq_base, *tpdrq_tail, *tpdrq_head; spinlock_t tpdrq_lock; /* serialize access to tpdrq */ spinlock_t global_lock; /* 8.1.5 pci transaction ordering error problem */ void *rbrq_p; struct he_rbrq *rbrq_base, *rbrq_head; int rbrq_peak; void *rbpl_p; struct he_rbp *rbpl_base, *rbpl_tail; int rbpl_peak; #ifdef rbps_support void *rbps_p; struct he_rbp *rbps_base, *rbps_tail; int rbps_peak; #endif void *tbrq_p; struct he_tbrq *tbrq_base, *tbrq_head; int tbrq_peak; void *hsp_p; struct he_hsp *hsp; struct pci_dev *pci_dev; struct atm_dev *atm_dev; struct he_dev *next; }; struct he_vcc { struct iovec iov_head[32]; struct iovec *iov_tail; int pdu_len; int rc_index; #if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1) struct wait_queue *rx_waitq; atruct wait_queue *tx_waitq; #else wait_queue_head_t rx_waitq; wait_queue_head_t tx_waitq; #endif }; #define HE_VCC(vcc) ((struct he_vcc *)(vcc->dev_data)) #define PCI_VENDOR_ID_FORE 0x1127 #define PCI_DEVICE_ID_FORE_HE 0x400 #define HE_DMA_MASK 0xffffffff #define GEN_CNTL_0 0x40 #define INT_PROC_ENBL (1<<25) #define SLAVE_ENDIAN_MODE (1<<16) #define MRL_ENB (1<<5) #define MRM_ENB (1<<4) #define INIT_ENB (1<<2) #define IGNORE_TIMEOUT (1<<1) #define ENBL_64 (1<<0) #define MIN_PCI_LATENCY 32 /* errata 8.1.3 */ #define HE_DEV(dev) ((struct he_dev *) (dev)->dev_data) #define he_is622(dev) ((dev)->media & 0x1) #define HE_REGMAP_SIZE 0x100000 #define RESET_CNTL 0x80000 #define BOARD_RST_STATUS (1<<6) #define HOST_CNTL 0x80004 #define PCI_BUS_SIZE64 (1<<27) #define DESC_RD_STATIC_64 (1<<26) #define DATA_RD_STATIC_64 (1<<25) #define DATA_WR_STATIC_64 (1<<24) #define ID_CS (1<<12) #define ID_WREN (1<<11) #define ID_DOUT (1<<10) #define ID_DOFFSET 10 #define ID_DIN (1<<9) #define ID_CLOCK (1<<8) #define QUICK_RD_RETRY (1<<7) #define QUICK_WR_RETRY (1<<6) #define OUTFF_ENB (1<<5) #define CMDFF_ENB (1<<4) #define PERR_INT_ENB (1<<2) #define IGNORE_INTR (1<<0) #define LB_SWAP 0x80008 #define SWAP_RNUM_MAX(x) (x<<27) #define DATA_WR_SWAP (1<<20) #define DESC_RD_SWAP (1<<19) #define DATA_RD_SWAP (1<<18) #define INTR_SWAP (1<<17) #define DESC_WR_SWAP (1<<16) #define SDRAM_INIT (1<<15) #define BIG_ENDIAN_HOST (1<<14) #define XFER_SIZE (1<<7) #define LB_MEM_ADDR 0x8000c #define LB_MEM_DATA 0x80010 #define LB_MEM_ACCESS 0x80014 #define LB_MEM_HNDSHK (1<<30) #define LM_MEM_WRITE (0x7) #define LM_MEM_READ (0x3) #define SDRAM_CTL 0x80018 #define LB_64_ENB (1<<3) #define LB_TWR (1<<2) #define LB_TRP (1<<1) #define LB_TRAS (1<<0) #define INT_FIFO 0x8001c #define INT_MASK_D (1<<15) #define INT_MASK_C (1<<14) #define INT_MASK_B (1<<13) #define INT_MASK_A (1<<12) #define INT_CLEAR_D (1<<11) #define INT_CLEAR_C (1<<10) #define INT_CLEAR_B (1<<9) #define INT_CLEAR_A (1<<8) #define ABORT_ADDR 0x80020 #define IRQ0_BASE 0x80080 #define IRQ_BASE(x) (x<<12) #define IRQ_MASK ((CONFIG_IRQ_SIZE<<2)-1) /* was 0x3ff */ #define IRQ_TAIL(x) (((unsigned long)(x)) & IRQ_MASK) #define IRQ0_HEAD 0x80084 #define IRQ_SIZE(x) (x<<22) #define IRQ_THRESH(x) (x<<12) #define IRQ_HEAD(x) (x<<2) /* #define IRQ_PENDING (1) conflict with linux/irq.h */ #define IRQ0_CNTL 0x80088 #define IRQ_ADDRSEL(x) (x<<2) #define IRQ_INT_A (0<<2) #define IRQ_INT_B (1<<2) #define IRQ_INT_C (2<<2) #define IRQ_INT_D (3<<2) #define IRQ_TYPE_ADDR 0x1 #define IRQ_TYPE_LINE 0x0 #define IRQ0_DATA 0x8008c #define IRQ1_BASE 0x80090 #define IRQ1_HEAD 0x80094 #define IRQ1_CNTL 0x80098 #define IRQ1_DATA 0x8009c #define IRQ2_BASE 0x800a0 #define IRQ2_HEAD 0x800a4 #define IRQ2_CNTL 0x800a8 #define IRQ2_DATA 0x800ac #define IRQ3_BASE 0x800b0 #define IRQ3_HEAD 0x800b4 #define IRQ3_CNTL 0x800b8 #define IRQ3_DATA 0x800bc #define GRP_10_MAP 0x800c0 #define GRP_32_MAP 0x800c4 #define GRP_54_MAP 0x800c8 #define GRP_76_MAP 0x800cc #define G0_RBPS_S 0x80400 #define G0_RBPS_T 0x80404 #define RBP_TAIL(x) ((x)<<3) #define RBP_MASK(x) ((x)|0x1fff) #define G0_RBPS_QI 0x80408 #define RBP_QSIZE(x) ((x)<<14) #define RBP_INT_ENB (1<<13) #define RBP_THRESH(x) (x) #define G0_RBPS_BS 0x8040c #define G0_RBPL_S 0x80410 #define G0_RBPL_T 0x80414 #define G0_RBPL_QI 0x80418 #define G0_RBPL_BS 0x8041c #define G1_RBPS_S 0x80420 #define G1_RBPS_T 0x80424 #define G1_RBPS_QI 0x80428 #define G1_RBPS_BS 0x8042c #define G1_RBPL_S 0x80430 #define G1_RBPL_T 0x80434 #define G1_RBPL_QI 0x80438 #define G1_RBPL_BS 0x8043c #define G2_RBPS_S 0x80440 #define G2_RBPS_T 0x80444 #define G2_RBPS_QI 0x80448 #define G2_RBPS_BS 0x8044c #define G2_RBPL_S 0x80450 #define G2_RBPL_T 0x80454 #define G2_RBPL_QI 0x80458 #define G2_RBPL_BS 0x8045c #define G3_RBPS_S 0x80460 #define G3_RBPS_T 0x80464 #define G3_RBPS_QI 0x80468 #define G3_RBPS_BS 0x8046c #define G3_RBPL_S 0x80470 #define G3_RBPL_T 0x80474 #define G3_RBPL_QI 0x80478 #define G3_RBPL_BS 0x8047c #define G4_RBPS_S 0x80480 #define G4_RBPS_T 0x80484 #define G4_RBPS_QI 0x80488 #define G4_RBPS_BS 0x8048c #define G4_RBPL_S 0x80490 #define G4_RBPL_T 0x80494 #define G4_RBPL_QI 0x80498 #define G4_RBPL_BS 0x8049c #define G5_RBPS_S 0x804a0 #define G5_RBPS_T 0x804a4 #define G5_RBPS_QI 0x804a8 #define G5_RBPS_BS 0x804ac #define G5_RBPL_S 0x804b0 #define G5_RBPL_T 0x804b4 #define G5_RBPL_QI 0x804b8 #define G5_RBPL_BS 0x804bc #define G6_RBPS_S 0x804c0 #define G6_RBPS_T 0x804c4 #define G6_RBPS_QI 0x804c8 #define G6_RBPS_BS 0x804cc #define G6_RBPL_S 0x804d0 #define G6_RBPL_T 0x804d4 #define G6_RBPL_QI 0x804d8 #define G6_RBPL_BS 0x804dc #define G7_RBPS_S 0x804e0 #define G7_RBPS_T 0x804e4 #define G7_RBPS_QI 0x804e8 #define G7_RBPS_BS 0x804ec #define G7_RBPL_S 0x804f0 #define G7_RBPL_T 0x804f4 #define G7_RBPL_QI 0x804f8 #define G7_RBPL_BS 0x804fc #define G0_RBRQ_ST 0x80500 #define G0_RBRQ_H 0x80504 #define G0_RBRQ_Q 0x80508 #define RBRQ_THRESH(x) ((x)<<13) #define RBRQ_SIZE(x) (x) #define G0_RBRQ_I 0x8050c #define RBRQ_TIME(x) ((x)<<8) #define RBRQ_COUNT(x) (x) /* fill in 1 ... 7 later */ #define G0_TBRQ_B_T 0x80600 #define G0_TBRQ_H 0x80604 #define G0_TBRQ_S 0x80608 #define G0_TBRQ_THRESH 0x8060c #define TBRQ_THRESH(x) (x) /* fill in 1 ... 7 later */ #define RH_CONFIG 0x805c0 #define PHY_INT_ENB (1<<10) #define OAM_GID(x) (x<<7) #define PTMR_PRE(x) (x) #define G0_INMQ_S 0x80580 #define G0_INMQ_L 0x80584 #define G1_INMQ_S 0x80588 #define G1_INMQ_L 0x8058c #define G2_INMQ_S 0x80590 #define G2_INMQ_L 0x80594 #define G3_INMQ_S 0x80598 #define G3_INMQ_L 0x8059c #define G4_INMQ_S 0x805a0 #define G4_INMQ_L 0x805a4 #define G5_INMQ_S 0x805a8 #define G5_INMQ_L 0x805ac #define G6_INMQ_S 0x805b0 #define G6_INMQ_L 0x805b4 #define G7_INMQ_S 0x805b8 #define G7_INMQ_L 0x805bc #define TPDRQ_B_H 0x80680 #define TPDRQ_T 0x80684 #define TPDRQ_S 0x80688 #define UBUFF_BA 0x8068c #define RLBF0_H 0x806c0 #define RLBF0_T 0x806c4 #define RLBF1_H 0x806c8 #define RLBF1_T 0x806cc #define RLBC_H 0x806d0 #define RLBC_T 0x806d4 #define RLBC_H2 0x806d8 #define TLBF_H 0x806e0 #define TLBF_T 0x806e4 #define RLBF0_C 0x806e8 #define RLBF1_C 0x806ec #define RXTHRSH 0x806f0 #define LITHRSH 0x806f4 #define LBARB 0x80700 #define SLICE_X(x) (x<<28) #define ARB_RNUM_MAX(x) (x<<23) #define TH_PRTY(x) (x<<21) #define RH_PRTY(x) (x<<19) #define TL_PRTY(x) (x<<17) #define RL_PRTY(x) (x<<15) #define BUS_MULTI(x) (x<<8) #define NET_PREF(x) (x) #define SDRAMCON 0x80704 #define BANK_ON (1<<14) #define WIDE_DATA (1<<13) #define TWR_WAIT (1<<12) #define TRP_WAIT (1<<11) #define TRAS_WAIT (1<<10) #define REF_RATE(x) (x) #define LBSTAT 0x80708 #define RCC_STAT 0x8070c #define RCC_BUSY (1) #define TCMCONFIG 0x80740 #define TM_DESL2 (1<<10) #define TM_BANK_WAIT(x) (x<<6) #define TM_ADD_BANK4(x) (x<<4) #define TM_PAR_CHECK(x) (x<<3) #define TM_RW_WAIT(x) (x<<2) #define TM_SRAM_TYPE(x) (x) #define TSRB_BA 0x80744 #define TSRC_BA 0x80748 #define TMABR_BA 0x8074c #define TPD_BA 0x80750 #define TSRD_BA 0x80758 #define TX_CONFIG 0x80760 #define DRF_THRESH(x) (x<<22) #define TX_UT_MODE(x) (x<<21) #define TX_VCI_MASK(x) (x<<17) #define LBFREE_CNT(x) (x) #define TXAAL5_PROTO 0x80764 #define CPCS_UU(x) (x<<8) #define CPI(x) (x) #define RCMCONFIG 0x80780 #define RM_DESL2(x) (x<<10) #define RM_BANK_WAIT(x) (x<<6) #define RM_ADD_BANK(x) (x<<4) #define RM_PAR_CHECK(x) (x<<3) #define RM_RW_WAIT(x) (x<<2) #define RM_SRAM_TYPE(x) (x) #define RCMRSRB_BA 0x80784 #define RCMLBM_BA 0x80788 #define RCMABR_BA 0x8078c #define RC_CONFIG 0x807c0 #define UT_RD_DELAY(x) (x<<11) #define WRAP_MODE(x) (x<<10) #define RC_UT_MODE(x) (x<<9) #define RX_ENABLE (1<<8) #define RX_VALVP(x) (x<<4) #define RX_VALVC(x) (x) #define MCC 0x807c4 #define OEC 0x807c8 #define DCC 0x807cc #define CEC 0x807d0 #define HSP_BA 0x807f0 #define LB_CONFIG 0x807f4 #define LB_SIZE(x) (x) #define CON_DAT 0x807f8 #define CON_CTL 0x807fc #define CON_CTL_MBOX (2<<30) #define CON_CTL_TCM (1<<30) #define CON_CTL_RCM (0<<30) #define CON_CTL_WRITE (1<<29) #define CON_CTL_READ (0<<29) #define CON_CTL_BUSY (1<<28) #define CON_BYTE_DISABLE_3 (1<<22) /* 24..31 */ #define CON_BYTE_DISABLE_2 (1<<21) /* 16..23 */ #define CON_BYTE_DISABLE_1 (1<<20) /* 8..15 */ #define CON_BYTE_DISABLE_0 (1<<19) /* 0..7 */ #define CON_CTL_ADDR(x) (x) #define FRAMER 0x80800 /* 3.3 network controller (internal) mailbox registers */ #define CS_STPER0 0x0 /* ... */ #define CS_STPER31 0x01f #define CS_STTIM0 0x020 /* ... */ #define CS_STTIM31 0x03f #define CS_TGRLD0 0x040 /* ... */ #define CS_TGRLD15 0x04f #define CS_ERTHR0 0x050 #define CS_ERTHR1 0x051 #define CS_ERTHR2 0x052 #define CS_ERTHR3 0x053 #define CS_ERTHR4 0x054 #define CS_ERCTL0 0x055 #define TX_ENABLE (1<<28) #define ER_ENABLE (1<<27) #define CS_ERCTL1 0x056 #define CS_ERCTL2 0x057 #define CS_ERSTAT0 0x058 #define CS_ERSTAT1 0x059 #define CS_RTCCT 0x060 #define CS_RTFWC 0x061 #define CS_RTFWR 0x062 #define CS_RTFTC 0x063 #define CS_RTATR 0x064 #define CS_TFBSET 0x070 #define CS_TFBADD 0x071 #define CS_TFBSUB 0x072 #define CS_WCRMAX 0x073 #define CS_WCRMIN 0x074 #define CS_WCRINC 0x075 #define CS_WCRDEC 0x076 #define CS_WCRCEIL 0x077 #define CS_BWDCNT 0x078 #define CS_OTPPER 0x080 #define CS_OTWPER 0x081 #define CS_OTTLIM 0x082 #define CS_OTTCNT 0x083 #define CS_HGRRT0 0x090 /* ... */ #define CS_HGRRT7 0x097 #define CS_ORPTRS 0x0a0 #define RXCON_CLOSE 0x100 #define RCM_MEM_SIZE 0x10000 /* 1M of 32-bit registers */ #define TCM_MEM_SIZE 0x20000 /* 2M of 32-bit registers */ /* 2.5 transmit connection memory registers */ #define TSR0_CONN_STATE(x) ((x>>28) & 0x7) #define TSR0_USE_WMIN (1<<23) #define TSR0_GROUP(x) ((x & 0x7)<<18) #define TSR0_ABR (2<<16) #define TSR0_UBR (1<<16) #define TSR0_CBR (0<<16) #define TSR0_PROT (1<<15) #define TSR0_AAL0_SDU (2<<12) #define TSR0_AAL0 (1<<12) #define TSR0_AAL5 (0<<12) #define TSR0_HALT_ER (1<<11) #define TSR0_MARK_CI (1<<10) #define TSR0_MARK_ER (1<<9) #define TSR0_UPDATE_GER (1<<8) #define TSR0_RC_INDEX(x) (x & 0x1F) #define TSR1_PCR(x) ((x & 0x7FFF)<<16) #define TSR1_MCR(x) (x & 0x7FFF) #define TSR2_ACR(x) ((x & 0x7FFF)<<16) #define TSR3_NRM_CNT(x) ((x & 0xFF)<<24) #define TSR3_CRM_CNT(x) (x & 0xFFFF) #define TSR4_FLUSH_CONN (1<<31) #define TSR4_SESSION_ENDED (1<<30) #define TSR4_CRC10 (1<<28) #define TSR4_NULL_CRC10 (1<<27) #define TSR4_PROT (1<<26) #define TSR4_AAL0_SDU (2<<23) #define TSR4_AAL0 (1<<23) #define TSR4_AAL5 (0<<23) #define TSR9_OPEN_CONN (1<<20) #define TSR11_ICR(x) ((x & 0x7FFF)<<16) #define TSR11_TRM(x) ((x & 0x7)<<13) #define TSR11_NRM(x) ((x & 0x7)<<10) #define TSR11_ADTF(x) (x & 0x3FF) #define TSR13_RDF(x) ((x & 0xF)<<23) #define TSR13_RIF(x) ((x & 0xF)<<19) #define TSR13_CDF(x) ((x & 0x7)<<16) #define TSR13_CRM(x) (x & 0xFFFF) #define TSR14_DELETE (1<<31) #define TSR14_ABR_CLOSE (1<<16) /* 2.7.1 per connection receieve state registers */ #define RSR0_START_PDU (1<<10) #define RSR0_OPEN_CONN (1<<6) #define RSR0_CLOSE_CONN (0<<6) #define RSR0_PPD_ENABLE (1<<5) #define RSR0_EPD_ENABLE (1<<4) #define RSR0_TCP_CKSUM (1<<3) #define RSR0_AAL5 (0) #define RSR0_AAL0 (1) #define RSR0_AAL0_SDU (2) #define RSR0_RAWCELL (3) #define RSR0_RAWCELL_CRC10 (4) #define RSR1_AQI_ENABLE (1<<20) #define RSR1_RBPL_ONLY (1<<19) #define RSR1_GROUP(x) ((x)<<16) #define RSR4_AQI_ENABLE (1<<30) #define RSR4_GROUP(x) ((x)<<27) #define RSR4_RBPL_ONLY (1<<26) /* 2.1.4 transmit packet descriptor */ #define TPD_USERCELL 0x0 #define TPD_SEGMENT_OAMF5 0x4 #define TPD_END2END_OAMF5 0x5 #define TPD_RMCELL 0x6 #define TPD_CELLTYPE(x) (x<<3) #define TPD_EOS (1<<2) #define TPD_CLP (1<<1) #define TPD_INT (1) #define TPD_LST (1<<31) /* table 4.3 serial eeprom information */ #define PROD_ID 0x08 /* char[] */ #define PROD_ID_LEN 30 #define HW_REV 0x26 /* char[] */ #define M_SN 0x3a /* integer */ #define MEDIA 0x3e /* integer */ #define HE155MM 0x26 #define HE155SM 0x27 #define HE622MM 0x46 #define HE622SM 0x47 #define MAC_ADDR 0x42 /* char[] */ #define CS_LOW 0x0 #define CS_HIGH ID_CS /* HOST_CNTL_ID_PROM_SEL */ #define CLK_LOW 0x0 #define CLK_HIGH ID_CLOCK /* HOST_CNTL_ID_PROM_CLOCK */ #define SI_HIGH ID_DIN /* HOST_CNTL_ID_PROM_DATA_IN */ #define EEPROM_DELAY 400 /* microseconds */ /* Read from EEPROM = 0000 0011b */ unsigned int readtab[] = { CS_HIGH | CLK_HIGH, CS_LOW | CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW | SI_HIGH, CLK_HIGH | SI_HIGH, /* 1 */ CLK_LOW | SI_HIGH, CLK_HIGH | SI_HIGH /* 1 */ }; /* Clock to read from/write to the EEPROM */ unsigned int clocktab[] = { CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW }; #endif /* _HE_H_ */ --- NEW FILE: he.patch-2.2 --- --- Config.in.000 Thu Feb 17 17:32:10 2000 +++ Config.in Thu Feb 17 17:33:17 2000 @@ -42,4 +42,5 @@ if [ "$CONFIG_ATM_HORIZON" != "n" ]; then bool ' Enable debugging messages' CONFIG_ATM_HORIZON_DEBUG fi + tristate 'FORE HE' CONFIG_ATM_HE y fi --- Makefile.000 Thu Feb 17 17:33:22 2000 +++ Makefile Fri Mar 10 16:10:13 2000 @@ -66,6 +66,16 @@ endif endif +ifeq ($(CONFIG_ATM_HE),y) +O_OBJS += he.o +OX_OBJS += suni.o +else + ifeq ($(CONFIG_ATM_HE),m) + M_OBJS += he.o + MX_OBJS += suni.o + endif +endif + ifeq ($(CONFIG_ATM_TCP),y) O_OBJS += atmtcp.o else --- atmdev_init.c.000 Thu Feb 17 17:34:08 2000 +++ atmdev_init.c Thu Feb 17 17:34:38 2000 @@ -28,6 +28,9 @@ #ifdef CONFIG_ATM_HORIZON extern int hrz_detect(void); #endif +#ifdef CONFIG_ATM_HE +extern int he_detect(void); +#endif __initfunc(int atmdev_init(void)) @@ -55,6 +58,9 @@ #endif #ifdef CONFIG_ATM_HORIZON devs += hrz_detect(); +#endif +#ifdef CONFIG_ATM_HE + devs += he_detect(); #endif return devs; } --- NEW FILE: he.patch-2.4 --- --- Makefile~ Sat Apr 7 14:25:21 2001 +++ Makefile Sat Apr 7 14:25:15 2001 @@ -23,6 +23,7 @@ obj-$(CONFIG_ATM_HORIZON) += horizon.o obj-$(CONFIG_ATM_AMBASSADOR) += ambassador.o +obj-$(CONFIG_ATM_HE) += he.o obj-$(CONFIG_ATM_TCP) += atmtcp.o obj-$(CONFIG_ATM_IA) += iphase.o suni.o --- Config.in~ Wed Feb 21 22:24:57 2001 +++ Config.in Fri Mar 23 08:52:02 2001 @@ -84,5 +84,6 @@ define_tristate CONFIG_ATM_FORE200E m fi fi + tristate 'FORE HE' CONFIG_ATM_HE y fi endmenu --- NEW FILE: hediag.c --- #include <stdio.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/socket.h> #include <atm.h> #include <linux/atmdev.h> #include <linux/sonet.h> #include <linux/atm_he.h> struct reg_table { unsigned addr; char *name; }; struct reg_table pci_regs[] = { { 0x80000, "reset_cntl" }, { 0x80004, "host_cntl" }, { 0x80008, "lb_swap" }, { 0x8000c, "lb_mem_addr" }, { 0x80010, "lb_mem_data" }, { 0x80014, "lb_mem_access" }, { 0x80018, "sdram_ctl" }, { 0x8001c, "int_fifo" }, { 0x80020, "abort_addr" }, { 0x80080, "irq0_base" }, { 0x80084, "irq0_head" }, { 0x80088, "irq0_cntl" }, { 0x8008c, "irq0_data" }, /* fill in 1-4 later */ { 0x800c0, "grp_10_map" }, { 0x800c4, "grp_32_map" }, { 0x800c8, "grp_54_map" }, { 0x800cc, "grp_76_map" }, { 0x80400, "g0_rbps_s" }, { 0x80404, "g0_rbps_t" }, { 0x80408, "g0_rbps_qi" }, { 0x8040c, "g0_rbps_bs" }, { 0x80410, "g0_rbpl_s" }, { 0x80414, "g0_rbpl_t" }, { 0x80418, "g0_rbpl_qi" }, { 0x8041c, "g0_rbpl_bs" }, /* fill in 1-7 later */ { 0x80580, "g0_inmq_s" }, { 0x80584, "g0_inmq_l" }, { 0x80588, "g1_inmq_s" }, { 0x8058c, "g1_inmq_l" }, { 0x80590, "g2_inmq_s" }, { 0x80594, "g2_inmq_l" }, { 0x80598, "g3_inmq_s" }, { 0x8059c, "g3_inmq_l" }, { 0x805a0, "g4_inmq_s" }, { 0x805a4, "g4_inmq_l" }, { 0x805a8, "g5_inmq_s" }, { 0x805ac, "g5_inmq_l" }, { 0x805b0, "g6_inmq_s" }, { 0x805b4, "g6_inmq_l" }, { 0x805b8, "g7_inmq_s" }, { 0x805bc, "g7_inmq_l" }, { 0x80680, "tpdrq_b_h" }, { 0x80684, "tpdrq_t" }, { 0x80688, "tpdrq_s" }, { 0x8068c, "ubuff_ba" }, { 0x806c0, "rlbf0_h" }, { 0x806c4, "rlbf0_t" }, { 0x806c8, "rlbf1_h" }, { 0x806cc, "rlbf1_t" }, { 0x806d0, "rlbc_h" }, { 0x806d4, "rlbc_t" }, { 0x806d8, "rlbc_h2" }, { 0x806e0, "tlbf_h" }, { 0x806e4, "tlbf_t" }, { 0x806e8, "rlbf0_c" }, { 0x806ec, "rlbf1_c" }, { 0x806f0, "rxthrsh" }, { 0x806f4, "lithrsh" }, { 0x80700, "lbarb" }, { 0x80704, "sdramcon" }, { 0x80708, "lbstat" }, { 0x8070c, "rcc_stat" }, { 0x80740, "tcmconfig" }, { 0x80744, "tsrb_ba" }, { 0x80748, "tsrc_ba" }, { 0x8074c, "tmabr_ba" }, { 0x80750, "tpd_ba" }, { 0x80758, "tsrd_ba" }, { 0x80760, "tx_config" }, { 0x80764, "txaal5_proto" }, { 0x80780, "rcmconfig" }, { 0x80784, "rsrb_ba" }, { 0x80788, "rcmlbm_ba" }, { 0x8078c, "rcmabr_ba" }, { 0x807c0, "rc_config" }, { 0x807c4, "mcc" }, { 0x807c8, "oec" }, { 0x807cc, "dcc" }, { 0x807d0, "cec" }, { 0x807f4, "lb_config" }, { 0x807f0, "hsp_ba" }, { 0x807f8, "con_dat" }, { 0x807fc, "con_ctl" }, { 0x00000, NULL } }; char * reg_name(unsigned addr) { struct reg_table *regp = pci_regs; while ( regp->name != NULL ) { if (regp->addr == addr) return regp->name; regp++; } return NULL; } int main(int argc,char **argv) { int s; struct atmif_sioc sioc; struct he_ioctl_reg req; if (argc < 3) { fprintf(stderr,"usage: hediag itf [cmd]\n"); fprintf(stderr,"\t\treadpci address\n"); fprintf(stderr,"\t\treadrcm address\n"); fprintf(stderr,"\t\treadtcm address\n"); fprintf(stderr,"\t\treadmbox address\n"); exit(1); } if (strcmp(argv[2], "readpci") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_PCI; } else if (strcmp(argv[2], "readrcm") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_RCM; } else if (strcmp(argv[2], "readtcm") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_TCM; } else if (strcmp(argv[2], "readmbox") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_MBOX; } if ((s = socket(PF_ATMPVC, SOCK_DGRAM, ATM_AAL5)) < 0) { perror("socket"); exit(1); } sioc.number = atoi(argv[1]); sioc.arg = &req; sioc.length = sizeof(req); if (ioctl(s, HE_GET_REG, &sioc) < 0) { perror("ioctl HE_GET_REG"); exit(1); } if (reg_name(req.addr)) printf("%s = 0x%x\n", reg_name(req.addr), req.val); else printf("0x%x = 0x%x\n", req.addr, req.val); exit(0); } |
From: Paul B. S. <pa...@us...> - 2001-10-15 23:19:45
|
Update of /cvsroot/linux-atm/linux-atm/src/extra In directory usw-pr-cvs1:/tmp/cvs-serv10837/src/extra Modified Files: Tag: V2_5_0 Makefile.am linux-atm.spec.in Log Message: Merge V2_4_0 updates (from HE driver) into V2_5_0... Index: Makefile.am =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/extra/Makefile.am,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** Makefile.am 2001/10/09 22:33:06 1.2 --- Makefile.am 2001/10/15 23:19:43 1.2.2.1 *************** *** 1,3 **** ! SUBDIRS = ANS EXTRA_DIST = linux-atm.spec.in --- 1,3 ---- ! SUBDIRS = ANS drivers EXTRA_DIST = linux-atm.spec.in Index: linux-atm.spec.in =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/extra/linux-atm.spec.in,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** linux-atm.spec.in 2001/10/09 22:33:06 1.2 --- linux-atm.spec.in 2001/10/15 23:19:43 1.2.2.1 *************** *** 99,103 **** %doc AUTHORS BUGS ChangeLog COPYING COPYING.GPL COPYING.LGPL %doc INSTALL NEWS README THANKS ! %doc doc/ src/config/init-redhat/ src/extra/ANS /usr/local/include/atm.h /usr/local/include/atmd.h --- 99,103 ---- %doc AUTHORS BUGS ChangeLog COPYING COPYING.GPL COPYING.LGPL %doc INSTALL NEWS README THANKS ! %doc doc/ src/config/init-redhat/ src/extra/ANS src/extra/drivers /usr/local/include/atm.h /usr/local/include/atmd.h |
From: Paul B. S. <pa...@us...> - 2001-10-15 21:15:04
|
Update of /cvsroot/linux-atm/linux-atm/src/extra In directory usw-pr-cvs1:/tmp/cvs-serv10403/src/extra Modified Files: Makefile.am linux-atm.spec.in Log Message: Updates for HE driver inclusion into the dist... Index: Makefile.am =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/extra/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 2001/10/09 22:33:06 1.2 --- Makefile.am 2001/10/15 21:15:00 1.3 *************** *** 1,3 **** ! SUBDIRS = ANS EXTRA_DIST = linux-atm.spec.in --- 1,3 ---- ! SUBDIRS = ANS drivers EXTRA_DIST = linux-atm.spec.in Index: linux-atm.spec.in =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/extra/linux-atm.spec.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** linux-atm.spec.in 2001/10/09 22:33:06 1.2 --- linux-atm.spec.in 2001/10/15 21:15:00 1.3 *************** *** 99,103 **** %doc AUTHORS BUGS ChangeLog COPYING COPYING.GPL COPYING.LGPL %doc INSTALL NEWS README THANKS ! %doc doc/ src/config/init-redhat/ src/extra/ANS /usr/local/include/atm.h /usr/local/include/atmd.h --- 99,103 ---- %doc AUTHORS BUGS ChangeLog COPYING COPYING.GPL COPYING.LGPL %doc INSTALL NEWS README THANKS ! %doc doc/ src/config/init-redhat/ src/extra/ANS src/extra/drivers /usr/local/include/atm.h /usr/local/include/atmd.h |
From: Paul B. S. <pa...@us...> - 2001-10-15 21:15:03
|
Update of /cvsroot/linux-atm/linux-atm In directory usw-pr-cvs1:/tmp/cvs-serv10403 Modified Files: ChangeLog README configure.in Log Message: Updates for HE driver inclusion into the dist... Index: ChangeLog =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 2001/10/09 22:33:01 1.2 --- ChangeLog 2001/10/15 21:14:58 1.3 *************** *** 8,11 **** --- 8,17 ---- - ia64 build fix for ASN (Chas Williams) + New features + ------------ + + - the driver for the Marconi ForeRunnerHE is in src/extra/drivers (Chas + Williams, Eric Kinzie) + Other changes ------------- Index: README =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/README,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README 2001/10/09 22:33:01 1.2 --- README 2001/10/15 21:14:59 1.3 *************** *** 14,20 **** features supported by ATM on Linux. ! If you're just looking for the device drivers: they're either ! already in the mainstream kernel or, for those which are not ! integrated, found by visiting http://linux-atm.sourceforge.net/. For usage and installation instructions, please read the "ATM on Linux HOWTO" --- 14,20 ---- features supported by ATM on Linux. ! If you're just looking for the device drivers: you may find what you're looking ! for under src/extra/drivers. Most are already in the mainstream kernel or, for ! those which are not integrated, visit http://linux-atm.sourceforge.net/info.php For usage and installation instructions, please read the "ATM on Linux HOWTO" Index: configure.in =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/configure.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** configure.in 2001/10/09 22:33:01 1.2 --- configure.in 2001/10/15 21:15:00 1.3 *************** *** 174,178 **** src/extra/Makefile \ src/extra/linux-atm.spec \ ! src/extra/ANS/Makefile ) --- 174,179 ---- src/extra/Makefile \ src/extra/linux-atm.spec \ ! src/extra/ANS/Makefile \ ! src/extra/drivers/Makefile ) |
From: Paul B. S. <pa...@us...> - 2001-10-15 21:15:03
|
Update of /cvsroot/linux-atm/linux-atm/doc In directory usw-pr-cvs1:/tmp/cvs-serv10403/doc Modified Files: atm-linux-howto.sgml atm-linux-howto.txt Log Message: Updates for HE driver inclusion into the dist... Index: atm-linux-howto.sgml =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/doc/atm-linux-howto.sgml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** atm-linux-howto.sgml 2001/10/09 22:33:02 1.2 --- atm-linux-howto.sgml 2001/10/15 21:15:00 1.3 *************** *** 134,138 **** <informalexample><screen> ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co linux-atm </screen></informalexample> --- 134,138 ---- <informalexample><screen> ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co -P linux-atm </screen></informalexample> Index: atm-linux-howto.txt =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/doc/atm-linux-howto.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** atm-linux-howto.txt 2001/10/09 22:33:02 1.2 --- atm-linux-howto.txt 2001/10/15 21:15:00 1.3 *************** *** 80,84 **** Just hit return when prompted for a password. Then, checkout the repository: ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co linux-atm You may also specify a branch to check out specifically: --- 80,84 ---- Just hit return when prompted for a password. Then, checkout the repository: ! % cvs -z6 -d:pserver:ano...@cv....:/cvsroot/linux-atm co -P linux-atm You may also specify a branch to check out specifically: |
From: Paul B. S. <pa...@us...> - 2001-10-15 21:12:08
|
Update of /cvsroot/linux-atm/linux-atm/src/extra/drivers In directory usw-pr-cvs1:/tmp/cvs-serv9752/src/extra/drivers Added Files: Makefile.am README.he atm_he.h he.c he.h he.patch-2.2 he.patch-2.4 hediag.c Log Message: Add the HE driver to the dist under src/extra/drivers... --- NEW FILE: Makefile.am --- EXTRA_DIST = atm_he.h he.c hediag.c he.h he.patch-2.2 he.patch-2.4 README.he --- NEW FILE: README.he --- Description =========== This is a Linux ATM driver for the FORE Systems ForeRunnerHE adapters. It supports both the 155 and 622 flavors of the card. The driver was primarily developed on a powerpc (604e@200MHz) but it has been ported and tested on an i386 (2 i686@800Mhz). This is the sixth public release of the driver. Its mainly to provide interrupt sharing fixes and updates for the latest 2.4 kernels. Current features: . interrupt sharing . hardware traffic shaping . cbr . tasklet support . uses new pci loadable module scheme . 64bit PCI bus operation tested . SMP tested . 2.2 kernel support Feedback (including fixes or suggestions) is welcome. Contact ch...@cm.... History ======= This driver has been an informal project for Eric Kinzie, ek...@cm..., and I. It represents most of our spare time during the month of March, 2000. It started last November when we wanted a cheap oc-12c capable router. I wrote the skeleton in about a week but had to put it aside until recently. Most of the brain damage in the driver can be attributed directly to me and my lack of understanding regarding linux internals. Eric has the i386 with the 622 board (and a slightly out of date linux device driver book). Requirements ============ ATM 0.59 - ATM 0.78 Installation ============ copy atm_he.h to /usr/src/linux/include/linux: % cp atm_he.h /usr/src/linux/include/linux copy he.c and he.h to /usr/src/linux/drivers/atm: % cp he.c he.h /usr/src/linux/drivers/atm apply the patches: % cd /usr/src/inux/drivers/atm [2.2 KERNELS ONLY] % patch < he.patch-2.2 [2.4 KERNELS ONLY] % patch < he.patch-2.4 reconfigure your kernel and select the 'FORE HE' driver in the Network Device/ATM Adapters menu and rebuild your kernel: % cd /usr/src/linux % make menuconfig (enable the HE card in the Networking/ATM menu) % make dep % make (or 'make modules' if you building as a module) boot your new kernel or insmod the driver. Miscellaneous ============= hediag.c is a utility to dump the various registers on the adapter. Its handy for debugging the driver. BUGS ==== . aal0 receive only (atmdump works though) . the driver seems to use a fair amount of memory. this can be a problem for smaller memory (<64M) machines. there should possibly be a small memory config. --chas ch...@cm... --- NEW FILE: atm_he.h --- /* atm_he.h */ #ifndef LINUX_ATM_HE_H #define LINUX_ATM_HE_H #include <linux/atmioc.h> #define HE_GET_REG _IOW('a', ATMIOC_SARPRV, struct atmif_sioc) #define HE_REGTYPE_PCI 1 #define HE_REGTYPE_RCM 2 #define HE_REGTYPE_TCM 3 #define HE_REGTYPE_MBOX 4 struct he_ioctl_reg { unsigned addr, val; char type; }; #endif /* LINUX_ATM_HE_H */ --- NEW FILE: he.c --- /* $Id: he.c,v 1.1 2001/10/15 21:12:05 paulsch Exp $ */ /* he.c ForeRunnerHE ATM Adapter driver for ATM on Linux Copyright (C) 1999-2001 Naval Research Laboratory This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. [...2883 lines suppressed...] { atm_dev_deregister(he_devs->atm_dev); he_stop(he_devs); kfree(he_devs); he_devs = he_devs->next; } } int init_module(void) { return he_init(); } void cleanup_module(void) { he_cleanup(); } #endif --- NEW FILE: he.h --- /* $Id: he.h,v 1.1 2001/10/15 21:12:05 paulsch Exp $ */ /* he.h ForeRunnerHE ATM Adapter driver for ATM on Linux Copyright (C) 1999-2001 Naval Research Laboratory This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* he.h ForeRunnerHE ATM Adapter driver for ATM on Linux Copyright (C) 1999-2000 Naval Research Laboratory Permission to use, copy, modify and distribute this software and its documentation is hereby granted, provided that both the copyright notice and this permission notice appear in all copies of the software, derivative works or modified versions, and any portions thereof, and that both notices appear in supporting documentation. NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. */ #ifndef _HE_H_ #define _HE_H_ #define DEV_LABEL "he" #define CONFIG_VCIBITS 12 #define CONFIG_VPIBITS 0 #define CONFIG_IRQ_SIZE 128 #define CONFIG_IRQ_THRESH (CONFIG_IRQ_SIZE/2) #define CONFIG_TPDRQ_SIZE 512 #define TPDRQ_MASK(x) (((unsigned long)(x))&((CONFIG_TPDRQ_SIZE<<3)-1)) #define CONFIG_RBRQ_SIZE 512 #define CONFIG_RBRQ_THRESH 400 #define RBRQ_MASK(x) (((unsigned long)(x))&((CONFIG_RBRQ_SIZE<<3)-1)) #define CONFIG_TBRQ_SIZE 512 #define CONFIG_TBRQ_THRESH 400 #define TBRQ_MASK(x) (((unsigned long)(x))&((CONFIG_TBRQ_SIZE<<2)-1)) #define CONFIG_RBPL_SIZE 512 #define CONFIG_RBPL_THRESH 64 #define CONFIG_RBPL_BUFSIZE 4096 #define RBPL_MASK(x) (((unsigned long)(x))&((CONFIG_RBPL_SIZE<<3)-1)) #ifdef rbps_support #define CONFIG_RBPS_SIZE 512 #define CONFIG_RBPS_THRESH 64 #define CONFIG_RBPS_BUFSIZE 128 #define RBPS_MASK(x) (((unsigned long)(x))&((CONFIG_RBPS_SIZE<<3)-1)) #endif /* these values are configurable but must be set in accordance with page FIXME */ #define CONFIG_RSRA 0x00000 #define CONFIG_RCMLBM 0x08000 #define CONFIG_RCMABR 0x0d800 #define CONFIG_RSRB 0x0e000 #define CONFIG_TSRA 0x00000 #define CONFIG_TSRB 0x08000 #define CONFIG_TSRC 0x0c000 #define CONFIG_TSRD 0x0e000 /* 2.9.3.3 interrupt encodings */ struct he_irq { volatile u32 isw; }; #define IRQ_ALIGNMENT 0x1000 #define NEXT_ENTRY(base, tail, mask) \ (((unsigned long)base)|(((unsigned long)(tail+1))&mask)) #define ITYPE_INVALID 0xffffffff #define ITYPE_TBRQ_THRESH (0<<3) #define ITYPE_TPD_COMPLETE (1<<3) #define ITYPE_RBPS_THRESH (2<<3) #define ITYPE_RBPL_THRESH (3<<3) #define ITYPE_RBRQ_THRESH (4<<3) #define ITYPE_RBRQ_TIMER (5<<3) #define ITYPE_PHY (6<<3) #define ITYPE_OTHER 0x80 #define ITYPE_PARITY 0x81 #define ITYPE_ABORT 0x82 #define ITYPE_GROUP(x) (x & 0x7) #define ITYPE_TYPE(x) (x & 0xf8) #define HE_NUM_GROUPS 8 struct he_tpd { /* read by the adapter */ volatile u32 status; volatile u32 reserved; volatile u32 address1, length1; volatile u32 address2, length2; volatile u32 address3, length3; /* linux-atm extensions */ struct sk_buff *skb; struct atm_vcc *vcc; void *base; }; #define TPD_ALIGNMENT 64 #define BUF_ADDR(x) (x & 0xffffffc0) /* table 2.3 transmit buffer return elements */ struct he_tbrq { volatile u32 tbre; }; #define TBRQ_ALIGNMENT CONFIG_TBRQ_SIZE #define TBRQ_TPD(tbrq) ((tbrq)->tbre & 0xffffffc0) #define TBRQ_EOS(tbrq) ((tbrq)->tbre & (1<<3)) #define TBRQ_MULTIPLE(tbrq) ((tbrq)->tbre & (1)) /* table 2.21 receive buffer return qeueu element field organization */ struct he_rbrq { volatile u32 addr; volatile u32 cidlen; }; #define RBRQ_ALIGNMENT CONFIG_RBRQ_SIZE #define RBRQ_ADDR(rbrq) ((rbrq)->addr & 0xffffffc0) #define RBRQ_CRC_ERR(rbrq) ((rbrq)->addr & (1<<5)) #define RBRQ_LEN_ERR(rbrq) ((rbrq)->addr & (1<<4)) #define RBRQ_END_PDU(rbrq) ((rbrq)->addr & (1<<3)) #define RBRQ_AAL5_PROT(rbrq) ((rbrq)->addr & (1<<2)) #define RBRQ_CON_CLOSED(rbrq) ((rbrq)->addr & (1<<1)) #define RBRQ_HBUF_ERR(rbrq) ((rbrq)->addr & 1) #define RBRQ_CID(rbrq) (((rbrq)->cidlen >> 16) & 0x1fff) #define RBRQ_BUFLEN(rbrq) ((rbrq)->cidlen & 0xffff) /* figure 2.3 transmit packet descriptor ready queue */ struct he_tpdrq { volatile u32 tpd; volatile u32 cid; }; #define TPDRQ_ALIGNMENT CONFIG_TPDRQ_SIZE /* table 2.30 host status page detail */ #define HSP_ALIGNMENT 0x400 /* must align on 1k boundary */ struct he_hsp { struct he_hsp_entry { volatile u32 tbrq_tail; volatile u32 reserved1[15]; volatile u32 rbrq_tail; volatile u32 reserved2[15]; } group[HE_NUM_GROUPS]; }; #define HBUF_ALIGNMENT 64 struct he_buff { int loaned; int len; void *data; dma_addr_t mapping; void *base; }; /* figure 2.9 receive buffer pools */ struct he_rbp { volatile u32 phys; /* virt_to_bus(hbuf->data) */ volatile u32 virt; /* virt_to_bus(hbuf) */ }; /* NOTE: it is suggested that virt be the virtual address of the host buffer. on a 64-bit machine, this does not work. in our driver, virt points to bus address (which is hopefully 32 bit) of the he_buff. in the future, this may need to change. */ #define RBPL_ALIGNMENT CONFIG_RBPL_SIZE #define RBPS_ALIGNMENT CONFIG_RBPS_SIZE #ifdef notyet struct he_group { u32 rpbs_size, rpbs_qsize; struct he_rbp rbps_ba; u32 rpbl_size, rpbl_qsize; struct he_rpb_entry *rbpl_ba; }; #endif #define HE_LOOKUP_VCC(dev, cid) ((dev)->he_vcc_table[(cid)].vcc) struct he_vcc_table { struct atm_vcc *vcc; }; struct he_cs_stper { long pcr; int inuse; }; #define HE_NUM_CS_STPER 16 struct he_dev { unsigned int number; unsigned int irq; unsigned long membase; char prod_id[30]; char mac_addr[6]; int media; /* * 0x26 = HE155 MM * 0x27 = HE622 MM * 0x46 = HE155 SM * 0x47 = HE622 SM */ unsigned int vcibits, vpibits; unsigned int cells_per_row; unsigned int bytes_per_row; unsigned int cells_per_lbuf; unsigned int r0_numrows, r0_startrow, r0_numbuffs; unsigned int r1_numrows, r1_startrow, r1_numbuffs; unsigned int tx_numrows, tx_startrow, tx_numbuffs; unsigned int buffer_limit; struct he_vcc_table *he_vcc_table; #ifdef notyet struct he_group group[HE_NUM_GROUPS]; #endif struct he_cs_stper cs_stper[HE_NUM_CS_STPER]; unsigned total_bw; void *irq_p; struct he_irq *irq_base, *irq_head, *irq_tail; volatile unsigned *irq_tailoffset; int irq_peak; #ifdef USE_TASKLET struct tasklet_struct tasklet; #endif void *tpdrq_p; struct he_tpdrq *tpdrq_base, *tpdrq_tail, *tpdrq_head; spinlock_t tpdrq_lock; /* serialize access to tpdrq */ spinlock_t global_lock; /* 8.1.5 pci transaction ordering error problem */ void *rbrq_p; struct he_rbrq *rbrq_base, *rbrq_head; int rbrq_peak; void *rbpl_p; struct he_rbp *rbpl_base, *rbpl_tail; int rbpl_peak; #ifdef rbps_support void *rbps_p; struct he_rbp *rbps_base, *rbps_tail; int rbps_peak; #endif void *tbrq_p; struct he_tbrq *tbrq_base, *tbrq_head; int tbrq_peak; void *hsp_p; struct he_hsp *hsp; struct pci_dev *pci_dev; struct atm_dev *atm_dev; struct he_dev *next; }; struct he_vcc { struct iovec iov_head[32]; struct iovec *iov_tail; int pdu_len; int rc_index; #if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1) struct wait_queue *rx_waitq; atruct wait_queue *tx_waitq; #else wait_queue_head_t rx_waitq; wait_queue_head_t tx_waitq; #endif }; #define HE_VCC(vcc) ((struct he_vcc *)(vcc->dev_data)) #define PCI_VENDOR_ID_FORE 0x1127 #define PCI_DEVICE_ID_FORE_HE 0x400 #define HE_DMA_MASK 0xffffffff #define GEN_CNTL_0 0x40 #define INT_PROC_ENBL (1<<25) #define SLAVE_ENDIAN_MODE (1<<16) #define MRL_ENB (1<<5) #define MRM_ENB (1<<4) #define INIT_ENB (1<<2) #define IGNORE_TIMEOUT (1<<1) #define ENBL_64 (1<<0) #define MIN_PCI_LATENCY 32 /* errata 8.1.3 */ #define HE_DEV(dev) ((struct he_dev *) (dev)->dev_data) #define he_is622(dev) ((dev)->media & 0x1) #define HE_REGMAP_SIZE 0x100000 #define RESET_CNTL 0x80000 #define BOARD_RST_STATUS (1<<6) #define HOST_CNTL 0x80004 #define PCI_BUS_SIZE64 (1<<27) #define DESC_RD_STATIC_64 (1<<26) #define DATA_RD_STATIC_64 (1<<25) #define DATA_WR_STATIC_64 (1<<24) #define ID_CS (1<<12) #define ID_WREN (1<<11) #define ID_DOUT (1<<10) #define ID_DOFFSET 10 #define ID_DIN (1<<9) #define ID_CLOCK (1<<8) #define QUICK_RD_RETRY (1<<7) #define QUICK_WR_RETRY (1<<6) #define OUTFF_ENB (1<<5) #define CMDFF_ENB (1<<4) #define PERR_INT_ENB (1<<2) #define IGNORE_INTR (1<<0) #define LB_SWAP 0x80008 #define SWAP_RNUM_MAX(x) (x<<27) #define DATA_WR_SWAP (1<<20) #define DESC_RD_SWAP (1<<19) #define DATA_RD_SWAP (1<<18) #define INTR_SWAP (1<<17) #define DESC_WR_SWAP (1<<16) #define SDRAM_INIT (1<<15) #define BIG_ENDIAN_HOST (1<<14) #define XFER_SIZE (1<<7) #define LB_MEM_ADDR 0x8000c #define LB_MEM_DATA 0x80010 #define LB_MEM_ACCESS 0x80014 #define LB_MEM_HNDSHK (1<<30) #define LM_MEM_WRITE (0x7) #define LM_MEM_READ (0x3) #define SDRAM_CTL 0x80018 #define LB_64_ENB (1<<3) #define LB_TWR (1<<2) #define LB_TRP (1<<1) #define LB_TRAS (1<<0) #define INT_FIFO 0x8001c #define INT_MASK_D (1<<15) #define INT_MASK_C (1<<14) #define INT_MASK_B (1<<13) #define INT_MASK_A (1<<12) #define INT_CLEAR_D (1<<11) #define INT_CLEAR_C (1<<10) #define INT_CLEAR_B (1<<9) #define INT_CLEAR_A (1<<8) #define ABORT_ADDR 0x80020 #define IRQ0_BASE 0x80080 #define IRQ_BASE(x) (x<<12) #define IRQ_MASK ((CONFIG_IRQ_SIZE<<2)-1) /* was 0x3ff */ #define IRQ_TAIL(x) (((unsigned long)(x)) & IRQ_MASK) #define IRQ0_HEAD 0x80084 #define IRQ_SIZE(x) (x<<22) #define IRQ_THRESH(x) (x<<12) #define IRQ_HEAD(x) (x<<2) /* #define IRQ_PENDING (1) conflict with linux/irq.h */ #define IRQ0_CNTL 0x80088 #define IRQ_ADDRSEL(x) (x<<2) #define IRQ_INT_A (0<<2) #define IRQ_INT_B (1<<2) #define IRQ_INT_C (2<<2) #define IRQ_INT_D (3<<2) #define IRQ_TYPE_ADDR 0x1 #define IRQ_TYPE_LINE 0x0 #define IRQ0_DATA 0x8008c #define IRQ1_BASE 0x80090 #define IRQ1_HEAD 0x80094 #define IRQ1_CNTL 0x80098 #define IRQ1_DATA 0x8009c #define IRQ2_BASE 0x800a0 #define IRQ2_HEAD 0x800a4 #define IRQ2_CNTL 0x800a8 #define IRQ2_DATA 0x800ac #define IRQ3_BASE 0x800b0 #define IRQ3_HEAD 0x800b4 #define IRQ3_CNTL 0x800b8 #define IRQ3_DATA 0x800bc #define GRP_10_MAP 0x800c0 #define GRP_32_MAP 0x800c4 #define GRP_54_MAP 0x800c8 #define GRP_76_MAP 0x800cc #define G0_RBPS_S 0x80400 #define G0_RBPS_T 0x80404 #define RBP_TAIL(x) ((x)<<3) #define RBP_MASK(x) ((x)|0x1fff) #define G0_RBPS_QI 0x80408 #define RBP_QSIZE(x) ((x)<<14) #define RBP_INT_ENB (1<<13) #define RBP_THRESH(x) (x) #define G0_RBPS_BS 0x8040c #define G0_RBPL_S 0x80410 #define G0_RBPL_T 0x80414 #define G0_RBPL_QI 0x80418 #define G0_RBPL_BS 0x8041c #define G1_RBPS_S 0x80420 #define G1_RBPS_T 0x80424 #define G1_RBPS_QI 0x80428 #define G1_RBPS_BS 0x8042c #define G1_RBPL_S 0x80430 #define G1_RBPL_T 0x80434 #define G1_RBPL_QI 0x80438 #define G1_RBPL_BS 0x8043c #define G2_RBPS_S 0x80440 #define G2_RBPS_T 0x80444 #define G2_RBPS_QI 0x80448 #define G2_RBPS_BS 0x8044c #define G2_RBPL_S 0x80450 #define G2_RBPL_T 0x80454 #define G2_RBPL_QI 0x80458 #define G2_RBPL_BS 0x8045c #define G3_RBPS_S 0x80460 #define G3_RBPS_T 0x80464 #define G3_RBPS_QI 0x80468 #define G3_RBPS_BS 0x8046c #define G3_RBPL_S 0x80470 #define G3_RBPL_T 0x80474 #define G3_RBPL_QI 0x80478 #define G3_RBPL_BS 0x8047c #define G4_RBPS_S 0x80480 #define G4_RBPS_T 0x80484 #define G4_RBPS_QI 0x80488 #define G4_RBPS_BS 0x8048c #define G4_RBPL_S 0x80490 #define G4_RBPL_T 0x80494 #define G4_RBPL_QI 0x80498 #define G4_RBPL_BS 0x8049c #define G5_RBPS_S 0x804a0 #define G5_RBPS_T 0x804a4 #define G5_RBPS_QI 0x804a8 #define G5_RBPS_BS 0x804ac #define G5_RBPL_S 0x804b0 #define G5_RBPL_T 0x804b4 #define G5_RBPL_QI 0x804b8 #define G5_RBPL_BS 0x804bc #define G6_RBPS_S 0x804c0 #define G6_RBPS_T 0x804c4 #define G6_RBPS_QI 0x804c8 #define G6_RBPS_BS 0x804cc #define G6_RBPL_S 0x804d0 #define G6_RBPL_T 0x804d4 #define G6_RBPL_QI 0x804d8 #define G6_RBPL_BS 0x804dc #define G7_RBPS_S 0x804e0 #define G7_RBPS_T 0x804e4 #define G7_RBPS_QI 0x804e8 #define G7_RBPS_BS 0x804ec #define G7_RBPL_S 0x804f0 #define G7_RBPL_T 0x804f4 #define G7_RBPL_QI 0x804f8 #define G7_RBPL_BS 0x804fc #define G0_RBRQ_ST 0x80500 #define G0_RBRQ_H 0x80504 #define G0_RBRQ_Q 0x80508 #define RBRQ_THRESH(x) ((x)<<13) #define RBRQ_SIZE(x) (x) #define G0_RBRQ_I 0x8050c #define RBRQ_TIME(x) ((x)<<8) #define RBRQ_COUNT(x) (x) /* fill in 1 ... 7 later */ #define G0_TBRQ_B_T 0x80600 #define G0_TBRQ_H 0x80604 #define G0_TBRQ_S 0x80608 #define G0_TBRQ_THRESH 0x8060c #define TBRQ_THRESH(x) (x) /* fill in 1 ... 7 later */ #define RH_CONFIG 0x805c0 #define PHY_INT_ENB (1<<10) #define OAM_GID(x) (x<<7) #define PTMR_PRE(x) (x) #define G0_INMQ_S 0x80580 #define G0_INMQ_L 0x80584 #define G1_INMQ_S 0x80588 #define G1_INMQ_L 0x8058c #define G2_INMQ_S 0x80590 #define G2_INMQ_L 0x80594 #define G3_INMQ_S 0x80598 #define G3_INMQ_L 0x8059c #define G4_INMQ_S 0x805a0 #define G4_INMQ_L 0x805a4 #define G5_INMQ_S 0x805a8 #define G5_INMQ_L 0x805ac #define G6_INMQ_S 0x805b0 #define G6_INMQ_L 0x805b4 #define G7_INMQ_S 0x805b8 #define G7_INMQ_L 0x805bc #define TPDRQ_B_H 0x80680 #define TPDRQ_T 0x80684 #define TPDRQ_S 0x80688 #define UBUFF_BA 0x8068c #define RLBF0_H 0x806c0 #define RLBF0_T 0x806c4 #define RLBF1_H 0x806c8 #define RLBF1_T 0x806cc #define RLBC_H 0x806d0 #define RLBC_T 0x806d4 #define RLBC_H2 0x806d8 #define TLBF_H 0x806e0 #define TLBF_T 0x806e4 #define RLBF0_C 0x806e8 #define RLBF1_C 0x806ec #define RXTHRSH 0x806f0 #define LITHRSH 0x806f4 #define LBARB 0x80700 #define SLICE_X(x) (x<<28) #define ARB_RNUM_MAX(x) (x<<23) #define TH_PRTY(x) (x<<21) #define RH_PRTY(x) (x<<19) #define TL_PRTY(x) (x<<17) #define RL_PRTY(x) (x<<15) #define BUS_MULTI(x) (x<<8) #define NET_PREF(x) (x) #define SDRAMCON 0x80704 #define BANK_ON (1<<14) #define WIDE_DATA (1<<13) #define TWR_WAIT (1<<12) #define TRP_WAIT (1<<11) #define TRAS_WAIT (1<<10) #define REF_RATE(x) (x) #define LBSTAT 0x80708 #define RCC_STAT 0x8070c #define RCC_BUSY (1) #define TCMCONFIG 0x80740 #define TM_DESL2 (1<<10) #define TM_BANK_WAIT(x) (x<<6) #define TM_ADD_BANK4(x) (x<<4) #define TM_PAR_CHECK(x) (x<<3) #define TM_RW_WAIT(x) (x<<2) #define TM_SRAM_TYPE(x) (x) #define TSRB_BA 0x80744 #define TSRC_BA 0x80748 #define TMABR_BA 0x8074c #define TPD_BA 0x80750 #define TSRD_BA 0x80758 #define TX_CONFIG 0x80760 #define DRF_THRESH(x) (x<<22) #define TX_UT_MODE(x) (x<<21) #define TX_VCI_MASK(x) (x<<17) #define LBFREE_CNT(x) (x) #define TXAAL5_PROTO 0x80764 #define CPCS_UU(x) (x<<8) #define CPI(x) (x) #define RCMCONFIG 0x80780 #define RM_DESL2(x) (x<<10) #define RM_BANK_WAIT(x) (x<<6) #define RM_ADD_BANK(x) (x<<4) #define RM_PAR_CHECK(x) (x<<3) #define RM_RW_WAIT(x) (x<<2) #define RM_SRAM_TYPE(x) (x) #define RCMRSRB_BA 0x80784 #define RCMLBM_BA 0x80788 #define RCMABR_BA 0x8078c #define RC_CONFIG 0x807c0 #define UT_RD_DELAY(x) (x<<11) #define WRAP_MODE(x) (x<<10) #define RC_UT_MODE(x) (x<<9) #define RX_ENABLE (1<<8) #define RX_VALVP(x) (x<<4) #define RX_VALVC(x) (x) #define MCC 0x807c4 #define OEC 0x807c8 #define DCC 0x807cc #define CEC 0x807d0 #define HSP_BA 0x807f0 #define LB_CONFIG 0x807f4 #define LB_SIZE(x) (x) #define CON_DAT 0x807f8 #define CON_CTL 0x807fc #define CON_CTL_MBOX (2<<30) #define CON_CTL_TCM (1<<30) #define CON_CTL_RCM (0<<30) #define CON_CTL_WRITE (1<<29) #define CON_CTL_READ (0<<29) #define CON_CTL_BUSY (1<<28) #define CON_BYTE_DISABLE_3 (1<<22) /* 24..31 */ #define CON_BYTE_DISABLE_2 (1<<21) /* 16..23 */ #define CON_BYTE_DISABLE_1 (1<<20) /* 8..15 */ #define CON_BYTE_DISABLE_0 (1<<19) /* 0..7 */ #define CON_CTL_ADDR(x) (x) #define FRAMER 0x80800 /* 3.3 network controller (internal) mailbox registers */ #define CS_STPER0 0x0 /* ... */ #define CS_STPER31 0x01f #define CS_STTIM0 0x020 /* ... */ #define CS_STTIM31 0x03f #define CS_TGRLD0 0x040 /* ... */ #define CS_TGRLD15 0x04f #define CS_ERTHR0 0x050 #define CS_ERTHR1 0x051 #define CS_ERTHR2 0x052 #define CS_ERTHR3 0x053 #define CS_ERTHR4 0x054 #define CS_ERCTL0 0x055 #define TX_ENABLE (1<<28) #define ER_ENABLE (1<<27) #define CS_ERCTL1 0x056 #define CS_ERCTL2 0x057 #define CS_ERSTAT0 0x058 #define CS_ERSTAT1 0x059 #define CS_RTCCT 0x060 #define CS_RTFWC 0x061 #define CS_RTFWR 0x062 #define CS_RTFTC 0x063 #define CS_RTATR 0x064 #define CS_TFBSET 0x070 #define CS_TFBADD 0x071 #define CS_TFBSUB 0x072 #define CS_WCRMAX 0x073 #define CS_WCRMIN 0x074 #define CS_WCRINC 0x075 #define CS_WCRDEC 0x076 #define CS_WCRCEIL 0x077 #define CS_BWDCNT 0x078 #define CS_OTPPER 0x080 #define CS_OTWPER 0x081 #define CS_OTTLIM 0x082 #define CS_OTTCNT 0x083 #define CS_HGRRT0 0x090 /* ... */ #define CS_HGRRT7 0x097 #define CS_ORPTRS 0x0a0 #define RXCON_CLOSE 0x100 #define RCM_MEM_SIZE 0x10000 /* 1M of 32-bit registers */ #define TCM_MEM_SIZE 0x20000 /* 2M of 32-bit registers */ /* 2.5 transmit connection memory registers */ #define TSR0_CONN_STATE(x) ((x>>28) & 0x7) #define TSR0_USE_WMIN (1<<23) #define TSR0_GROUP(x) ((x & 0x7)<<18) #define TSR0_ABR (2<<16) #define TSR0_UBR (1<<16) #define TSR0_CBR (0<<16) #define TSR0_PROT (1<<15) #define TSR0_AAL0_SDU (2<<12) #define TSR0_AAL0 (1<<12) #define TSR0_AAL5 (0<<12) #define TSR0_HALT_ER (1<<11) #define TSR0_MARK_CI (1<<10) #define TSR0_MARK_ER (1<<9) #define TSR0_UPDATE_GER (1<<8) #define TSR0_RC_INDEX(x) (x & 0x1F) #define TSR1_PCR(x) ((x & 0x7FFF)<<16) #define TSR1_MCR(x) (x & 0x7FFF) #define TSR2_ACR(x) ((x & 0x7FFF)<<16) #define TSR3_NRM_CNT(x) ((x & 0xFF)<<24) #define TSR3_CRM_CNT(x) (x & 0xFFFF) #define TSR4_FLUSH_CONN (1<<31) #define TSR4_SESSION_ENDED (1<<30) #define TSR4_CRC10 (1<<28) #define TSR4_NULL_CRC10 (1<<27) #define TSR4_PROT (1<<26) #define TSR4_AAL0_SDU (2<<23) #define TSR4_AAL0 (1<<23) #define TSR4_AAL5 (0<<23) #define TSR9_OPEN_CONN (1<<20) #define TSR11_ICR(x) ((x & 0x7FFF)<<16) #define TSR11_TRM(x) ((x & 0x7)<<13) #define TSR11_NRM(x) ((x & 0x7)<<10) #define TSR11_ADTF(x) (x & 0x3FF) #define TSR13_RDF(x) ((x & 0xF)<<23) #define TSR13_RIF(x) ((x & 0xF)<<19) #define TSR13_CDF(x) ((x & 0x7)<<16) #define TSR13_CRM(x) (x & 0xFFFF) #define TSR14_DELETE (1<<31) #define TSR14_ABR_CLOSE (1<<16) /* 2.7.1 per connection receieve state registers */ #define RSR0_START_PDU (1<<10) #define RSR0_OPEN_CONN (1<<6) #define RSR0_CLOSE_CONN (0<<6) #define RSR0_PPD_ENABLE (1<<5) #define RSR0_EPD_ENABLE (1<<4) #define RSR0_TCP_CKSUM (1<<3) #define RSR0_AAL5 (0) #define RSR0_AAL0 (1) #define RSR0_AAL0_SDU (2) #define RSR0_RAWCELL (3) #define RSR0_RAWCELL_CRC10 (4) #define RSR1_AQI_ENABLE (1<<20) #define RSR1_RBPL_ONLY (1<<19) #define RSR1_GROUP(x) ((x)<<16) #define RSR4_AQI_ENABLE (1<<30) #define RSR4_GROUP(x) ((x)<<27) #define RSR4_RBPL_ONLY (1<<26) /* 2.1.4 transmit packet descriptor */ #define TPD_USERCELL 0x0 #define TPD_SEGMENT_OAMF5 0x4 #define TPD_END2END_OAMF5 0x5 #define TPD_RMCELL 0x6 #define TPD_CELLTYPE(x) (x<<3) #define TPD_EOS (1<<2) #define TPD_CLP (1<<1) #define TPD_INT (1) #define TPD_LST (1<<31) /* table 4.3 serial eeprom information */ #define PROD_ID 0x08 /* char[] */ #define PROD_ID_LEN 30 #define HW_REV 0x26 /* char[] */ #define M_SN 0x3a /* integer */ #define MEDIA 0x3e /* integer */ #define HE155MM 0x26 #define HE155SM 0x27 #define HE622MM 0x46 #define HE622SM 0x47 #define MAC_ADDR 0x42 /* char[] */ #define CS_LOW 0x0 #define CS_HIGH ID_CS /* HOST_CNTL_ID_PROM_SEL */ #define CLK_LOW 0x0 #define CLK_HIGH ID_CLOCK /* HOST_CNTL_ID_PROM_CLOCK */ #define SI_HIGH ID_DIN /* HOST_CNTL_ID_PROM_DATA_IN */ #define EEPROM_DELAY 400 /* microseconds */ /* Read from EEPROM = 0000 0011b */ unsigned int readtab[] = { CS_HIGH | CLK_HIGH, CS_LOW | CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW, CLK_HIGH, /* 0 */ CLK_LOW | SI_HIGH, CLK_HIGH | SI_HIGH, /* 1 */ CLK_LOW | SI_HIGH, CLK_HIGH | SI_HIGH /* 1 */ }; /* Clock to read from/write to the EEPROM */ unsigned int clocktab[] = { CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW, CLK_HIGH, CLK_LOW }; #endif /* _HE_H_ */ --- NEW FILE: he.patch-2.2 --- --- Config.in.000 Thu Feb 17 17:32:10 2000 +++ Config.in Thu Feb 17 17:33:17 2000 @@ -42,4 +42,5 @@ if [ "$CONFIG_ATM_HORIZON" != "n" ]; then bool ' Enable debugging messages' CONFIG_ATM_HORIZON_DEBUG fi + tristate 'FORE HE' CONFIG_ATM_HE y fi --- Makefile.000 Thu Feb 17 17:33:22 2000 +++ Makefile Fri Mar 10 16:10:13 2000 @@ -66,6 +66,16 @@ endif endif +ifeq ($(CONFIG_ATM_HE),y) +O_OBJS += he.o +OX_OBJS += suni.o +else + ifeq ($(CONFIG_ATM_HE),m) + M_OBJS += he.o + MX_OBJS += suni.o + endif +endif + ifeq ($(CONFIG_ATM_TCP),y) O_OBJS += atmtcp.o else --- atmdev_init.c.000 Thu Feb 17 17:34:08 2000 +++ atmdev_init.c Thu Feb 17 17:34:38 2000 @@ -28,6 +28,9 @@ #ifdef CONFIG_ATM_HORIZON extern int hrz_detect(void); #endif +#ifdef CONFIG_ATM_HE +extern int he_detect(void); +#endif __initfunc(int atmdev_init(void)) @@ -55,6 +58,9 @@ #endif #ifdef CONFIG_ATM_HORIZON devs += hrz_detect(); +#endif +#ifdef CONFIG_ATM_HE + devs += he_detect(); #endif return devs; } --- NEW FILE: he.patch-2.4 --- --- Makefile~ Sat Apr 7 14:25:21 2001 +++ Makefile Sat Apr 7 14:25:15 2001 @@ -23,6 +23,7 @@ obj-$(CONFIG_ATM_HORIZON) += horizon.o obj-$(CONFIG_ATM_AMBASSADOR) += ambassador.o +obj-$(CONFIG_ATM_HE) += he.o obj-$(CONFIG_ATM_TCP) += atmtcp.o obj-$(CONFIG_ATM_IA) += iphase.o suni.o --- Config.in~ Wed Feb 21 22:24:57 2001 +++ Config.in Fri Mar 23 08:52:02 2001 @@ -84,5 +84,6 @@ define_tristate CONFIG_ATM_FORE200E m fi fi + tristate 'FORE HE' CONFIG_ATM_HE y fi endmenu --- NEW FILE: hediag.c --- #include <stdio.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/socket.h> #include <atm.h> #include <linux/atmdev.h> #include <linux/sonet.h> #include <linux/atm_he.h> struct reg_table { unsigned addr; char *name; }; struct reg_table pci_regs[] = { { 0x80000, "reset_cntl" }, { 0x80004, "host_cntl" }, { 0x80008, "lb_swap" }, { 0x8000c, "lb_mem_addr" }, { 0x80010, "lb_mem_data" }, { 0x80014, "lb_mem_access" }, { 0x80018, "sdram_ctl" }, { 0x8001c, "int_fifo" }, { 0x80020, "abort_addr" }, { 0x80080, "irq0_base" }, { 0x80084, "irq0_head" }, { 0x80088, "irq0_cntl" }, { 0x8008c, "irq0_data" }, /* fill in 1-4 later */ { 0x800c0, "grp_10_map" }, { 0x800c4, "grp_32_map" }, { 0x800c8, "grp_54_map" }, { 0x800cc, "grp_76_map" }, { 0x80400, "g0_rbps_s" }, { 0x80404, "g0_rbps_t" }, { 0x80408, "g0_rbps_qi" }, { 0x8040c, "g0_rbps_bs" }, { 0x80410, "g0_rbpl_s" }, { 0x80414, "g0_rbpl_t" }, { 0x80418, "g0_rbpl_qi" }, { 0x8041c, "g0_rbpl_bs" }, /* fill in 1-7 later */ { 0x80580, "g0_inmq_s" }, { 0x80584, "g0_inmq_l" }, { 0x80588, "g1_inmq_s" }, { 0x8058c, "g1_inmq_l" }, { 0x80590, "g2_inmq_s" }, { 0x80594, "g2_inmq_l" }, { 0x80598, "g3_inmq_s" }, { 0x8059c, "g3_inmq_l" }, { 0x805a0, "g4_inmq_s" }, { 0x805a4, "g4_inmq_l" }, { 0x805a8, "g5_inmq_s" }, { 0x805ac, "g5_inmq_l" }, { 0x805b0, "g6_inmq_s" }, { 0x805b4, "g6_inmq_l" }, { 0x805b8, "g7_inmq_s" }, { 0x805bc, "g7_inmq_l" }, { 0x80680, "tpdrq_b_h" }, { 0x80684, "tpdrq_t" }, { 0x80688, "tpdrq_s" }, { 0x8068c, "ubuff_ba" }, { 0x806c0, "rlbf0_h" }, { 0x806c4, "rlbf0_t" }, { 0x806c8, "rlbf1_h" }, { 0x806cc, "rlbf1_t" }, { 0x806d0, "rlbc_h" }, { 0x806d4, "rlbc_t" }, { 0x806d8, "rlbc_h2" }, { 0x806e0, "tlbf_h" }, { 0x806e4, "tlbf_t" }, { 0x806e8, "rlbf0_c" }, { 0x806ec, "rlbf1_c" }, { 0x806f0, "rxthrsh" }, { 0x806f4, "lithrsh" }, { 0x80700, "lbarb" }, { 0x80704, "sdramcon" }, { 0x80708, "lbstat" }, { 0x8070c, "rcc_stat" }, { 0x80740, "tcmconfig" }, { 0x80744, "tsrb_ba" }, { 0x80748, "tsrc_ba" }, { 0x8074c, "tmabr_ba" }, { 0x80750, "tpd_ba" }, { 0x80758, "tsrd_ba" }, { 0x80760, "tx_config" }, { 0x80764, "txaal5_proto" }, { 0x80780, "rcmconfig" }, { 0x80784, "rsrb_ba" }, { 0x80788, "rcmlbm_ba" }, { 0x8078c, "rcmabr_ba" }, { 0x807c0, "rc_config" }, { 0x807c4, "mcc" }, { 0x807c8, "oec" }, { 0x807cc, "dcc" }, { 0x807d0, "cec" }, { 0x807f4, "lb_config" }, { 0x807f0, "hsp_ba" }, { 0x807f8, "con_dat" }, { 0x807fc, "con_ctl" }, { 0x00000, NULL } }; char * reg_name(unsigned addr) { struct reg_table *regp = pci_regs; while ( regp->name != NULL ) { if (regp->addr == addr) return regp->name; regp++; } return NULL; } int main(int argc,char **argv) { int s; struct atmif_sioc sioc; struct he_ioctl_reg req; if (argc < 3) { fprintf(stderr,"usage: hediag itf [cmd]\n"); fprintf(stderr,"\t\treadpci address\n"); fprintf(stderr,"\t\treadrcm address\n"); fprintf(stderr,"\t\treadtcm address\n"); fprintf(stderr,"\t\treadmbox address\n"); exit(1); } if (strcmp(argv[2], "readpci") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_PCI; } else if (strcmp(argv[2], "readrcm") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_RCM; } else if (strcmp(argv[2], "readtcm") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_TCM; } else if (strcmp(argv[2], "readmbox") == 0) { req.addr = strtol(argv[3], NULL, 0); req.type = HE_REGTYPE_MBOX; } if ((s = socket(PF_ATMPVC, SOCK_DGRAM, ATM_AAL5)) < 0) { perror("socket"); exit(1); } sioc.number = atoi(argv[1]); sioc.arg = &req; sioc.length = sizeof(req); if (ioctl(s, HE_GET_REG, &sioc) < 0) { perror("ioctl HE_GET_REG"); exit(1); } if (reg_name(req.addr)) printf("%s = 0x%x\n", reg_name(req.addr), req.val); else printf("0x%x = 0x%x\n", req.addr, req.val); exit(0); } |
From: Paul B. S. <pa...@us...> - 2001-10-15 20:59:55
|
Update of /cvsroot/linux-atm/linux-atm/src/extra/drivers In directory usw-pr-cvs1:/tmp/cvs-serv5937/src/extra/drivers Log Message: Directory /cvsroot/linux-atm/linux-atm/src/extra/drivers added to the repository |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:39
|
Update of /cvsroot/linux-atm/linux-atm/src/debug In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/src/debug Added Files: Makefile-0.79 Makefile.am delay.c dnstest.c ed.c peek.pl svctor.c znth.c Log Message: Merge V2_4_0 branch into the main branch... |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:39
|
Update of /cvsroot/linux-atm/linux-atm/src/extra In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/src/extra Added Files: Makefile.am linux-atm.spec.in Log Message: Merge V2_4_0 branch into the main branch... |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:39
|
Update of /cvsroot/linux-atm/linux-atm/src/config/init-redhat In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/src/config/init-redhat Added Files: Makefile.am README atm atm-sysconfig ifcfg-lec0 Log Message: Merge V2_4_0 branch into the main branch... |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:39
|
Update of /cvsroot/linux-atm/linux-atm/src/arpd In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/src/arpd Added Files: Makefile-0.79 Makefile.am arp.c arp.h atmarp.8 atmarp.c atmarp.h atmarpd.8 atmarpd.c atmarpd.h io.c io.h itf.c itf.h table.c table.h Log Message: Merge V2_4_0 branch into the main branch... |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:39
|
Update of /cvsroot/linux-atm/linux-atm/src/config In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/src/config Added Files: Makefile.am hosts.atm Log Message: Merge V2_4_0 branch into the main branch... |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:38
|
Update of /cvsroot/linux-atm/linux-atm/src In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/src Added Files: Makefile.am Log Message: Merge V2_4_0 branch into the main branch... |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:36
|
Update of /cvsroot/linux-atm/linux-atm/m4 In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/m4 Added Files: Makefile.am Log Message: Merge V2_4_0 branch into the main branch... |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:35
|
Update of /cvsroot/linux-atm/linux-atm/doc In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm/doc Modified Files: README Added Files: Makefile.am README.tc atm-linux-howto.sgml atm-linux-howto.txt Removed Files: Makefile README.DNS rlatex t2a.pl url.sty usage.tex usage.txt Log Message: Merge V2_4_0 branch into the main branch... Index: README =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/doc/README,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README 2001/08/20 21:03:54 1.1 --- README 2001/10/09 22:33:02 1.2 *************** *** 1,26 **** ! Linux ATM, documentation ! ======================== ! ! In order to generate the document from the source, you need Perl 4 or Perl 5. ! ! If you also have LaTeX: In order to generate a DVI file for further ! processing, type ! ! make dvi ! ! If you also have LaTeX and dvips: In order to generate PostScript outout, ! type ! ! make ps ! In order to generate plain ASCII output, type ! make ascii ! To clean up, type ! make clean - or - make spotless --- 1,20 ---- ! In order to build the documentation just do: ! make my_favorite_doc_type ! Where my_favorite_doc_type is one of: ! html - HyperText Markup Language (HTML) ! txt - ASCII plain text ! rtf - Rich Text Format ! ps - Postscript ! pdf - Portable Document Format (PDF) ! SGMLtools-Lite (http://sgmltools-lite.sourceforge.net/) is used to create the ! HTML, text, and Postscript verions of the documentation as it does the best ! overall job of creating those document types. It won't work if you wish to ! create the RTF or PDF versions of the document. You will need the ! Cygnus DocBook Tools available from RedHat (http://www.redhat.com/) if you ! wish to create those document types. --- Makefile DELETED --- --- README.DNS DELETED --- --- rlatex DELETED --- --- t2a.pl DELETED --- --- url.sty DELETED --- --- usage.tex DELETED --- --- usage.txt DELETED --- |
From: Paul B. S. <pa...@us...> - 2001-10-09 22:33:34
|
Update of /cvsroot/linux-atm/linux-atm In directory usw-pr-cvs1:/tmp/cvs-serv29253/linux-atm Modified Files: README Added Files: AUTHORS ChangeLog Makefile.am NEWS THANKS acconfig.h autotools config.h.in configure.in Removed Files: .kernel CHANGES CREDITS Makefile README.DRIVERS Rules.make VERSION mkbindist mkdiff mkdist mkpatch Log Message: Merge V2_4_0 branch into the main branch... Index: README =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/README,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README 2001/08/20 21:03:36 1.1 --- README 2001/10/09 22:33:01 1.2 *************** *** 1,6 **** ! ATM on Linux, release 0.79 (beta) ================================= ! Werner Almesberger, EPFL ICA <Wer...@ep...> Mitchell Blank Jr., <mi...@sf...> Paul B Schroeder, <pa...@us...> --- 1,6 ---- ! ATM on Linux, release 2.4.0 (beta) ================================= ! Werner Almesberger, EPFL ICA <wa...@al...> Mitchell Blank Jr., <mi...@sf...> Paul B Schroeder, <pa...@us...> *************** *** 11,24 **** still change every once in a while. Use at your own risk. - This package contains a kernel patch for ATM protocol stacks and for ATM - device drivers, source for demons, management and test tools, and some - documentation. - Please see http://linux-atm.sourceforge.net/ for a list of features supported by ATM on Linux. ! For usage and installation instructions, please read the file USAGE or ! generate the LaTeX documentation in doc/ The README in that directory ! explains how. For known restrictions and bugs, please read the file BUGS. --- 11,25 ---- still change every once in a while. Use at your own risk. Please see http://linux-atm.sourceforge.net/ for a list of features supported by ATM on Linux. ! If you're just looking for the device drivers: they're either ! already in the mainstream kernel or, for those which are not ! integrated, found by visiting http://linux-atm.sourceforge.net/. + For usage and installation instructions, please read the "ATM on Linux HOWTO" + in the doc/ directory. The README in that directory explains how to generate + alternative document types of the documentation. + For known restrictions and bugs, please read the file BUGS. + --- .kernel DELETED --- --- CHANGES DELETED --- --- CREDITS DELETED --- --- Makefile DELETED --- --- README.DRIVERS DELETED --- --- Rules.make DELETED --- --- VERSION DELETED --- --- mkbindist DELETED --- --- mkdiff DELETED --- --- mkdist DELETED --- --- mkpatch DELETED --- |