[vortex-bug] device driver for 3c905C

vara prasad Ajjampudi varaprasad246@hotmail.com
Wed Dec 11 21:20:18 2002


Hi,

I am using microsoft c compiler. The function is outl() not iopd() (sorry 
for the typo). This does the 32 bit i/O operation.

Now as I am porting to real mode (to be pricise to work on DOS), I cannot 
use 32 bit operation.

So I would like to know the solution.

Thanks
---------------------

>From: Bogdan Costescu <bogdan.costescu@iwr.uni-heidelberg.de>
>To: vara prasad Ajjampudi <varaprasad246@hotmail.com>
>CC: vortex-bug@scyld.com
>Subject: Re: [vortex-bug] device driver for 3c905C
>Date: Wed, 11 Dec 2002 23:16:52 +0100 (CET)
>
>On Wed, 11 Dec 2002, vara prasad Ajjampudi wrote:
>
> > I am porting 3com device driver (for 3c905c) from Linux to DOS.
>
>Good luck! What compiler are you using? djgpp ?
>
> > In linux version, the driver code uses iopd() functions to input 32 bit
> > double word.
>
>Sorry, but what driver are you looking at ? A grep "iopd" 3c59x.c didn't
>give any results...
>And anyway, what does this iopd do ?
>
> > But as in real mode, that is not possible, I cannot call the same 
>function.
>
>Real mode is much simpler from some points of view as there are no
>priviledges and the program that executes has complete control over the
>whole system (well, except IRQs which can interrupt its execution). So,
>some things that are done in a priviledged mode program need not to be
>done there and you don't have to find an equivalent for all functions;
>some of them have a "NOP" equivalent in real more :-)
>
>--
>Bogdan Costescu
>
>IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
>Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
>Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
>E-mail: Bogdan.Costescu@IWR.Uni-Heidelberg.De
>
>
>_______________________________________________
>vortex-bug mailing list
>vortex-bug@scyld.com
>http://www.scyld.com/mailman/listinfo/vortex-bug


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus