Changeset 3cde755 in rtems-libbsd


Ignore:
Timestamp:
05/30/12 16:51:35 (11 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
Children:
9f11e40
Parents:
20b5ca1
Message:

Corrected link01 configuration and added pcib to SYSINIT.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/freebsd/machine/rtems-bsd-sysinit.h

    r20b5ca1 r3cde755  
    6060
    6161#define SYSINIT_NEED_PCIB \
     62        SYSINIT_REFERENCE(p0init); \
    6263        SYSINIT_DRIVER_REFERENCE(pci, pcib);
    6364
  • testsuite/link01/test.c

    r20b5ca1 r3cde755  
    3030
    3131/* NOTICE: the clock driver is explicitly disabled */
    32 #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
     32#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3333#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    3434
     35#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
     36#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     37
     38#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
     39
     40#define CONFIGURE_UNLIMITED_OBJECTS
     41#define CONFIGURE_UNIFIED_WORK_AREAS
     42
    3543#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    36 #define CONFIGURE_MAXIMUM_TASKS 1
    3744
    3845#define CONFIGURE_INIT
     
    4148#include <freebsd/machine/rtems-bsd-sysinit.h>
    4249
    43 SYSINIT_NEED_FREEBSD_CORE;
     50/*
     51 *  User says I need XXX
     52 */
     53#define CONFIGURE_NEED_NET
     54#define CONFIGURE_NEED_PCIB
     55#define CONFIGURE_NEED_NET_IF_FXP
     56
     57/*
     58 *  We "read" that and generate references and nexus devices
     59 */
     60#if defined(CONFIGURE_NEED_NET)
     61  SYSINIT_NEED_FREEBSD_CORE;
     62#endif
     63
     64  SYSINIT_NEED_USB_CORE;
     65#if defined(CONFIGURE_NEED_PCIB)
     66  SYSINIT_NEED_PCIB;
     67#endif
     68
     69#if defined(CONFIGURE_NEED_NET_IF_FXP)
     70  SYSINIT_NEED_NET_IF_FXP;
     71#endif
     72#if defined(CONFIGURE_NEED_NET_IF_DC)
     73  SYSINIT_NEED_NET_IF_DC;
     74#endif
     75
     76#if 0
    4477SYSINIT_NEED_NET_IF_BFE;
    4578SYSINIT_NEED_NET_IF_RE;
    4679SYSINIT_NEED_NET_IF_EM;
    4780SYSINIT_NEED_NET_IF_IGB;
     81SYSINIT_NEED_NET_IF_BCE;
    4882SYSINIT_NEED_NET_IF_LEM;
    49 SYSINIT_NEED_NET_IF_BCE;
    50 SYSINIT_NEED_NET_IF_BGE;
    51 SYSINIT_NEED_NET_IF_FXP;
    52 SYSINIT_NEED_NET_IF_DC;
     83
     84SYSINIT_NEED_NET_IF_BGE; // does not link 23 May 2012
     85#endif
     86
    5387
    5488const char *const _bsd_nexus_devices [] = {
     89        #if defined(CONFIGURE_NEED_PCIB)
     90                "pcib",
     91        #endif
     92        #if defined(CONFIGURE_NEED_NET_IF_FXP)
     93                "fxp",
     94        #endif
    5595        NULL
    5696};
Note: See TracChangeset for help on using the changeset viewer.