diff options
author | Nicolas Pitre <nico@cam.org> | 2006-03-20 11:54:27 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-21 16:00:53 -0500 |
commit | 09779c6df2dbe95483269d194b327d41fe2cc57e (patch) | |
tree | 9ee7873eb248481bd06f73fdda79c019292c0e26 /drivers/net/8139cp.c | |
parent | ac62ef043504d5c754357325cd514553ddabb046 (diff) |
[PATCH] smc91x: allow for dynamic bus access configs
All accessor's different methods are now selected with C code and unused
ones statically optimized away at compile time instead of being selected
with #if's and #ifdef's. This has many advantages such as allowing the
compiler to validate the syntax of the whole code, making it cleaner and
easier to understand, and ultimately allowing people to define
configuration symbols in terms of variables if they really want to
dynamically support multiple bus configurations at the same time (with
the unavoidable performance cost).
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/8139cp.c')
0 files changed, 0 insertions, 0 deletions