Changeset 4f8495e in rtems-libbsd


Ignore:
Timestamp:
Jul 9, 2012, 7:32:34 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
7a1309a
Parents:
1e36900
Message:

FXP: Remove hack and use hint provided by application

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/dev/fxp/if_fxp.c

    r1e36900 r4f8495e  
    460460         * command line. Then we check to see which one is enabled.
    461461         */
    462 #ifndef __rtems__        /* XXX NOTE: This is a hack. */
    463462        prefer_iomap = 0;
    464 #else   /* __rtems__ */
    465 #if defined(__i386__)
    466         prefer_iomap = 1;
    467 #else
    468         prefer_iomap = 0;
    469 #endif
    470 #endif /* __rtems__ */
    471463        resource_int_value(device_get_name(dev), device_get_unit(dev),
    472464            "prefer_iomap", &prefer_iomap);
Note: See TracChangeset for help on using the changeset viewer.