diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-06-19 17:39:03 +0800 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-12 21:52:40 +0100 |
commit | c4f0e76747e80578a8f7fddd82fd0ce8127bd2f8 (patch) | |
tree | 48dfd3c9b7204f1096410b6f4ee7f7640705c67d /drivers/net/hp.c | |
parent | fa6d3be08538bb80274d20c7e59f9beca48fa44a (diff) | |
download | linux-stable-c4f0e76747e80578a8f7fddd82fd0ce8127bd2f8.tar.gz linux-stable-c4f0e76747e80578a8f7fddd82fd0ce8127bd2f8.tar.bz2 linux-stable-c4f0e76747e80578a8f7fddd82fd0ce8127bd2f8.zip |
[NET] smc91x: add SMC91X_NOWAIT flag to platform data
And also favors the usage of SMC91X_NOWAIT over the hardcoded SMC_NOWAIT
by converting "nowait" (module parameter overridable) to platform flag.
There are several possibilities:
1. platform data present - preferred and use as is
2. platform data absent - use "nowait", it can be:
a. SMC_NOWAIT if defined
b. default to 0 if SMC_NOWAIT isn't defined
c. overriden by module parameter
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/net/hp.c')
0 files changed, 0 insertions, 0 deletions