[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101003.220035.183055886.davem@davemloft.net>
Date: Sun, 03 Oct 2010 22:00:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, schwidefsky@...ibm.com,
heiko.carstens@...ibm.com, peppe.cavallaro@...com
Subject: Re: [patch 2/2] drivers/net/stmmac/: add HAS_IOMEM dependency
From: akpm@...ux-foundation.org
Date: Fri, 01 Oct 2010 14:17:13 -0700
> From: Martin Schwidefsky <schwidefsky@...ibm.com>
>
> The stmmac driver does not compile on s390:
>
> drivers/net/stmmac/stmmac_main.c: In function 'stmmac_adjust_link':
> drivers/net/stmmac/stmmac_main.c:210: error: implicit declaration of function 'readl'
> drivers/net/stmmac/stmmac_main.c:263: error: implicit declaration of function 'writel'
> drivers/net/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
> drivers/net/stmmac/stmmac_main.c:1674: error: implicit declaration of function 'ioremap'
> drivers/net/stmmac/stmmac_main.c:1674: warning: assignment makes pointer from integer without a cast
> drivers/net/stmmac/stmmac_main.c:1761: error: implicit declaration of function 'iounmap'
> make[3]: *** [drivers/net/stmmac/stmmac_main.o] Error 1
>
> Signed-off-by: Martin Schwidefsky <schwidefsky@...ibm.com>
> Cc: Giuseppe CAVALLARO <peppe.cavallaro@...com>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: Heiko Carstens <heiko.carstens@...ibm.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
This got fixed by adding a dependency on CPU_SUBTYPE_ST40.
--
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