Changeset c537dc2 in rtems-libbsd


Ignore:
Timestamp:
Jul 9, 2012, 3:17:03 PM (7 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
a0da9b6
Parents:
0d23ec9
Message:

Hack to the fxp driver to force i386 to be io based.

File:
1 edited

Legend:

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

    r0d23ec9 rc537dc2  
    460460         * command line. Then we check to see which one is enabled.
    461461         */
     462#ifndef __rtems__        /* XXX NOTE: This is a hack. */
    462463        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__ */
    463471        resource_int_value(device_get_name(dev), device_get_unit(dev),
    464472            "prefer_iomap", &prefer_iomap);
Note: See TracChangeset for help on using the changeset viewer.