All of lore.kernel.org
 help / color / mirror / Atom feed
From: tony@atomide.com
To: Ladislav Michl <ladis@linux-mips.org>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: DMA support for smc91x
Date: Tue, 28 Mar 2006 05:50:28 -0800	[thread overview]
Message-ID: <20060328135027.GE28751@atomide.com> (raw)
In-Reply-To: <20060324002336.GA13667@orphique>

* Ladislav Michl <ladis@linux-mips.org> [060323 16:23]:
> Hi,
> 
> this mail contains dirty and for most people completely useless patch.
> Here is my motivation for it: I have OMAP based board using LAN91C111,
> its interrupt line is routed to GPIO pin. Other GPIO lines are used as
> interrupt sources for ISDN chips which needs to be services regulary
> (irq can be generated per 125us for each of four chips). All interrupts
> from GPIOs are serialized, so if smc91x needs 1.6ms to read 8 full size
> packets from memory, communication with ISDN chips gets screwed. Even
> decreasing MAX_IRQ_LOOPS to 1 doesn't help too much here, because single
> full size packet reading takes 200us. Now programing DMA takes only 6us
> and rest of CPU time is left for sometning usesfull :-). Patch is
> pre-alpha quality, there are some locking bugs - reading from eeprom
> while DMA is progress will result in undefined behaviour (but there
> is not eeprom support upstream, so who cares ;-)) - and I just want to
> ask if anyone else would need something it and provide some feedback.
> Then I may think a bit more, finish it and send it to proper mailing
> list.

That's cool :)

Tony

      reply	other threads:[~2006-03-28 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24  0:23 DMA support for smc91x Ladislav Michl
2006-03-28 13:50 ` tony [this message]

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=20060328135027.GE28751@atomide.com \
    --to=tony@atomide.com \
    --cc=ladis@linux-mips.org \
    --cc=linux-omap-open-source@linux.omap.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.