* ATM driver for 8260 (linux 2.4.x) + more questions
[not found] <3C1E3713.C8BF1426@cambridgebroadband.com>
@ 2001-12-18 13:56 ` None Atall
2001-12-18 14:16 ` Alex Zeffertt
2002-01-24 16:07 ` ATM driver for 8260 (linux 2.4.x) None Atall
1 sibling, 1 reply; 7+ messages in thread
From: None Atall @ 2001-12-18 13:56 UTC (permalink / raw)
To: linuxppc-embedded, linux-atm-general
By the way, as I can see from mpc860sar code, the
ATM device is connected on SCCx via utopia. Our board
(MPC8260ADS and our custom one) have the ATM connected
on FCC1. Will I need too many changes after the patch?
Can anyone evaluate the changes that i will need?
We are running out of time, so I wonder...
Thanks a lot!
D.Meidanis
=====
-------------------------------------------------
Dhmhtrios Meidanis
-Degree in Mathematics, University of the Aegean.
-Master in Computer Architecture and Digital
Systems, University of Crete.
Greece.
-------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATM driver for 8260 (linux 2.4.x) + more questions
2001-12-18 13:56 ` ATM driver for 8260 (linux 2.4.x) + more questions None Atall
@ 2001-12-18 14:16 ` Alex Zeffertt
0 siblings, 0 replies; 7+ messages in thread
From: Alex Zeffertt @ 2001-12-18 14:16 UTC (permalink / raw)
To: None Atall, linuxppc-embedded
None Atall wrote:
>
> By the way, as I can see from mpc860sar code, the
> ATM device is connected on SCCx via utopia. Our board
> (MPC8260ADS and our custom one) have the ATM connected
> on FCC1. Will I need too many changes after the patch?
> Can anyone evaluate the changes that i will need?
> We are running out of time, so I wonder...
>
> Thanks a lot!
> D.Meidanis
>
As I understand it there is no FCC1 on the 860. This is something you get with the 8260 only. With
the 860 you need to use the utopia interface.
I wrote the code for the 860 so there is no support for FCC ATM. You'll have to read the 8260 UM to
work out how much there is to do.
Alex
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATM driver for 8260 (linux 2.4.x)
[not found] <3C1E3713.C8BF1426@cambridgebroadband.com>
2001-12-18 13:56 ` ATM driver for 8260 (linux 2.4.x) + more questions None Atall
@ 2002-01-24 16:07 ` None Atall
2002-01-29 4:03 ` [Linux-ATM-General] " James Campbell
1 sibling, 1 reply; 7+ messages in thread
From: None Atall @ 2002-01-24 16:07 UTC (permalink / raw)
To: linuxppc-embedded, linux-atm-general
James, Is this patch for 8260 ATM ready? I am realy
looking forward!!
D. Meidanis
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)
2002-01-24 16:07 ` ATM driver for 8260 (linux 2.4.x) None Atall
@ 2002-01-29 4:03 ` James Campbell
0 siblings, 0 replies; 7+ messages in thread
From: James Campbell @ 2002-01-29 4:03 UTC (permalink / raw)
To: None Atall; +Cc: linuxppc-embedded, linux-atm-general
Hello,
Sorry for the long time getting back about the patch.
I have the patch ready to distribute, BUT I'm running into some
problems at work getting it released under the gpl. As soon as
this happens, you'll see something from me.
I'm all for giving back to the community, and I think those here
will come arround rather soon, I hope.
Cheers,
James Campbell
On Thu, 2002-01-24 at 08:07, None Atall wrote:
>
> James, Is this patch for 8260 ATM ready? I am realy
> looking forward!!
>
> D. Meidanis
>
>
> _______________________________________________
> Linux-atm-general mailing list
> Linux-atm-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-atm-general
>
--
James Campbell -|- Embedded Systems Engineer
jcampbell@omnigon.com -|- Omnigon International
pgp: C138 0E47 5200 40A3 5D09 682E D53F A137 49AE 7171
work: +1.760.804.8884 x 332 cell: +1.760.492.1176
--
"Computer games don't affect kids; I mean if Pac-Man
affected us as kids, we'd all be running around darkened
rooms, munching magic pills and listening to repetitive
electronic music."
-Kristian Wilson, Nintendo, Inc. 1989
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)
[not found] <200201291247.g0TClwl07353@hofr.at>
@ 2002-01-29 14:23 ` None Atall
2002-01-29 15:55 ` Wolfgang Denk
0 siblings, 1 reply; 7+ messages in thread
From: None Atall @ 2002-01-29 14:23 UTC (permalink / raw)
To: Der Herr Hofrat, linuxppc-embedded
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:
> >
> > 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
> > program, i seem to take the data ok. But if from
> the
> > transmit computer i send quick the data, the CPM
> seems
> > to
> > jump positions in the Interrupt Queue. I mean that
> my
> > pointer (SW) increases correct, but the CPM
> increases
> > without putting an interrupt entry. Any ideas?
> > Also, in the original driver Alex used the
> > mm_alloc_uncached_pages function, but i have
> replased
> > 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)
2002-01-29 14:23 ` None Atall
@ 2002-01-29 15:55 ` Wolfgang Denk
2002-01-29 16:30 ` None Atall
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2002-01-29 15:55 UTC (permalink / raw)
To: None Atall; +Cc: linuxppc-embedded
In message <20020129142321.38639.qmail@web9706.mail.yahoo.com> you wrote:
>
> For some reason the interrupt handler reads old
> values, although the CPM puts new data. (I checked it
Sounds like a cache problem...
> 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?
flush_dcache_range().
> > > Also, in the original driver Alex used the
> > > mm_alloc_uncached_pages function, but i have
> > replased
> > > it with kmalloc(size, GFP_KERNEL). Is it correct?
Hint! Hint!
Hope this helps,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
As far as we know, our computer has never had an undetected error.
-- Weisert
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)
2002-01-29 15:55 ` Wolfgang Denk
@ 2002-01-29 16:30 ` None Atall
0 siblings, 0 replies; 7+ messages in thread
From: None Atall @ 2002-01-29 16:30 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
It was realy cache problem! I had to disable
both caches I,D from the head.S to find that!
Well the receaver works ok with Dcache off....
As I looked from the mpc860sar code, there is a
way to tell linux not to cache specific pages.
But the functions are not compatible with 8260.
Does anyone know how to do that for 8260?
Thanks a lot for your time!
D. Meidanis
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-01-29 16:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3C1E3713.C8BF1426@cambridgebroadband.com>
2001-12-18 13:56 ` ATM driver for 8260 (linux 2.4.x) + more questions None Atall
2001-12-18 14:16 ` Alex Zeffertt
2002-01-24 16:07 ` ATM driver for 8260 (linux 2.4.x) None Atall
2002-01-29 4:03 ` [Linux-ATM-General] " James Campbell
[not found] <200201291247.g0TClwl07353@hofr.at>
2002-01-29 14:23 ` None Atall
2002-01-29 15:55 ` Wolfgang Denk
2002-01-29 16:30 ` None Atall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).