Changes to 5.95 LTMODEM Lucent Modem Driver
-------------------------------------------
Author: Mark Spieth
Date:	14/4/2001

Disclaimer
----------
GPL'ed except for the binary module which is of unknown status.

No responsibility is undertaken for any of this. The user takes
full responsibility and risk if this modified package is used.

Change Log
----------
5.99a3 ** Sat May 12 15:50:26 EST 2001

- ported to 5.99
  fixed up rpm build procedure to use build_module as an integral part
  fixed build_module to support more forced kernel versions

5.95a1 ** Sat Apr 14 15:19:20 EST 2001

- ported 5.95 over to the new architecture. only the ltmdmobj.o from the 2.4
  kit was used as it seems to be the same.
  need to tweek the install scripts

5.78f4 ** Sat Mar 10 12:27:32 EST 2001

- ported chris hebeisen autoconf based system and split module 
  system into CVS and adjusted make/build system.

5.78f1 ** Sat Feb 24 09:36:33 EST 2001

- fixed up 2.4 device registration under 2.4 kernel
  thanks to Christoph Roland

5.78e ** Sun Feb 11 10:48:18 EST 2001

- added Forced= parameter to allow overriding of defaults.
  use with care

- reorganised docs and complete structure to make things easier
  now uses build_rpm and build_module to make it

- fixed ltmodem.spec so it doesnt do the copy on %post and
  places the driver in the correct modules directory
  use /etc/modutils/aliases if it exists and to run update-modules
  put ltmodem.o in /libn/modules/xxx/kernel/drivers/char in 2.4 kernels
  auto select this dir depending on build system kernel version
  extra build requirements

- fixed warnigns in both 2.4 and 2.2 serial.c which could be
  dangerous

- applied vladimirs irq patch for 2.4 serial.c

- improved Makefile for package generation

- fixed ltinst and ltunisnt to use the /etc/modutils/aliases if
  it exists and to run update-modules
  place driver in correct modules directory

- few more comments in Makefile

- renamed comment files as all upper case. put them in the spec file

- added Marvin Stodolsky's debian package directory 
  (not complete. help anyone?)

- added XIRCOM pci devices to default package.

- added module parameters vendor_id and device_id to support compatible
  use E.G.
  modprobe ltmodem.o vendor_id=0x11c1 device_id=0x10
  report any working combinations to discuss@linmodems.org for 
  incorporation to the next release


5.78d ** Wed Dec 27 12:38:35 EST 2000 **

makes 2.2 and 2.4 drivers depending on uname -r
2.4 drivers are built according to marco's patches with minor mods.

debian package build (testing)

There was a problem with the 5.78c rpm post install script which 
caused it not to run. Thus the devices were not made correctly

original files no longer packaged with this release. ltinst and ltuninst
were previously known as ltinst2 and ltuninst2. Ther originals can 
be found in the original i56lvp578.zip package. Same goes for all other
files.

Building
--------

make

or if the headers that are required live elsewhere

make SYSTEM=/usr/

default path is /usr/src/linux/

RPM Building
------------

rpm -ta ltmodem-@RELEASE@.tar.gz
or
rpm -tb ltmodem-@RELEASE@.tar.gz

then install package with 

rpm -U ltmodem-`uname -r`-@RELEASE@-1.i586.rpm

Autoloading of ltmodem.o
------------------------

ltinst enables demand loading of the ltmodem.o
module. ltuninst removes the configuration

Change Notes
------------

The following changes were made to the ltmodem.o driver.
These changes were based on the semi-source version of 5.78.

linuxif.h

Removed all definitions except for the lucent one. No more of this ttyS14
config.

ltinst

new. 
creates ttyLT0 ttyS14 and a link from modem
adds alias to conf.module or modules.conf (depending on modutils)

ltuninst

new
undoes ltinst

Makefile

Added extra compiler include so that /usr/src/linux is included as a base
include path.
Conditionally compiles 2.4 kernel module

serial.c

Lots here.
rs_interrupt_single changed to rs_interrupt_lucent. Needed a symbol name change
in the precompiled modem library ltmdmobj.o.
Made rs_interrupt_lucent linkable. This was the main problem in the
  later kernels
Disabled CONFIG_SERIAL_MULTIPORT CONFIG_SERIAL_SHARE_IRQ 
	CONFIG_SERIAL_MANY_PORTS CONFIG_HUB6 as they are superfluous.
Removed completely register_serial unregister_serial as they conflict
  with the standard serial driver.
Changed kernel message to ttyLT
Changed driver name to lucent from serial
First one is now the lucent device.
Disabled CONFIG_SERIAL_CONSOLE as this wouldnt work anyway.

ltmodem-2.4.patch

patch for 2.4 kernel module creation for ltmodem.c and linuxif.h.
minor mod to marco's.

serial-2.4.patch

patch for 2.4 kernel module creation for serial.c. minor mod to marco's.

serial.c.240test11

original 2.4 serial.c file. taken from marco's patches.

ltmdmobj.o

binary proprietry object from i56lvp578.zip

