469 Commits

Author SHA1 Message Date
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
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
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
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
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
Chris Johns
ace5fb657c Enable the Cadence cgem device syctls. 2016-06-27 21:31:03 +10:00
Chris Johns
591bd2d9c7 Revert "Enable the Cadence cgem device syctls."
This reverts commit 9362e7649bde3d31b6f464f3184fe527b4dcb1d2.

Committed white space changes.
2016-06-27 21:27:01 +10:00
Chris Johns
9362e7649b Enable the Cadence cgem device syctls. 2016-06-27 21:25:38 +10:00
Chris Johns
9835790270 Enable device sysctl. 2016-06-27 21:24:03 +10:00
Sebastian Huber
32fd702138 Update due to RTEMS printer API changes 2016-06-23 14:08:02 +02:00
Sebastian Huber
5851034aea reentrant.h: There is no main thread in RTEMS 2016-06-15 07:49:24 +02:00
Sebastian Huber
a037da67c6 XDR(3): Port to RTEMS 2016-06-10 14:10:26 +02:00
Sebastian Huber
f41a394f91 XDR(3): Import from FreeBSD 2016-06-10 14:10:26 +02:00
Sebastian Huber
9880635f2e RPC(3): Port to RTEMS 2016-06-10 14:09:54 +02:00
Sebastian Huber
60b1d40751 RPC(3): Import from FreeBSD 2016-06-10 14:09:30 +02:00
Sebastian Huber
17232fe551 Remove unused files
Files moved in FreeBSD to "sys/netpfil/ipfw".
2016-06-10 14:03:34 +02:00
Sebastian Huber
b36759105e Adjust <sys/stdint.h> for latest Newlib 2016-05-30 16:06:42 +02:00
Sebastian Huber
04762cf575 Directly use <machine/endian.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
b6f6deb883 Directly use <sys/_types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
43a14eba2e Update due to API changes 2016-05-25 13:11:59 +02:00
Sebastian Huber
356f59c898 kvprintf: Add support for %m 2016-05-06 14:07:34 +02:00
Sebastian Huber
54a577d44f subr_prf.c: Port to RTEMS 2016-05-06 14:07:31 +02:00
Sebastian Huber
d4402ddbc8 bcd.c: Import from FreeBSD 2016-05-06 13:44:43 +02:00
Sebastian Huber
469db421d3 subr_prf.c: Import from FreeBSD 2016-05-06 13:44:43 +02:00
Sebastian Huber
542c981ae6 ZONE(9): Fix mp_maxid definition 2016-05-06 07:57:46 +02:00
Chris Johns
83eb07c4d6 Add sbin/sysctl 2016-05-06 15:07:56 +10:00
Chris Johns
c60deba242 Fix sysctl support. 2016-05-06 15:07:56 +10:00
Chris Johns
7a79eec6fc The maxid is not the number of cpus. 2016-05-06 15:07:56 +10:00
Chris Johns
4b127e7cec Add RealTek Gig PHY. 2016-05-04 16:02:06 +10:00
Chris Johns
7b8f3362ae Remove debug output. 2016-04-28 13:49:40 +10:00
Sebastian Huber
4e07ea5063 Prevent invalid optimizations for linker sets 2016-04-27 14:20:22 +02:00
Sebastian Huber
55d372f0a9 Declare flsll() 2016-04-26 15:20:59 +02:00
Sebastian Huber
fa69a12153 Dummy PHOLD() and PRELE() 2016-04-26 15:20:59 +02:00
Sebastian Huber
7d0050d921 Fix fp initializaiton in kern_sendit()
Bug introduced by 22257c7d81148e5b78027116e07627a54f4efb95.
2016-04-25 11:26:58 +02:00
Chris Johns
e1e10cddee waf: Add the ability to set FreeBSD options on the configure command line.
Add --freebsd-options to add specific FreeBSD compile time options to
the build. This is a developer tool.
2016-04-23 17:37:27 +10:00
Sebastian Huber
22257c7d81 Avoid use of cap_rights_t 2016-04-18 15:06:41 +02:00
Sebastian Huber
c5fde4960c intrmask_t: Provide dummy type definition 2016-04-18 15:06:37 +02:00