5b7ffe398f
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 |
||
---|---|---|
.. | ||
boot | ||
conf | ||
eisa | ||
i386 | ||
include | ||
isa | ||
pci | ||
Makefile |