Changeset 1f0f3e35 in rtems


Ignore:
Timestamp:
05/27/97 23:39:29 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3dc513e
Parents:
7922df59
Message:

added ka9q stack

Files:
2 added
12 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    r7922df59 r1f0f3e35  
    4242PROJECT_ROOT = @PROJECT_ROOT@
    4343RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
     44RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
    4445RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
    4546RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
     
    8687            \"PROJECT_ROOT=$(PROJECT_ROOT)\" \
    8788            \"RTEMS_HAS_POSIX_API=$(RTEMS_HAS_POSIX_API)\" \
     89            \"RTEMS_HAS_KA9Q=$(RTEMS_HAS_KA9Q)\" \
    8890            \"RTEMS_USE_MACROS=$(RTEMS_USE_MACROS)\" \
    8991            \"RTEMS_USE_GCC272=$(RTEMS_USE_GCC272)\" \
  • README.configure

    r7922df59 r1f0f3e35  
    2020        --disable-posix
    2121        --disable-tests
     22        --disable-ka9q
    2223        --enable-gcc28
    2324        --enable-libcdir=<DIRECTORY>
     
    2627By default, the RTEMS posix interface is built for targets that support
    2728it. It can be disabled with the --disable-posix option.
     29
     30By default, the RTEMS port of the KA9Q TCP/IP stack is build for targets
     31that support it.  It can be disabled with the --disable-ka9q option.
    2832
    2933By default, the RTEMS test suites are configured.  The --disable-tests
  • c/ACKNOWLEDGEMENTS

    r7922df59 r1f0f3e35  
    9898  Support Package (FPSP) to RTEMS.
    9999
     100+ Eric Norum (eric@skatter.usask.ca) of the Saskatchewan Accelerator
     101  Laboratory submitted a port of the KA9Q TCP/IP stack to RTEMS as
     102  well as a network device driver for the gen68360 BSP.
     103
    100104Finally, the RTEMS project would like to thank those who have contributed
    101105to the other free software efforts which RTEMS utilizes.  The primary RTEMS
  • c/Makefile.in

    r7922df59 r1f0f3e35  
    2828SUB_DIRS=build-tools src
    2929
     30# We only make the install point for the KA9Q header files if it is enabled.
     31LIBKA9Q_yes_V = include/ka9q
     32LIBKA9Q = $(LIBKA9Q_$(HAS_KA9Q)_V)
     33
    3034# directories to be created in install point
    3135CREATE_DIRS =   include include/sys \
    3236    include/rtems include/rtems/score include/rtems/rtems include/rtems/posix \
    3337                include/netinet include/libc include/libc/sys \
     38                $(LIBKA9Q) \
    3439                lib bin samples \
    3540                tests tests/screens tests/screens/sptests \
  • c/src/lib/include/Makefile.in

    r7922df59 r1f0f3e35  
    1111   spurious timerdrv vmeintr z8036 z8530 z8536
    1212H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
     13
     14KA9Q_H_PIECES= arp asy ax25 ax25mail bootp cmdparse commands config \
     15  daemon dialer domain enet ftp ftpcli global hardware icmp iface \
     16  internet ip kiss lapb lzw mailbox mbuf netuser nospc nr4 nr4mail \
     17  nrs ping pktdrvr ppp proc rip rtems_ka9q sb session slhc slip smtp \
     18  sockaddr socket tcp telnet tftp timer tipmail trace udp usock
     19KA9Q_H_FILES=$(KA9Q_H_PIECES:%=$(srcdir)/ka9q/%.h)
    1320
    1421SYS_H_FILES=
     
    2532        $(INSTALL) -m 444 $(H_FILES) ${PROJECT_RELEASE}/include
    2633        $(INSTALL) -m 444 $(SYS_H_FILES) ${PROJECT_RELEASE}/include/sys
     34ifeq ($(HAS_KA9Q),yes)
     35        $(INSTALL) -m 444 $(KA9Q_H_FILES) ${PROJECT_RELEASE}/include/ka9q
     36endif
  • c/src/lib/libbsp/m68k/gen68360/Makefile.in

    r7922df59 r1f0f3e35  
    1313SRCS=README
    1414
     15# We only build the ka9q device driver if HAS_KA9Q was defined
     16KA9Q_DRIVER_yes_V = network
     17KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
     18
    1519all: $(SRCS)
    1620
    1721# wrapup is the one that actually builds and installs the library
    1822#  from the individual .rel files built in other directories
    19 SUB_DIRS=include start360 startup clock console timer wrapup
     23SUB_DIRS=include start360 startup clock console timer $(KA9Q_DRIVER) wrapup
  • c/src/lib/libbsp/m68k/gen68360/README

    r7922df59 r1f0f3e35  
    4040#               --defsym RamSize=0x1000000
    4141#
    42 #       - The size of the memory allocator heap.  The default value is
    43 #         64 kbytes.  To choose a heap size of 256 kbytes,
    44 #               --defsym HeapSize=0x40000
     42#     - The size of the memory allocator heap.  The default value is
     43#       64 kbytes.  If the KA9Q network package is used the heap
     44#       should be at least 256 kbytes.  If your network is large, or
     45#       busy, the heap should be even larger.
     46#       To choose a heap size of 256 kbytes,
     47#             --defsym HeapSize=0x40000
    4548#         
    4649#       - The Ethernet address for network boot proms.
  • c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile.in

    r7922df59 r1f0f3e35  
    88VPATH=@srcdir@
    99
    10 BSP_PIECES=startup clock console timer
     10# We only build the ka9q device driver if HAS_KA9Q was defined
     11KA9Q_DRIVER_yes_V = network
     12KA9Q_DRIVER = $(KA9Q_DRIVER_$(HAS_KA9Q)_V)
     13
     14BSP_PIECES=startup clock console timer $(KA9Q_DRIVER)
    1115CPU_PIECES=
    1216GENERIC_PIECES=
  • c/src/lib/wrapup/Makefile.in

    r7922df59 r1f0f3e35  
    1818     $(PROJECT_HOME)/lib/librtems$(LIB_VARIANT).a \
    1919     $(wildcard $(PROJECT_HOME)/lib/libposix$(LIB_VARIANT).a) \
     20     $(wildcard $(PROJECT_HOME)/lib/libka9q$(LIB_VARIANT).a) \
    2021     $(PROJECT_HOME)/lib/libcsupport$(LIB_VARIANT).a \
    2122     $(wildcard $(PROJECT_HOME)/lib/rtems-ctor$(LIB_VARIANT).o) \
  • c/src/wrapup/Makefile.in

    r7922df59 r1f0f3e35  
    1818     $(PROJECT_HOME)/lib/librtems$(LIB_VARIANT).a \
    1919     $(wildcard $(PROJECT_HOME)/lib/libposix$(LIB_VARIANT).a) \
     20     $(wildcard $(PROJECT_HOME)/lib/libka9q$(LIB_VARIANT).a) \
    2021     $(PROJECT_HOME)/lib/libcsupport$(LIB_VARIANT).a \
    2122     $(wildcard $(PROJECT_HOME)/lib/rtems-ctor$(LIB_VARIANT).o) \
  • configure

    r7922df59 r1f0f3e35  
    1717\
    1818  --disable-posix                   disable posix interface"
     19ac_help="$ac_help
     20\
     21  --disable-ka9q                disable KA9Q TCP/IP stack"
    1922ac_help="$ac_help
    2023\
     
    764767c/src/lib/libbsp/unix/posix/timer/Makefile \
    765768c/src/lib/libbsp/unix/posix/wrapup/Makefile"
     769
     770ka9q_mk="c/src/lib/libka9q/Makefile"
    766771
    767772hwapi_mk="\
     
    953958
    954959echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    955 echo "configure:956: checking whether ${MAKE-make} sets \${MAKE}" >&5
     960echo "configure:961: checking whether ${MAKE-make} sets \${MAKE}" >&5
    956961set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    957962if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    10261031
    10271032echo $ac_n "checking host system type""... $ac_c" 1>&6
    1028 echo "configure:1029: checking host system type" >&5
     1033echo "configure:1034: checking host system type" >&5
    10291034
    10301035host_alias=$host
     
    10471052
    10481053echo $ac_n "checking target system type""... $ac_c" 1>&6
    1049 echo "configure:1050: checking target system type" >&5
     1054echo "configure:1055: checking target system type" >&5
    10501055
    10511056target_alias=$target
     
    10651070
    10661071echo $ac_n "checking build system type""... $ac_c" 1>&6
    1067 echo "configure:1068: checking build system type" >&5
     1072echo "configure:1073: checking build system type" >&5
    10681073
    10691074build_alias=$build
     
    11061111else
    11071112  RTEMS_HAS_POSIX_API=yes
     1113fi
     1114
     1115
     1116# Check whether --enable-ka9q or --disable-ka9q was given.
     1117if test "${enable_ka9q+set}" = set; then
     1118  enableval="$enable_ka9q"
     1119  \
     1120case "${enableval}" in
     1121  yes) RTEMS_HAS_KA9Q=yes ;;
     1122  no) RTEMS_HAS_KA9Q=no ;;
     1123  *)  { echo "configure: error: bad value ${enableval} for disable-ka9q option" 1>&2; exit 1; } ;;
     1124esac
     1125else
     1126  RTEMS_HAS_KA9Q=yes
    11081127fi
    11091128
     
    12421261set dummy $ac_prog; ac_word=$2
    12431262echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1244 echo "configure:1245: checking for $ac_word" >&5
     1263echo "configure:1264: checking for $ac_word" >&5
    12451264if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
    12461265  echo $ac_n "(cached) $ac_c" 1>&6
     
    12711290
    12721291echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1273 echo "configure:1274: checking whether ln -s works" >&5
     1292echo "configure:1293: checking whether ln -s works" >&5
    12741293if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12751294  echo $ac_n "(cached) $ac_c" 1>&6
     
    12971316PROJECT_ROOT=`pwd;`
    12981317
     1318# For now always generate the KA9Q TCP/IP Makefiles
     1319makefiles="$makefiles $ka9q_mk"
     1320
    12991321# Check whether --enable-tests or --disable-tests was given.
    13001322if test "${enable_tests+set}" = set; then
     
    13231345RTEMS_BSP=$enableval
    13241346fi
     1347
    13251348
    13261349
     
    15601583s%@RTEMS_ROOT@%$RTEMS_ROOT%g
    15611584s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g
     1585s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g
    15621586s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g
    15631587s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g
  • configure.in

    r7922df59 r1f0f3e35  
    224224c/src/lib/libbsp/unix/posix/timer/Makefile \
    225225c/src/lib/libbsp/unix/posix/wrapup/Makefile"
     226
     227ka9q_mk="c/src/lib/libka9q/Makefile"
    226228
    227229hwapi_mk="\
     
    426428esac],[RTEMS_HAS_POSIX_API=yes])
    427429
     430AC_ARG_ENABLE(ka9q, \
     431[  --disable-ka9q                disable KA9Q TCP/IP stack], \
     432[case "${enableval}" in
     433  yes) RTEMS_HAS_KA9Q=yes ;;
     434  no) RTEMS_HAS_KA9Q=no ;;
     435  *)  AC_MSG_ERROR(bad value ${enableval} for disable-ka9q option) ;;
     436esac],[RTEMS_HAS_KA9Q=yes])
     437
    428438AC_ARG_ENABLE(rtems-inlines, \
    429439[  --disable-rtems-inlines          disable RTEMS inline functions (use macros)], \
     
    548558PROJECT_ROOT=`pwd;`
    549559
     560# For now always generate the KA9Q TCP/IP Makefiles
     561makefiles="$makefiles $ka9q_mk"
     562
    550563AC_ARG_ENABLE(tests, \
    551564[  --disable-tests                  disable tests], \
     
    565578AC_SUBST(RTEMS_ROOT)
    566579AC_SUBST(RTEMS_HAS_POSIX_API)
     580AC_SUBST(RTEMS_HAS_KA9Q)
    567581AC_SUBST(RTEMS_USE_MACROS)
    568582AC_SUBST(RTEMS_USE_GCC272)
Note: See TracChangeset for help on using the changeset viewer.