Re: I have information/driver source for winmodem's (no Joke)

H. Peter Anvin (hpa@transmeta.com)
13 Apr 1999 05:38:45 GMT


Followup to: <199904110601.CAA29342@jupiter.cs.uml.edu>
By author: "Albert D. Cahalan" <acahalan@cs.uml.edu>
In newsgroup: linux.dev.kernel
>
> Having the commands programmed elseware _does_ help. Since your modem
> does not handle AT commands, you need to emulate them. For the ISDN
> drivers, the kernel already interprets the AT commands in software.
>
> Got it?
>
> In other words, you would have a /dev/whatever file that you can use
> with normal dialup software. The device file accepts AT commands,
> even though the modem itself does not accept them.
>
> > well the one that the base drivers are written in is assembly for the intel
> > processor (the only chip the modems will work with) however if i found that
>
> You will need to do one of these:
>
> A. Convert the assembly from MASM syntax to gas syntax.
> I once saw a sed script to do it.
>
> B. Use the NASM assembler instead of gas.
>
> C. Write plain C to replace the assembly.
>

C. is definitely the better choice; it will let you use it on other
platforms. This is probably feasible for a controllerless modem,
probably not so for a DSP-less one...

-hpa

-- 
"The user's computer downloads the ActiveX code and simulates a 'Blue
Screen' crash, a generally benign event most users are familiar with
and that would not necessarily arouse suspicions."
-- Security exploit description on http://www.zks.net/p3/how.asp

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/