LAN91C111 NDIS Windows CE 4.2 HELP!!!
- From: "Marcelovk" <mvkampen@xxxxxxxxx>
- Date: 6 Mar 2006 16:22:08 -0800
Hi,
I am trying to make LAN91C111 NDIS driver from SMSC to work with a
custom board. My Physical Address is 0x0c0000000 (ChipSelect 3) and i
have a bootloader with KITL already working.
The instructions from the SMSC driver tells to configure these registry
keys:
"InterruptNumber"=dword:E ;<= interrupt number, in hex
"IoBaseAddress"=dword: ABA00300 ;<= IOBase address, in hex (SEE NOTE)
"Transceiver"=dword:1E;<= Enter the correct sysintr value here
Investigating the driver, there is a strange #if 0 that jumps the
NdisMRegisterIoPortRange and gives a VirtualAlloc/VirtualCopy instead
and uses PXA250_LAN91C111_ADDR value. When i try to use
PXA250_LAN91C111_ADDR as 0x0c0000000 it goes until AdapterVerify and
then gives me the following message: "LAN91C111: ERROR : Invalid LAN
Chip and Driver Combination \r\n"
i suspected that is a problem on the function NdisRawReadPortUshort
that gets the Chip ID and the Revision. Reading the information from
help, it is said that NdisRawReadPortUshort depends on
NdisMRegisterIoPortRange, so i changed the #if 0 to #if 1 in
LAN91C111_MiniportInitialize, but the driver always give me "LAN91C9111
: ERROR - Can't Register I/O Port Range!" when I try any of these
values 0x0c0000000 and 0x0c0000300
I need this driver working till thursday so i really really need some
advice.
I'm using a platform without KITL to avoid conflits, and getting these
messages over the serial port. My platform is a PXA255, modified from
XSC1BD.
With KITL, my ethernet goes OK, i can use VMINI as a normal device.
Also, my register settings are:
"InterruptNumber"=dword:8
"IoBaseAddress"=dword: 0x0c0000300 ;<= IOBase address, in hex (SEE
NOTE)
"Transceiver"=dword:20;<= Enter the correct sysintr value here
Thanks in Advance,
Marcelo
.
- Follow-Ups:
- Re: LAN91C111 NDIS Windows CE 4.2 HELP!!!
- From: Voidcoder
- Re: LAN91C111 NDIS Windows CE 4.2 HELP!!!
- Prev by Date: Re: Configuring RAM to 256MB on CEPC - Windows Mobile 5.0 ??
- Next by Date: Re: Cursor Size
- Previous by thread: Re: No IST in an NDIS Miniport?
- Next by thread: Re: LAN91C111 NDIS Windows CE 4.2 HELP!!!
- Index(es):
Relevant Pages
|