1183 Commits

Author SHA1 Message Date
Chris Johns
ab7739a574 rc.conf/net: Let interface option appear on a DHCP ifconfig_ line.
An ifconfig_ line can have other options for the interface such as
ether or hardware checksum control. Allow these to be set on the
interface.
2016-08-12 15:56:36 +10:00
Chris Johns
c83cf5cba8 nfsclient: Only parse for options when present. 2016-08-12 15:56:30 +10:00
Sebastian Huber
691ed15cba rtems-bsd-mutex: Use _Thread_queue_Surrender() 2016-08-11 12:37:16 +02:00
Chris Johns
26a8cee1c3 e1000phy: Provide local support for Marvell's 88E1512 PHY.
This PHY is close to the standard PHY support so providing enough to
allow the PHY probe to pass lets it work on a MicroZed.
2016-08-11 17:41:49 +10:00
Sebastian Huber
62c4755a0b doc: Add FreeBSD import version section 2016-08-10 08:04:16 +02:00
Christian Mauderer
bc9e939a4c pf: Add configuration via rc.conf. 2016-08-08 16:12:05 +02:00
Christian Mauderer
6cfb5c2ca4 pf: Improve documentation regarding stack. 2016-08-08 16:12:05 +02:00
Christian Mauderer
61e2e1bf91 rc.conf: Use more stack for the rc worker.
Most of the tests run with a default stack size of 32k. If the rc worker
runs with less, it uses an untested configuration.
2016-08-08 16:10:05 +02:00
Christian Mauderer
a8d016c39d testsuite/pf01: Remove pflog-module from test.
This module is not tested inside the pf01 test. Therefore remove it. It
is still build in the interactive pf02 test.
2016-08-08 08:54:35 +02:00
Christian Mauderer
32a3dd1e43 pf: Add RTEMS_BSD_CONFIG_FIREWALL_xxx options. 2016-08-08 08:54:34 +02:00
Christian Mauderer
07176074bd if_ffec_mcf548x: Init when interface is set to UP.
Call the driver initialization function if the interface is set to UP.
2016-08-05 13:11:46 +02:00
Christian Mauderer
9907ae4070 netstat: Don't init vars if they are not defined.
The variables are not available, if there is no INET6 defined.
2016-08-04 15:44:12 +02:00
Christian Mauderer
2fb3a360e7 freebsd: Add constant ipv6 addresses from vars.c.
This is necessary for a configuration without IPv6.
2016-08-04 15:44:06 +02:00
Christian Mauderer
7aaa9a19d1 testsuite/pf02: Add interactive pf test. 2016-08-03 13:58:38 +02:00
Christian Mauderer
f1941b2b82 libbsd.txt: Add section describing PF. 2016-08-02 10:58:08 +02:00
Christian Mauderer
f71cbd02dc libbsd.txt: Add guide for user space tools. 2016-08-02 10:58:02 +02:00
Christian Mauderer
df222eba72 testsuite/pf01: Test pfctl and pf. 2016-08-02 10:21:52 +02:00
Christian Mauderer
7f86f6afc7 pfctl: Add rtems_bsd_command_pfctl. 2016-08-02 10:21:52 +02:00
Christian Mauderer
c79290aba6 pfctl: build files. 2016-08-02 10:21:52 +02:00
Christian Mauderer
09ce54ec14 pfctl: Add yacc generated file. 2016-08-02 10:21:52 +02:00
Christian Mauderer
d79524e4a7 pfctl: Adapt for RTEMS. 2016-08-02 10:21:52 +02:00
Christian Mauderer
686583cba4 pfctl: Use static where possible. 2016-08-02 10:21:52 +02:00
Christian Mauderer
c70221cb64 pfctl: Add const and move static variables.
Note: This should be upstreamed into BSD.

Make everything constant that can be constant and move static variables
out of their functions.
2016-08-02 10:21:51 +02:00
Christian Mauderer
b6252fb806 pfctl: Match prototype.
Note: This should be upstreamed into BSD.
2016-08-02 10:21:51 +02:00
Christian Mauderer
6e9a8eadf5 pfctl: Import sources from FreeBSD. 2016-08-02 10:21:51 +02:00
Christian Mauderer
21abaef9b0 freebsd: Don't use new wrappers for old ports.
Some of the commands have been adapted manually. So the wrapper
currently don't necessarily work as expected. For example ifconfig calls
malloc outside of the program call.
2016-08-02 10:21:51 +02:00
Christian Mauderer
d31a3658d0 rtemsbsd: Add wrapper for open, fopen, malloc, ...
Add the following rtems_bsd_program_... wrapper:

