[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <15238373.192661280750366920.komurojun-mbn@nifty.com>
Date: Mon, 2 Aug 2010 20:59:26 +0900 (JST)
From: Komuro <komurojun-mbn@...ty.com>
To: Dominik Brodowski <linux@...inikbrodowski.net>
Cc: linux-pcmcia@...ts.infradead.org, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org, linux-serial@...r.kernel.org,
Dominik Brodowski <linux@...inikbrodowski.net>,
Michael Buesch <mb@...sch.de>
Subject: Re: [PATCH 01/11] pcmcia: use pcmica_{read,write}_config_byte
Hi,
>--- a/drivers/net/pcmcia/xirc2ps_cs.c
>+++ b/drivers/net/pcmcia/xirc2ps_cs.c
>+ if (err)
> goto config_error;
>- reg.Action = CS_WRITE;
>- reg.Offset = CISREG_IOBASE_1;
>- reg.Value = (link->io.BasePort2 >> 8) & 0xff;
>- if ((err = pcmcia_access_configuration_register(link, ®)))
>+
>+ err = pcmcia_write_config_byte(link, CISREG_IOBASE_1,
>+ link->io.BasePort2 & 0xff);
It should be
err = pcmcia_write_config_byte(link, CISREG_IOBASE_1,
(link->io.BasePort2 >> 8) & 0xff);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists