All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zary <linux@rainbow-software.org>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc <linux-mmc@vger.kernel.org>,
	Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v4] mmc: add Toshiba PCI SD controller driver
Date: Tue, 11 Nov 2014 12:30:30 +0100	[thread overview]
Message-ID: <201411111230.30686.linux@rainbow-software.org> (raw)
In-Reply-To: <CAPDyKFpUS6yG1Fq+dVFn_8AG7-_B-_moo2JCz4AQBKgvp-YaHQ@mail.gmail.com>

On Tuesday 11 November 2014, Ulf Hansson wrote:
> On 10 November 2014 17:58, Ondrej Zary <linux@rainbow-software.org> wrote:
> > This patch resurrects an old never-finished driver for Toshiba PCI SD
> > controllers found in some older Toshiba laptops (such as Portege R100):
> >
> > 02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA
> > Controller [1179:0805] (rev 05)
> >
> > The code is fixed, cleaned up and successfully tested with SD, SDHC, SDXC
> > and MMC cards on Portege R100. (MMC cards don't even work in Windows!)
> > SDIO probably does not work (don't have any SDIO card).
> >
> > The hardware is slow (around 2 MB/s - same in Windows) because it does
> > not support bus mastering (busmaster enable bit cannot be set in PCI
> > control reg). Also the card clock is limited to 16MHz (33MHz PCI clock
> > divided by 2).
> >
> > Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
>
> Hi Ondrej,
>
> I get these compiler warning while building for x86. Can you please fix
> them.
>
> ../drivers/mmc/host/toshsd.c: In function ‘toshsd_init’:
> ../drivers/mmc/host/toshsd.c:70:9: warning: large integer implicitly
> truncated to unsigned type [-Woverflow]
>          host->ioaddr + SD_INTMASKCARD);
>          ^

Which GCC version did you use? I get no warnings with 4.7.2 (Debian Stable).

-- 
Ondrej Zary

  reply	other threads:[~2014-11-11 11:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10 16:58 [PATCH v4] mmc: add Toshiba PCI SD controller driver Ondrej Zary
2014-11-11  9:27 ` Ulf Hansson
2014-11-11 11:30   ` Ondrej Zary [this message]
2014-11-11 11:48     ` Ulf Hansson

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=201411111230.30686.linux@rainbow-software.org \
    --to=linux@rainbow-software.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.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 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.