freebsd-skq/sys/isa
phk 52a89a0c57 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
..
ic Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
atrtc.c Fix up some sloppy coding practices: 1994-08-18 22:36:09 +00:00
fd.c Use RAW_PART=2 to trick diskerr 1994-08-29 21:32:31 +00:00
fdc.h From: Jim Babb <babb@sedhps01.mdc.com> 1994-02-14 22:24:28 +00:00
fdreg.h Change all #includes to follow the current Berkeley style. Some of these 1994-08-13 03:50:34 +00:00
kbdtables.h Updated swedish keymap. 1994-04-26 09:24:06 +00:00
rtc.h Enable use of the RTC chip for the statistical clock. While this does 1994-08-15 03:15:20 +00:00
sio.c Digicom Systems Inc, makes "softmodems". What this means is simply that 1994-09-13 03:30:31 +00:00
sioreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00
syscons.c 1) Changed ddb into a option rather than a pseudo-device (use options DDB 1994-08-27 16:14:39 +00:00
timerreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00