Re: How to Disable Ethernet



Hi Paul,

How can I be sure that KITL is no longer accessing it?
When I run my driver, I get interrupts from the 91C96 that
should not be occuring (i.e. the interrupt does not match
the mask). If I add a 10 second delay to the end of my
InterruptHandler, no interrupts occur during that time.
However, immediately upon return from the InterruptHandler
a new interrupt is generated. There must be some other
code that is accessing the 91C96 that I have not properly
turned off.

Thanks for the help! -Jeff

>-----Original Message-----
>If the cable is connected, there's a reasonable chance
that you'll get
>network traffic. Are you sure you're not seeing broadcast
packets from
>other machines on your network getting to your Windows CE
device?
>
>Is the device configured for DHCP? Maybe it's trying to
get an IP address
>from a DHCP server?
>
>Other 'things' in the system aren't going to access the
chip directly, once
>you've removed KITL. Everything will go through the
driver. That doesn't
>mean that many network services won't be sending and
receiving data, though.
>
>Paul T.
>
>"jeffs" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
>news:0c7a01c55203$37f77170$a401280a@xxxxxxxxxx
>>I am adding an NDIS driver to a PXA255 board. OS is winCE
>> 4.2 I want to make sure that nothing else accesses the
>> 91C96 ethernet chip other than my driver. To do this I
>> modified "OEMKitlInit" to only return FALSE to disable
>> KITL. In addition, under platform settings->build options
>> I unchecked "KITL" & "CE Target Control support".
>>
>> With KITL supposedly turned off and no ethernet drivers
>> added to the build I am still seeing constant access to the
>> 91C96 chip. The TX light is constantly going & the
>> interrupt is constantly going.
>>
>> QUESTION : what else is accessing the 91C96? Have I
>> properly disabled KITL?
>>
>> The following environment variables are also set:
>> BSP_NOSHAREETH=1
>> KERNELNOSHAREETH=1
>> BSP_NOSERIAL=1
>>
>> Thanks in advance for any help -Jeff
>
>
>.
>
.



Relevant Pages

  • Re: No interrupts coming to device driver.
    ... : coming to driver. ... I believe I configured chip (carrier freq. ... divisor) and enabled interrupt mode the same way it windows driver does. ... If it is on the ISA bus, then you can look at the IRQ line that you ...
    (freebsd-hackers)
  • Re: How to Disable Ethernet
    ... You can't have KITL running and use your driver at the same time ... (interrupt and state sharing wouldn't allow that). ... you have to have two Ethernet ports so that you ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to Disable Ethernet
    ... > How can I be sure that KITL is no longer accessing it? ... > When I run my driver, I get interrupts from the 91C96 that ... > a new interrupt is generated. ... >>other machines on your network getting to your Windows CE ...
    (microsoft.public.windowsce.platbuilder)
  • No interrupts coming to device driver.
    ... I trying to create small lirc compatible CIR driver for ... coming to driver. ... I believe I configured chip (carrier freq. ... divisor) and enabled interrupt mode the same way it windows driver does. ...
    (freebsd-hackers)
  • Re: [GIT PATCH] more Driver core patches for 2.6.19
    ... The design requires to have an in kernel stub driver with interrupt ... The chip specific portion of the interrupt handler. ... wakeup user space task ...
    (Linux-Kernel)