80 Commits

Author SHA1 Message Date
Sebastian Huber
c07da019f3 if_dwc: Fix a possible interrupt starvation 2017-01-10 09:53:33 +01:00
Sebastian Huber
051b634730 if_dwc: Avoid mbuf use after free 2017-01-10 09:53:33 +01:00
Sebastian Huber
b99c023a08 if_dwc: Checksum offload 2017-01-10 09:53:33 +01:00
Sebastian Huber
5deeb69c7e if_dwc: Avoid tx defrag if possible
Drop packets in case of resource shortage.
2017-01-10 09:53:33 +01:00
Sebastian Huber
d9ff8281d7 if_dwc: Simplify tx desc setup 2017-01-10 09:53:33 +01:00
Sebastian Huber
941021287a if_dwc: Fix transmit starvation 2017-01-10 09:53:33 +01:00
Sebastian Huber
6cd057d977 if_dwc: Fix IFCOUNTER_IPACKETS statistics
Input packets are counted in dwc_harvest_stats() as well.
2017-01-10 09:53:33 +01:00
Sebastian Huber
ec2e4b1fd2 if_dwc: Fix IFCOUNTER_OPACKETS statistics
Output packets are counted in dwc_harvest_stats() as well.
2017-01-10 09:53:33 +01:00
Sebastian Huber
e392c98990 if_dwc: Move interrupt handler install 2017-01-10 09:53:33 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Sebastian Huber
6254bf40b3 SDHCI(4): Delete
Delete heavily modified SDHCI(4) support.  It must be re-imported from a
later FreeBSD version on demand.
2016-11-09 10:26:17 +01:00
Sebastian Huber
e11f8e31f0 ohci: Fixes due to USB stack update 2016-10-07 07:24:42 +02:00
Sebastian Huber
8e65e1bf45 usb: Update to FreeBSD trunk 2016-08-23
FreeBSD trunk, 2016-08-23, 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2016-08-23 16:07:16 +02:00
Sebastian Huber
0c24e06130 mmc: Update to FreeBSD trunk 2016-08-23 2016-08-23 15:18:42 +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
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
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Chris Johns
4b127e7cec Add RealTek Gig PHY. 2016-05-04 16:02:06 +10:00
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
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
36a16f5c7f i386: Quick and dirty hack to get PCI working 2015-09-30 15:55:36 +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
855c12048c PCI: Enable some functions 2015-07-31 13:55:13 +02:00
Sebastian Huber
a3ef8e6a47 e1000: Add missing file 2015-07-31 11:54:27 +02: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
Sebastian Huber
165dd8ea12 Update to FreeBSD Stable/9 2015-04-08 2015-05-20 09:58:21 +02:00
Sebastian Huber
278bc93a59 usb: Import USB support from libusb 2015-05-15 15:40:55 +02:00
Sebastian Huber
da5e3a21d0 if_dwc: Avoid mbuf use after free 2015-04-08 07:57:05 +02:00
Sebastian Huber
ebc797fc84 if_dwc: Increase DMA descriptor count
This prevents some packet loss under heavy load conditions.
2015-04-08 07:57:05 +02:00
Sebastian Huber
fb7a5329b0 if_dwc: Typo 2015-04-08 07:57:05 +02:00
Sebastian Huber
6b176ce668 if_dwc: Checksum offload 2015-04-01 09:15:30 +02:00
Sebastian Huber
a681853878 if_dwc: Avoid tx defrag if possible
Drop packets in case of resource shortage.
2015-04-01 09:15:30 +02:00
Sebastian Huber
822aa5dee2 if_dwc: Simplify tx desc setup 2015-04-01 09:15:30 +02:00
Sebastian Huber
dd1feda161 if_dwc: Fix transmit starvation 2015-04-01 09:15:29 +02:00
Sebastian Huber
1535c87c81 if_dwc: Avoid NULL pointer access 2015-04-01 09:15:29 +02:00
Sebastian Huber
4a5a309059 if_dwc: Fix warning 2015-04-01 09:15:29 +02:00
Sebastian Huber
6a4b5a45e1 if_dwc: Use explicit cache operations 2015-04-01 09:15:29 +02:00
Sebastian Huber
d5ad68ab54 if_dwc: Move interrupt handler install 2015-04-01 09:15:29 +02:00
Sebastian Huber
8f12e89b1f if_dwc: Reduce DMA descriptor count 2015-04-01 09:15:29 +02:00
Sebastian Huber
c94bb491a0 if_dwc: Add nexus device support 2015-04-01 09:15:29 +02:00
Sebastian Huber
d3a6abb1a5 if_dwc: Use rtems_bsd_get_mac_address() 2015-04-01 09:15:29 +02:00
Sebastian Huber
acab7270b6 if_dwc: Workaround for missing FDT support 2015-04-01 09:15:29 +02:00
Sebastian Huber
13afbe7a80 if_dwc: Silence warning 2015-04-01 09:15:29 +02:00
Sebastian Huber
36a92dfe8e if_dwc: Workaround for if_inc_counter() 2015-04-01 09:15:29 +02:00