freebsd-skq/sys/i386
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
..
boot Conditionalize support for my debugger. This normally saves 304 bytes. 1994-08-30 01:38:04 +00:00
conf Deleted the pccons driver from the files.i386, added the seagate driver 1994-09-11 21:09:52 +00:00
eisa Reviewed by: Stefan Esser <se> 1994-08-31 23:32:32 +00:00
i386 Eliminated a whole pile of ancient (we're taking 4.3BSD) VM system 1994-09-12 11:38:31 +00:00
include Eliminated a whole pile of ancient (we're taking 4.3BSD) VM system 1994-09-12 11:38:31 +00:00
isa Digicom Systems Inc, makes "softmodems". What this means is simply that 1994-09-13 03:30:31 +00:00
pci Reviewed by: Stefan Esser <se> 1994-09-06 22:39:12 +00:00
Makefile Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00