]> git.baikalelectronics.ru Git - kernel.git/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)
commit00fd084847144f9caddda73d80a8c916b6657eea
tree9a8bf2a3c2ead985b9f386fb196db0918da48270
parent91691c441aad59202ef509acefa8b4ba6eb7327e
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]