Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2010 14:27:41 +0200 (CEST)
From:      Roar Pettersen <roar.pettersen@uib.no>
To:        jiani1012 <jiani1012@126.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: convert Windows NDIS drivers for use with FreeBSD
Message-ID:  <alpine.GSO.2.00.1005071426000.25503@alf.uib.no>
In-Reply-To: <45e58af.dfb8.128723a15b9.Coremail.jiani1012@126.com>
References:  <20100506120022.A331D10656C2@hub.freebsd.org> <45e58af.dfb8.128723a15b9.Coremail.jiani1012@126.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello !

>      I am using xp3264-7.7.0.329-whql.zip file from Atheros.
>         #cd /sys/modules/ndis
>         #make install
>         #cd /sys/modules/if_ndis
>         #make install
>         #ndiscvt -i netathwx.inf -s athwx.sys -o ndis_driver_data.h       (syntax error)
>     When trying to convert the ones athwx.sys and netathwx.inf I am getting the error:
>        > ndiscvt: line 5117: : syntax error.
>        > CONVERSION FAILED

You must convert your .inf file to ascii :

iconv -c -f utf-16 -t ascii netathwx.inf > netathwx.inf

And then this :

ndiscvt -i netathwx.ascii -s athwx.sys -o ndis_driver_data.h



--
Med vennlig hilsen / Regards;

   Roar Pettersen
   Universitetet i Bergen -  The University of Bergen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.00.1005071426000.25503>