Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)

2 messages, 1 author, 2002-01-30 · open the first message on its own page

Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)

From: None Atall <hidden>
Date: 2002-01-29 14:23:21

 Mr Hofrat is right!
For some reason the interrupt handler reads old
values, although the CPM puts new data. (I checked it
using JTAG). It seems
like the old data are kept on buffers and are not
refreshed. Unfortunetely i did what Hofrat saied,
but it doesn't work. Is there a function for forcing
refresh? flush_tlb or flush_dcache perhaps?

                     Thanks!
                       D. Meidanis
--- Der Herr Hofrat <der.herr@mail.hofr.at> wrote:
quoted
  But until you do it, could you help me in one
problem
that i have? I have imported the mpc860sar driver
myself. But i have this problem. When i use the
aread
quoted
program, i seem to take the data ok. But if from
the
quoted
transmit computer i send quick the data, the CPM
seems
quoted
to
jump positions in the Interrupt Queue. I mean that
my
quoted
pointer (SW) increases correct, but the CPM
increases
quoted
without putting an interrupt entry. Any ideas?
Also, in the original driver Alex used the
mm_alloc_uncached_pages function, but i have
replased
quoted
it with kmalloc(size, GFP_KERNEL). Is it correct?
I don't know about the details of your setup - but
we had similar phenomenon with
a driver on the CPM that acknowledged the interrupt
too late - the therapy
was to move the interrupt ack to the top of the
driver and all was well.

so maby you are seeing the same problem due to the
same driver coding error .

hofrat

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

ATM driver for 8260 (linux 2.4.x) working!

From: None Atall <hidden>
Date: 2002-01-30 11:39:31


 At last,
The import to 8260 was successfull!
For now I support AAL5, and CBR. It is
a matter of days before I have a full working
driver. The only problem is the cache problem,
since I want uncashed pages. I am still working
on it.
 If anyone needs the driver really fast, I can send
it to him.

               A happy Hardware engineer,that
               messed with software engineering! :)
                        D. Meidanis


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help