I am trying to find out where the interrupt periority is assigned for the
network port. I have LAN91c111 ethernet chip and I want to assign it a
higher interrupt periority.

Any help

Re: Interrupt periority: LA by Bruce

Bruce
Fri Jun 16 15:22:04 CDT 2006

What is your platform, or maybe more specific what is your CPU?

For some, the priority is all in software determined by a bunch of if/elses.
Others the priority is set in the CPU by your BSP or CSP.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"adeed Mohamed" <adedmoh@hotmail.com> wrote in message
news:eDK5e0XkGHA.4200@TK2MSFTNGP05.phx.gbl...
>I am trying to find out where the interrupt periority is assigned for the
>network port. I have LAN91c111 ethernet chip and I want to assign it a
>higher interrupt periority.
>
> Any help
>
>



Re: Interrupt periority: LA by adeed

adeed
Fri Jun 16 15:29:20 CDT 2006

Bruce,
I am using MIPS processor: AMD Alchemy DB1200. The BSP is developed by
Bsquare

Thanks
"Bruce Eitman (eMVP)" <beitman.nospam@applieddata.net.nospam> wrote in
message news:eIEVXLYkGHA.4444@TK2MSFTNGP02.phx.gbl...
> What is your platform, or maybe more specific what is your CPU?
>
> For some, the priority is all in software determined by a bunch of
> if/elses. Others the priority is set in the CPU by your BSP or CSP.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> "adeed Mohamed" <adedmoh@hotmail.com> wrote in message
> news:eDK5e0XkGHA.4200@TK2MSFTNGP05.phx.gbl...
>>I am trying to find out where the interrupt periority is assigned for the
>>network port. I have LAN91c111 ethernet chip and I want to assign it a
>>higher interrupt periority.
>>
>> Any help
>>
>>
>
>



Re: Interrupt periority: LA by Bruce

Bruce
Fri Jun 16 15:52:02 CDT 2006

I can't help you with that, only becuase I don't know anything about it.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"adeed Mohamed" <adedmoh@hotmail.com> wrote in message
news:uR7uOOYkGHA.3588@TK2MSFTNGP02.phx.gbl...
> Bruce,
> I am using MIPS processor: AMD Alchemy DB1200. The BSP is developed by
> Bsquare
>
> Thanks
> "Bruce Eitman (eMVP)" <beitman.nospam@applieddata.net.nospam> wrote in
> message news:eIEVXLYkGHA.4444@TK2MSFTNGP02.phx.gbl...
>> What is your platform, or maybe more specific what is your CPU?
>>
>> For some, the priority is all in software determined by a bunch of
>> if/elses. Others the priority is set in the CPU by your BSP or CSP.
>>
>> --
>> Bruce Eitman (eMVP)
>> Senior Engineer
>> beitman AT applieddata DOT net
>>
>> Applied Data Systems
>> www.applieddata.net
>> An ISO 9001:2000 Registered Company
>> Microsoft WEP Gold-level Member
>>
>> "adeed Mohamed" <adedmoh@hotmail.com> wrote in message
>> news:eDK5e0XkGHA.4200@TK2MSFTNGP05.phx.gbl...
>>>I am trying to find out where the interrupt periority is assigned for the
>>>network port. I have LAN91c111 ethernet chip and I want to assign it a
>>>higher interrupt periority.
>>>
>>> Any help
>>>
>>>
>>
>>
>
>



Re: Interrupt periority: LA by Valter

Valter
Mon Jun 19 04:59:34 CDT 2006

"adeed Mohamed" <adedmoh@hotmail.com> wrote in
news:eDK5e0XkGHA.4200@TK2MSFTNGP05.phx.gbl:

> I am trying to find out where the interrupt periority is assigned
> for the network port. I have LAN91c111 ethernet chip and I want to
> assign it a higher interrupt periority.
>

You have two levels of priority.
One is the IST priority and you usually can configure it in the
registry using the "Priority256" key (but you may need to check the
driver sources to find the correct name or to change the priority in
code). The IST priority will allow a thread to run immediately after
the interrupt if no high-priority threads are running on the CPU when
the interrupt happens. If you set the priority to 0, your thread will
be resumed immediately after the interrupt has been recognized
(provided that no other threads have the same priority, of course).
The other level of priority is used when two interrupts happen at the
same time on the CPU. They could be handled by the hardware and could
be hard wired or the level of priority of the different interrupt
sources could be configured on the interrupt controller (like on the
PXA270). Other CPUs simply set a bit for each interrupt source (the
PXA255 and others) and let the priority handling to the software. You
may hard-code it in the ISR by putting a sequence of "if" that test
each bit in order or implement a dynamic priority system inside the
ISR.

--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)