linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@netx4.com>
To: Steve Calfee <calfee@kerbango.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: commproc.c
Date: Thu, 02 Mar 2000 11:22:23 -0500	[thread overview]
Message-ID: <38BE953F.5CA6C079@netx4.com> (raw)
In-Reply-To: 4.2.2.20000302111129.00a638d0@mail.kerbango.com


Steve Calfee wrote:

> I have been working on doing a 823 USB driver.


I find it interesting there is a sudden interest in the 8xx USB
interface.......

I recently hired someone to do this work for a customer.  We have
slave working fine, and host mostly works (some hubs give us fits).
The goal is an isochronous connection for some device to stream
data over a variety of communication links (it's an 850).

We still have a little distance to cover.  If someone needs this
for a product and wants to invest in speeding up the develpment,
let me know.  Once it is more useful I suppose it will find its
way into the source tree.

> m8xx_cpm_dpalloc(uint size)

> This is a primitive routine to allocate CPM memory. It allocates size bytes
> of CPM memory. Even a good citizen that lives by the CPM imposed
> constraints of alignment


I had some pretty bad hacks for ATM interfaces due to its alignment
restrictions, and have since added a second parameter to define alignment.
I have played with masks and byte counts, one will win.  This will
be in an upcoming patch.


> .... We also need a m8xx_cpm_free() function to give back CPM
> memory when we are done.


For lack of a better thought, I have resurrected the old *NIX resource
map allocator.  Seems to work.



> .... I agree that it is a rare use,

It's not only rare, but I don't see any use for it.


> .... but if I want to
> backtrace the interrupted stack from my interrupt routine for profiling...


You have to explain this one to me.  I don't understand how passing
the register set pointer has any effect on this operation.

Show me you need it and we can add it as a parameter.  There aren't
that many places to change the code.  I just didn't need it, and due
to your rant about interrupt overhead why add something not needed?


	-- Dan

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

  reply	other threads:[~2000-03-02 16:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-02 20:20 commproc.c Steve Calfee
2000-03-02 16:22 ` Dan Malek [this message]
2000-03-03 23:22   ` commproc.c Steve Calfee
2000-03-04 20:10 ` commproc.c Björn Lundberg
2000-03-05 15:58   ` commproc.c Brad Hards
2000-03-06 10:37     ` commproc.c Björn Lundberg
2000-03-06 16:22     ` commproc.c Brad Parker
2000-03-06 19:45       ` commproc.c Steve Calfee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38BE953F.5CA6C079@netx4.com \
    --to=dan@netx4.com \
    --cc=calfee@kerbango.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).