413 Commits

Author SHA1 Message Date
hselasky
c04e7c2657 Fix for directly connected FULL or LOW speed USB devices.
Found by:	Sebastian Huber <sebastian.huber@embedded-brains.de>
MFC after:	1 week
2016-01-05 10:23:15 +01:00
Sebastian Huber
1061324396 NETSTAT(1): Avoid use of uninitialized memory 2015-11-18 09:47:10 +01:00
Sebastian Huber
eb3b5db041 Fix for RTEMS provided <sys/priority.h> 2015-11-18 09:23:39 +01:00
Sebastian Huber
33d8f3c7cc Use RTEMS provided <sys/priority.h> 2015-11-17 15:28:06 +01:00
Sebastian Huber
39ac918828 Use RTEMS provided <sys/ttycom.h> 2015-11-17 15:24:49 +01:00
Sebastian Huber
2dd7b49962 Use RTEMS provided <sys/sockio.h> 2015-11-17 15:14:06 +01:00
Sebastian Huber
25ce3e8767 Use RTEMS provided <sys/mman.h> 2015-11-17 15:04:54 +01:00
Sebastian Huber
c9f679f280 Use RTEMS provided <sys/filio.h> 2015-11-17 15:02:33 +01:00
Sebastian Huber
d5b64f2704 Use RTEMS provided <sys/endian.h> 2015-11-17 14:43:06 +01:00
Sebastian Huber
dd96574e45 SOCKETPAIR(2): Port to RTEMS 2015-11-16 09:52:50 +01:00
Sebastian Huber
c5a141a786 dwc_otg: Import from FreeBSD trunk 2015-11-10 2015-11-12 13:01:25 +01:00
Sebastian Huber
02279d6272 USB: Update to FreeBSD trunk 2015-11-10 2015-11-12 13:01:12 +01:00
Sebastian Huber
524990c2ab Provide ffs() and ffsl() via builtins 2015-11-02 09:11:22 +01:00
Sebastian Huber
59c9a5f8ba NSDISPATCH(3): Add proper nsparser.h
Update nsparser.h to fit with the files introduced via
e35a65e99512000ab0107c4fc64f89aa84f7de38.
2015-10-19 09:59:45 +02:00
Sebastian Huber
36a16f5c7f i386: Quick and dirty hack to get PCI working 2015-09-30 15:55:36 +02:00
Sebastian Huber
b168f6972d BUS_SPACE(9): Use FreeBSD files for i386 arch 2015-09-29 11:05:31 +02:00
Sebastian Huber
4cf89826b0 Avoid pci_cfgreg.h rename 2015-09-29 10:44:04 +02:00
Sebastian Huber
7d460ce630 Avoid pci_bus.c file rename 2015-09-25 14:05:58 +02:00
Sebastian Huber
495a768f99 ZONE(9): Fix slab flag handling
Disable unused slab flags.
2015-09-11 11:50:44 +02:00
Sebastian Huber
4c7d385f06 ZONE(9): Disable unused field 2015-09-11 10:53:38 +02:00
Sebastian Huber
2dea47c82f ZONE(9): Define SMP if RTEMS_SMP is defined 2015-09-11 10:53:38 +02:00
Sebastian Huber
7f5afa04cd if_dwc: Fix a possible interrupt starvation 2015-09-11 10:53:38 +02:00
Sebastian Huber
8c5aecfde3 if_dwc: Invalidate read buffer again
This may prevent problems in case a cache line prefetch added some lines
to the cache during a DMA transfer.
2015-09-11 10:53:38 +02:00
Sebastian Huber
986f7dd050 Delete superfluous pci_cfgreg.h files 2015-09-01 07:51:31 +02:00
Sebastian Huber
89050cca02 Delete superfluous legacyvar.h files 2015-09-01 07:48:34 +02:00
Sebastian Huber
5e62c732fa Delete superfluous pci_bus.c files 2015-09-01 07:44:48 +02:00
Sebastian Huber
3fece79604 Delete superfluous legacy.c files 2015-09-01 07:38:49 +02:00
Sebastian Huber
855c12048c PCI: Enable some functions 2015-07-31 13:55:13 +02:00
Sebastian Huber
ad0fb5621b Disable pcibus_pnp driver module 2015-07-31 13:00:02 +02:00
Sebastian Huber
7c33a00578 Dummy securelevel_ge() and securelevel_gt() 2015-07-31 12:55:41 +02:00
Sebastian Huber
9199609cea DEVICE.HINTS(5): Enable resource_disabled() 2015-07-31 12:55:17 +02:00
Sebastian Huber
3fc15fde79 i386/legacy.c: Disable per CPU stuff 2015-07-31 12:53:37 +02:00
Sebastian Huber
a3ef8e6a47 e1000: Add missing file 2015-07-31 11:54:27 +02:00
Sebastian Huber
2fc413a47e i386: Make <machine/cpufunc.h> compile clean 2015-07-31 11:52:16 +02:00
Chris Johns
6201756829 Fix buiding for the i386. 2015-07-16 21:05:47 +10:00
Chris Johns
c6e539593e tcpdump: Return the PCAP loop return value. Increase the stack size. 2015-06-26 15:20:22 +10:00
Chris Johns
9ee5268786 tcpdump: Allow enter/return to exit tcpdump.
Implement the PCAP loop in a separate thread and block the shell
thread in the stdin getchar. When a user presses enter/return
call the PCAP break loop function to have it return.
2015-06-26 15:15:57 +10:00
Chris Johns
0d003d7e73 Revert "if_cgem: Enable hardware checksum assist"
This reverts commit dec6b678bba05624335c87b73dc160b54d845cbd.

