summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-09 14:32:34 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-09 14:32:34 -0500
commit4f8495ef668d3084545fbf5dd61f273a7be2528f (patch)
tree8efa64f7a03eb709ed69debe0f9d6e530bfdf239
parentAdded nexus resource routines. (diff)
downloadrtems-libbsd-4f8495ef668d3084545fbf5dd61f273a7be2528f.tar.bz2
FXP: Remove hack and use hint provided by application
-rw-r--r--freebsd/dev/fxp/if_fxp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/freebsd/dev/fxp/if_fxp.c b/freebsd/dev/fxp/if_fxp.c
index 7d07dae9..51ee51a9 100644
--- a/freebsd/dev/fxp/if_fxp.c
+++ b/freebsd/dev/fxp/if_fxp.c
@@ -459,15 +459,7 @@ fxp_attach(device_t dev)
* We default to memory mapping. Then we accept an override from the
* command line. Then we check to see which one is enabled.
*/
-#ifndef __rtems__ /* XXX NOTE: This is a hack. */
prefer_iomap = 0;
-#else /* __rtems__ */
-#if defined(__i386__)
- prefer_iomap = 1;
-#else
- prefer_iomap = 0;
-#endif
-#endif /* __rtems__ */
resource_int_value(device_get_name(dev), device_get_unit(dev),
"prefer_iomap", &prefer_iomap);
if (prefer_iomap)