* rtems_bsd_program_open
* rtems_bsd_program_socket
* rtems_bsd_program_close
* rtems_bsd_program_fopen
* rtems_bsd_program_fclose
* rtems_bsd_program_malloc
* rtems_bsd_program_calloc
* rtems_bsd_program_realloc
* rtems_bsd_program_free
* rtems_bsd_program_strdup
* rtems_bsd_program_vasprintf
* rtems_bsd_program_asprintf
2016-08-02 10:21:46 +02:00
Christian Mauderer
3d91340868 rtemsbsd: Add call to program with a data restore
This adds the rtems_bsd_program_call_main_width_data_restore function.
2016-08-02 10:21:38 +02:00
Christian Mauderer
fa43d6a7ea testsuite/syscalls01: Split out program01 part.
This allows to use normal functions for sockets and similar while
allowing to test the upcoming rtems_bsd_program_opan/close/... for the
program part.
2016-08-02 10:20:51 +02:00
Christian Mauderer
a9bd4224e8 testsuite/pf01: Add test that links PF. 2016-08-01 14:02:04 +02:00
Christian Mauderer
8dacfe492e testsuite/cdev01: Add test for cdev functions. 2016-08-01 14:02:04 +02:00
Christian Mauderer
9a01ebf7d7 kern_conf.c: Adapt for RTEMS. 2016-08-01 14:02:04 +02:00
Christian Mauderer
6c0cfc2173 kern_conf.c: Import from FreeBSD. 2016-08-01 14:02:04 +02:00
Christian Mauderer
b5db3321b5 rtemsbsd/devfs: Add. 2016-08-01 14:02:04 +02:00
Sebastian Huber
bf7faad356 rtems-bsd-mutex: Update due to API changes 2016-07-28 08:07:14 +02:00
Chris Johns
b6c170f713 kern/sleepqueue: Update due to API changes 2016-07-28 12:19:01 +10:00
Chris Johns
a0ea5f8710 Revert "kern/sleepqueue: Update due to API changes"
This reverts commit 1bf6529d195848be4f70b091a0a5071b1c08239a.

It changes FreeBSD whitespace.
2016-07-28 12:17:08 +10:00
Chris Johns
1bf6529d19 kern/sleepqueue: Update due to API changes 2016-07-28 12:16:09 +10:00
Sebastian Huber
e5aa554ea1 rtems-bsd-mutex: Update due to API changes 2016-07-27 08:51:53 +02:00
Chris Johns
95100121dc config: Fix telnetd configuration warning. 2016-07-19 08:12:41 +10:00
Chris Johns
ac0e5bfc2e Update to bring in the --show-commands fix. 2016-07-09 14:43:03 +10:00
Chris Johns
b8c7bf933c Set syslog priority to 'debug' for all tests. 2016-07-06 17:08:07 +10:00
Chris Johns
761ae78e05 Make the license message viewable with a verbose option.
The license details can be viewed if you mount with a -v option:

 # mount -i nfs -o "-v" 1.2.3.4:/mnt /mnt
2016-07-06 10:56:23 +10:00
Chris Johns
34f6271425 Provide empty RTEMS_BSD_CFGDECL_.* defines if not used. 2016-07-01 16:43:56 +10:00
Chris Johns
4dec435385 Add a wait for key press to test rccof02. 2016-07-01 16:36:13 +10:00
Chris Johns
65c65bb7a3 Add telnetd as service to rc.conf. 2016-07-01 15:49:52 +10:00
Chris Johns
fc26479566 Add ftpd initailize comment. 2016-06-30 13:35:37 +10:00
Chris Johns
f01b1f7209 Add RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
The domain allocator page abd mbuf size can be configured by the
user using RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
2016-06-30 11:42:49 +10:00
Chris Johns
dc5b267aaa Fix wording and spelling. 2016-06-30 09:25:13 +10:00
Chris Johns
573b198243 Add DHCP support to rc.conf. 2016-06-30 09:19:52 +10:00