Re: [PATCH 1/5] m68k/atari: EtherNAT - change number of Atari interrupts to make room for EtherNAT interrupts
Michael Schmitz dixit:
>>> For some reason, I have to set NUM_ATARI_SOURCES to 141 to actually get
>>> interrupt source 140 to register. Off-by-one error somewhere in the generic
>>> interrupt code I'd think, but I've not been able to spot it. (Just increasing
>>>
>>
>> I think 141 interrupt sources covers sources #0 to #140, no?
>>
> What's interrupt #0? #1 to #7 are level 1 to 7 autovector interrupts. #8 to
I was just guessing. An all-uppercase identifier in a C context
that expands to an integer and has NUMber in its name might just
be used in the declarartion of a C array, that’s why.
> ragnar rings a bell, is that ragnar@chaosdorf.de?
Chaosdorf yes, so, probably yes.
bye,
//mirabilos
--
“It is inappropriate to require that a time represented as
seconds since the Epoch precisely represent the number of
seconds between the referenced time and the Epoch.”
-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2
Reply to: