freebsd-skq/sys
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
..
alpha/include Added the psm driver from 1.1.5. 1994-09-09 11:27:50 +00:00
amd64 Eliminated a whole pile of ancient (we're taking 4.3BSD) VM system 1994-09-12 11:38:31 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Deleted the pccons driver from the files.i386, added the seagate driver 1994-09-11 21:09:52 +00:00
ddb 386bsd -> kernel in strings. 1994-09-05 14:04:56 +00:00
dev Digicom Systems Inc, makes "softmodems". What this means is simply that 1994-09-13 03:30:31 +00:00
fs Relaxed panic in fdesc_setattr() to just return error. 1994-09-09 13:24:26 +00:00
gnu Quiet down compiler warnings. 1994-08-31 04:45:24 +00:00
i386 Digicom Systems Inc, makes "softmodems". What this means is simply that 1994-09-13 03:30:31 +00:00
isa Digicom Systems Inc, makes "softmodems". What this means is simply that 1994-09-13 03:30:31 +00:00
isofs/cd9660 Fixed some confusion between the size of a logical block and the size of a 1994-09-09 11:11:01 +00:00
kern Forgot to check this important file in. 1994-09-13 02:21:48 +00:00
libkern Added qmin and qmax functions to deal with quad_t's. 1994-08-30 18:19:47 +00:00
miscfs Relaxed panic in fdesc_setattr() to just return error. 1994-09-09 13:24:26 +00:00
net Re-enabled check for low clist condition. 1994-09-12 11:49:49 +00:00
netccitt Made idempotent 1994-08-21 05:44:12 +00:00
netinet Disable IPMULTICAST_VIF socket option when MROUTING is not defined, 1994-09-09 22:05:02 +00:00
netiso Made idempotent -- made some of them more consistent with rest of tree. 1994-08-21 06:14:33 +00:00
netns Made idempotent. 1994-08-21 06:22:12 +00:00
nfs "bogus" fixes from 1.1.5 to work around some cache coherency problems. 1994-08-29 06:09:15 +00:00
nfsclient "bogus" fixes from 1.1.5 to work around some cache coherency problems. 1994-08-29 06:09:15 +00:00
nfsserver "bogus" fixes from 1.1.5 to work around some cache coherency problems. 1994-08-29 06:09:15 +00:00
pci Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> 1994-09-01 02:01:45 +00:00
powerpc/include Added $Id$ 1994-08-02 07:55:43 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi Removed all vestiges of tlbflush(). Replaced them with calls to pmap_update(). 1994-09-02 04:12:26 +00:00
sys Add an ioctl to download microcode to DSI softmodem. 1994-09-13 03:19:19 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs Eliminated a whole pile of ancient (we're taking 4.3BSD) VM system 1994-09-12 11:38:31 +00:00
vm Fixed a bug I introduced when fixing the rss limit code. Changed swapout 1994-09-12 15:06:14 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00