Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-02 Thread Pierre Ossman
On Tue, 02 Oct 2007 17:14:34 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > Hrm... allright, tho having this "disabler" driver is butt ugly > too ... especially since it needs to whack registers in another > function, that's really quirkland :-) > Well, that issue would remain

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-02 Thread Benjamin Herrenschmidt
On Mon, 2007-10-01 at 22:01 -0700, Philip Langdale wrote: > Benjamin Herrenschmidt wrote: > > On Tue, 2007-10-02 at 14:44 +1000, Benjamin Herrenschmidt wrote: > >> On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: > >>> Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-02 Thread Benjamin Herrenschmidt
On Mon, 2007-10-01 at 22:01 -0700, Philip Langdale wrote: Benjamin Herrenschmidt wrote: On Tue, 2007-10-02 at 14:44 +1000, Benjamin Herrenschmidt wrote: On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-02 Thread Pierre Ossman
On Tue, 02 Oct 2007 17:14:34 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: Hrm... allright, tho having this disabler driver is butt ugly too ... especially since it needs to whack registers in another function, that's really quirkland :-) Well, that issue would remain even if we

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Philip Langdale
Benjamin Herrenschmidt wrote: > On Tue, 2007-10-02 at 14:44 +1000, Benjamin Herrenschmidt wrote: >> On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: >>> Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the >>> MMC controller on the multi-function Ricoh R5C832. The

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Benjamin Herrenschmidt
On Tue, 2007-10-02 at 14:44 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: > > Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the > > MMC controller on the multi-function Ricoh R5C832. The MMC controller needs > > to be

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Benjamin Herrenschmidt
On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: > Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the > MMC controller on the multi-function Ricoh R5C832. The MMC controller needs > to be disabled or it will steal MMC cards from the SD controller where they >

[PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Philip Langdale
Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled or it will steal MMC cards from the SD controller where they would otherwise be supported by the Linux SDHCI driver.

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Philip Langdale
Pierre Ossman wrote: > > Preferably. But if you can't figure it out until it is time to merge > things upstream, then I'll go with what we have right now. I have not been contacted by anyone with one of those laptops so I haven't been able to find out what's going on. I'm updating the diff,

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Philip Langdale
Pierre Ossman wrote: Preferably. But if you can't figure it out until it is time to merge things upstream, then I'll go with what we have right now. I have not been contacted by anyone with one of those laptops so I haven't been able to find out what's going on. I'm updating the diff,

[PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Philip Langdale
Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled or it will steal MMC cards from the SD controller where they would otherwise be supported by the Linux SDHCI driver.

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Benjamin Herrenschmidt
On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled or it will steal MMC cards from the SD controller where they would

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Benjamin Herrenschmidt
On Tue, 2007-10-02 at 14:44 +1000, Benjamin Herrenschmidt wrote: On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-01 Thread Philip Langdale
Benjamin Herrenschmidt wrote: On Tue, 2007-10-02 at 14:44 +1000, Benjamin Herrenschmidt wrote: On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-21 Thread Pierre Ossman
On Fri, 21 Sep 2007 07:30:59 -0700 Philip Langdale <[EMAIL PROTECTED]> wrote: > > This remains confusing. I went and investigated and the SD disable > bit is 0x20. The one lspci dump from the IFL90 shows that 0x80 is > set by default, but setting this on my laptop did not disable the > SD

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-21 Thread Philip Langdale
Pierre Ossman wrote: >> > > Patch looks ok. Please try to sort out that completely disabled > controller that was reported first though. This remains confusing. I went and investigated and the SD disable bit is 0x20. The one lspci dump from the IFL90 shows that 0x80 is set by default, but

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-21 Thread Philip Langdale
Pierre Ossman wrote: Patch looks ok. Please try to sort out that completely disabled controller that was reported first though. This remains confusing. I went and investigated and the SD disable bit is 0x20. The one lspci dump from the IFL90 shows that 0x80 is set by default, but setting

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-21 Thread Pierre Ossman
On Fri, 21 Sep 2007 07:30:59 -0700 Philip Langdale [EMAIL PROTECTED] wrote: This remains confusing. I went and investigated and the SD disable bit is 0x20. The one lspci dump from the IFL90 shows that 0x80 is set by default, but setting this on my laptop did not disable the SD controller. I

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-20 Thread Pierre Ossman
On Sat, 15 Sep 2007 12:54:08 -0700 Philip Langdale <[EMAIL PROTECTED]> wrote: > Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to > disable the MMC controller on the multi-function Ricoh R5C832. The > MMC controller needs to be disabled or it will steal MMC cards from > the SD

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-20 Thread Pierre Ossman
On Sat, 15 Sep 2007 12:54:08 -0700 Philip Langdale [EMAIL PROTECTED] wrote: Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled or it will steal MMC cards from the SD controller

[PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-15 Thread Philip Langdale
Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled or it will steal MMC cards from the SD controller where they would otherwise be supported by the Linux SDHCI driver.

[PATCH] mmc: Disabler for Ricoh MMC controller

2007-09-15 Thread Philip Langdale
Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the MMC controller on the multi-function Ricoh R5C832. The MMC controller needs to be disabled or it will steal MMC cards from the SD controller where they would otherwise be supported by the Linux SDHCI driver.