]> err.no Git - linux-2.6/commit
smc91x: introduce platform data flags V2
authorMagnus Damm <magnus.damm@gmail.com>
Fri, 22 Feb 2008 10:55:15 +0000 (19:55 +0900)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:49:27 +0000 (07:49 -0400)
commit3e94794355724f77dc6cbb5ad956f7c72d8313a4
tree9a8bf2a3c2ead985b9f386fb196db0918da48270
parentcfdfa86536d2fbc8102780ec15faea185e957d3d
smc91x: introduce platform data flags V2

This patch introduces struct smc91x_platdata and modifies the driver so
bus width is checked during run time using SMC_nBIT() instead of
SMC_CAN_USE_nBIT.

V2 keeps static configuration lean using SMC_DYNAMIC_BUS_CONFIG.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/smc91x.c
drivers/net/smc91x.h
include/linux/smc91x.h [new file with mode: 0644]