FreeBSD src
Go to file
Poul-Henning Kamp 5b7ffe398f Digicom Systems Inc, makes "softmodems". What this means is simply that
you download the microcode to the DSP everytime you power on your system.
They provide a dos-program to do so, but no other support.  This commit adds
code to the sio-driver, which implement an ioctl, which will down-load the
micro-code.

To get this functionality, you must define DSI_SOFT_MODEM.

The program to actually employ the ioctl is not included, but the entire
source looks like this:

        #include <sys/ioctl.h>
        #include <stdio.h>

        main()
        {
                unsigned char buffer[100000];
                int i;

                read(0,buffer,100000);
                if((i = ioctl(1,TIOCDSIMICROCODE,buffer)) < 0)
                    perror("ioctl");
                return i;
        }

And you use it like this:
	smload < data144b.dsi > /dev/ttyid3

You need to copy the *.DSI files from the dos-media provide with your modem.
You can see what is downloaded by issuing the ATI3 command to the modem.
DSI's scheme for what code you can run on your modem isn't violated by this.

Poul-Henning Kamp
phk@freefall.cdrom.com
1994-09-13 03:30:31 +00:00
bin Make get_int() think that "" (null) has the integer value 0. 1994-09-11 21:30:09 +00:00
eBones Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:53:28 +00:00
etc Added /usr/share/examples and subdirectories. 1994-09-13 02:14:57 +00:00
games Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
gnu Include of bsd.prog.mk should almost always be the last line of the file. 1994-09-12 05:10:07 +00:00
include Don't install math.h if WANT_MSUN is defined. lib/msun has its own 1994-09-08 10:36:30 +00:00
lib Subwin code forget to subtract orig->beg{x,y} cause SEGV 1994-09-12 11:41:29 +00:00
libexec Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:53:28 +00:00
sbin Woops, last patch was by Wolfgang Solfrank. 1994-09-09 11:16:03 +00:00
secure Add libcipher.a: libcrypt exports only crypt() but not des_setkey() 1994-09-12 17:27:55 +00:00
share Don't be so aggressive when installing examples. We still delete the 1994-09-13 02:21:03 +00:00
sys Digicom Systems Inc, makes "softmodems". What this means is simply that 1994-09-13 03:30:31 +00:00
tools/regression/usr.bin/sed BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
usr.bin Add f2c, rpcgen and rpcinfo, need a decission on cpp and uucp. 1994-09-12 04:41:14 +00:00
usr.sbin This commit was generated by cvs2svn to compensate for changes in r2702, 1994-09-13 03:29:24 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
CVS-INFO Documented the new CVS template. This really isn't the right place for it, 1994-07-24 22:27:27 +00:00
HW.TROUBLE Added the first three entries. Changed the intro a bit. 1994-08-28 20:48:37 +00:00
Makefile Enable call to beforeinstall for libg++ and add one for libreadline. 1994-09-12 05:17:15 +00:00
TODO Added a task: make PAS16 a controller. 1994-09-11 20:01:03 +00:00