public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [FIXME] Comments on serial and MMC changes in MIPS merge
@ 2005-10-29 22:07 Russell King
  2005-10-30 11:00 ` Pierre Ossman
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King @ 2005-10-29 22:07 UTC (permalink / raw)
  To: ralf, Linux Kernel List

Some comments on the recent MIPS merge:

1. au1xxx mmc driver

   mmc_remove_host() does a safe shutdown of the MMC host, removing
   cards and then powering down.  This must be called prior to the
   driver thinking of tearing anything down.

   As for those disable_irq()...enable_irq(), are you aware that MMC
   can start talking to the host as soon as you've called mmc_add_host() ?

2. IP3106 serial driver

   -#define PORT_MAX_8250  15      /* max port ID */
   +#define PORT_IP3106    16
   +#define PORT_MAX_8250  16      /* max port ID */

   Do not add new port numbers after the 8250 port number range.
   Add them on the end of the list.

   Since this will get in the way of additional 8250 ports, it's a
   serious problem.  Please fix ASAP.

   (btw, I notice that this change was _not_ included with the
    IP3106 driver you sent for review.)

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FIXME] Comments on serial and MMC changes in MIPS merge
  2005-10-29 22:07 [FIXME] Comments on serial and MMC changes in MIPS merge Russell King
@ 2005-10-30 11:00 ` Pierre Ossman
  2005-10-31 11:59   ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Ossman @ 2005-10-30 11:00 UTC (permalink / raw)
  To: ralf; +Cc: Russell King, Linux Kernel List

Russell King wrote:
> Some comments on the recent MIPS merge:
> 
> 1. au1xxx mmc driver
> 
>    mmc_remove_host() does a safe shutdown of the MMC host, removing
>    cards and then powering down.  This must be called prior to the
>    driver thinking of tearing anything down.
> 
>    As for those disable_irq()...enable_irq(), are you aware that MMC
>    can start talking to the host as soon as you've called mmc_add_host() ?
> 

I'm also concerned about the ammount of protocol awareness in this
driver. Is there a spec available for this hardware? Perhaps the MMC
layer can export more information so that we can avoid switches on
specific MMC commands?

Rgds
Pierre

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FIXME] Comments on serial and MMC changes in MIPS merge
  2005-10-30 11:00 ` Pierre Ossman
@ 2005-10-31 11:59   ` Ralf Baechle
  0 siblings, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2005-10-31 11:59 UTC (permalink / raw)
  To: Pierre Ossman; +Cc: Russell King, Linux Kernel List, Pete Popov

On Sun, Oct 30, 2005 at 12:00:38PM +0100, Pierre Ossman wrote:

> > 1. au1xxx mmc driver
> > 
> >    mmc_remove_host() does a safe shutdown of the MMC host, removing
> >    cards and then powering down.  This must be called prior to the
> >    driver thinking of tearing anything down.
> > 
> >    As for those disable_irq()...enable_irq(), are you aware that MMC
> >    can start talking to the host as soon as you've called mmc_add_host() ?
> > 
> 
> I'm also concerned about the ammount of protocol awareness in this
> driver. Is there a spec available for this hardware? Perhaps the MMC
> layer can export more information so that we can avoid switches on
> specific MMC commands?

Cc'ed to ppopov, the actual author.

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-31 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29 22:07 [FIXME] Comments on serial and MMC changes in MIPS merge Russell King
2005-10-30 11:00 ` Pierre Ossman
2005-10-31 11:59   ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox