[<prev] [next>] [day] [month] [year] [list]
Message-ID: <25690823.108851266735433598.ken_kawasaki@spring.nifty.jp>
Date: Sun, 21 Feb 2010 15:57:13 +0900 (JST)
From: Ken Kawasaki <ken_kawasaki@...ing.nifty.jp>
To: netdev@...r.kernel.org
Subject: Re: RE: [net-next 2.6 PATCH] net/pcmcia: convert to use
Hi,
sorry, ioaddr is used by PutByte macro.
>
>ioaddr is not used in set_address of xirc2ps_cs.c
>
>
>+static void set_address(struct set_address_info *sa_info, char *addr)
>+{
>+ unsigned int ioaddr = sa_info->ioaddr; <== HERE
>+ int i;
>+
>+ for (i = 0; i < 6; i++) {
>+ if (sa_info->reg_nr > 15) {
>+ sa_info->reg_nr = 8;
>+ sa_info->page_nr++;
>+ SelectPage(sa_info->page_nr);
>+ }
>+ if (sa_info->mohawk)
>+ PutByte(sa_info->reg_nr++, addr[5 - i]);
>+ else
>+ PutByte(sa_info->reg_nr++, addr[i]);
>+ }
>+}
>+
Ken
--
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