This default for TXCSUM and RXCSUM should be used and a user should
turn on TXCSUM and RXCSUM.
2015-06-22 10:40:36 +10:00
Chris Johns
82830ce063 Revert "Return the default TX and RX hardware checksum for the Cadence driver to off."
This reverts commit 54fb9f01f86286ecea3093f6f524afec86d6313f.

This change adds white space changes. A better solution is to revert
the original change.
2015-06-22 10:39:41 +10:00
Chris Johns
54fb9f01f8 Return the default TX and RX hardware checksum for the Cadence driver to off.
The hardware support does not seem to work with qemu. The support can be
enabled with ifconfig or via ioctl on real hardware to get the
performance boost.
2015-06-19 17:35:06 +10:00
Chris Johns
c31922b8c4 Fix RTEMS ifdef labelling. 2015-06-19 15:32:13 +10:00
Chris Johns
54409c7f6e Supply /dev/bpf and /dev/bpf0. Both are needed. 2015-06-19 15:25:06 +10:00
Chris Johns
2abb43138e Add the missing generated libpcap file. 2015-06-16 21:23:12 +10:00
Chris Johns
affed5e3f5 Add BDS command support headers. 2015-06-16 13:20:15 +10:00
Chris Johns
50500b5e97 The BPF dev node needs a minor number for tcpdump. 2015-06-16 13:17:19 +10:00
Chris Johns
7c8c0eb134 Provide the missing cdecl for _nsdispatch. 2015-06-16 12:53:46 +10:00
Chris Johns
8440506ee8 Add tcpdump and libpcap.
- Update the file builder generator to handle generator specific cflags and
  includes. The tcpdump and libpcap have localised headers and need specific
  headers paths to see them. There are also module specific flags and these
  need to be passed to the lex and yacc generators.

- Add the tcpdump support.
2015-06-15 17:42:23 +10:00
Chris Johns
e35a65e995 Regenerate with FreeBSD lex, yacc, and rpcgen tools.
Use the FreeBSD lex, yacc and rpcgen tools to generate the various
sources used in LibBSD. The change also removes an RTEMS specific change
added when using other hosts operating systems to generate the files.

LibBSD should use FreeBSD version of the tools to generate the source
because the FreeBSD kernel is developed using them.

The change is supported by the waf build which disables generating
the files unless enabled. I am not sure the effect with the Makefile
build support.
2015-05-27 09:40:30 +10:00
Sebastian Huber
595b333ad2 Add INVARIANTS support 2015-05-20 15:03:32 +02:00
Sebastian Huber
7d44707145 Fix struct ucred warnings 2015-05-20 15:03:32 +02:00