- 10 Jan, 2017 12 commits
-
-
Sean Bruno authored
Reported by: jmallett
-
Adam Weinberger authored
it's probably time to admit that I am an active committer.
-
Larry Rosenman authored
Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D9117
-
Mateusz Guzik authored
Reported by: linimon
-
Ian Lepore authored
make both usb ports work on imx6 systems (the OTG port of course will only work in host mode).
-
Sean Bruno authored
- em(4) igb(4) and lem(4) - deprecate the igb device from kernel configurations - create a symbolic link in /boot/kernel from if_em.ko to if_igb.ko Devices tested: - 82574L - I218-LM - 82546GB - 82579LM - I350 - I217 Please report problems to freebsd-net@freebsd.org Partial review from jhb and suggestions on how to *not* brick folks who originally would have lost their igbX device. Submitted by: mmacy@nextbsd.org MFC after: 2 weeks Relnotes: yes Sponsored by: Limelight Networks and Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D8299
-
Navdeep Parhar authored
MFC after: 3 days
-
Bruce M Simpson authored
These have been tested back-to-back with Linux 3.x and a similar attachment at the other end; a CDC EEM-like encapsulation can be used for emulated Ethernet over udbp(4) with ng_ether.
-
Navdeep Parhar authored
engine. Obtained from: Chelsio Communications MFC after: 2 weeks Sponsored by: Chelsio Communications
-
Andriy Voskoboinyk authored
-
Bruce M Simpson authored
-
Conrad Meyer authored
Suggested by: jbeich@
-
- 09 Jan, 2017 28 commits
-
-
Conrad Meyer authored
Suggested by: kib@
-
Conrad Meyer authored
GCC warns (and errors, with -Werror) about it otherwise. Clang doesn't care. Introduced in r311665. Reported by: np@
-
Sean Bruno authored
Submitted by: mmacy@nextbsd.org
-
Andriy Voskoboinyk authored
Use a local copy for modifications instead. Tested with RTL8821AU (AP) + RTL8188EU (STA). Reported by: hselasky
-
Sean Bruno authored
-
Navdeep Parhar authored
MFC after: 3 days
-
Navdeep Parhar authored
in work requests that end at the end of the descriptor ring, even though the pidx wraps around to 0. MFC after: 3 days
-
Adrian Chadd authored
They're still a 1T2R NIC, so reuse the same rfconfig and nstream configuration. Submitted by: Idwer Vollering <vidwer@gmail.com>
-
Marius Strobl authored
potentially leading to fatal unaligned accesses on architectures with strict alignment requirements. This change fixes dummynet(4) as far as accesses to 64-bit members of struct dn_* are concerned, tripping up on sparc64 with accesses to 32-bit members happening to be correctly aligned there. In other words, this only fixes the tip of the iceberg; larger parts of dummynet(4) still need to be rewritten in order to properly work on all of !x86. In principle, considering the amount of code in dummynet(4) that needs this erroneous pattern corrected, an acceptable workaround would be to declare all struct dn_* packed, forcing compilers to do byte-accesses as a side-effect. However, given that the structs in question aren't laid out well either, this would break ABI/KBI. While at it, replace all existing bcopy(9) calls with memcpy(9) for performance reasons, as there is no need to check for overlap in these cases. PR: 189219 MFC after: 5 days
-
Konstantin Belousov authored
If some process' nodes were accessed using procfs and the process cannot exit properly at the time modunload event is reported to the pseudofs-backed filesystem, the assertion in pfs_vncache_unload() is triggered. Assertion is correct, the cache should be cleaned. Approved by: des (pseudofs maintainer) Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week
-
Dimitry Andric authored
Fix a clang 4.0.0 warning about taking the address of a packed member of struct mfi_evt in mfiutil: usr.sbin/mfiutil/mfi_evt.c:583:30: error: taking address of packed member 'members' of class or structure 'mfi_evt' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] if (parse_locale(optarg, &filter.members.locale) < 0) { ^~~~~~~~~~~~~~~~~~~~~ Use a local variable instead, and copy that into the struct. Reviewed by: jhb MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D9069
-
Dimitry Andric authored
MFC after: 3 days
-
Dimitry Andric authored
-
Alexander Motin authored
Instead of collecting statistics for each combination of ports and logical units, that consumed ~45KB per LU with present number of ports, collect separate statistics for every port and every logical unit separately, that consume only 176 bytes per each single LU/port. This reduces struct ctl_lun size down to just 6KB. Also new IOCTL API/ABI does not hardcode number of LUs/ports, and should allow handling of very large quantities. MFC after: 2 weeks (probably keeping old API enabled for some time)
-
Ian Lepore authored
handler which already holds the mutex, and have sdhci_handle_card_present() be just a tiny wrapper that does the locking for external callers. This should fix the recursive locking panics seen on rpi3. Reported by: Shawn Webb
-
Marius Strobl authored
Besides slots always having non-removable media, these HCIs require a custom hardware reset sequence after power-up. - Flesh out the support for Intel Braswell eMMC controllers further. Apart from also requiring said reset code, the timeout clock needs to be hardcoded to 1 MHz for these. Both the special reset and timeout clock handlings are implemented as global sdhci(4) quirks as the same treatment will be necessary for Intel eMMC controllers attached via ACPI (once sdhci(4) grows such a front-end). - In sdhci_init_slot(), use the right capability field for determining the announced bus width based on MMC_CAP_*_BIT_DATA. - Correct inverted sdhci_pci_softc member comments added in r276469. [1] Submitted by: Anton Yuzhaninov [1] MFC after: 5 days
-
Marius Strobl authored
or write, resulting in random short-read and short-write returns for requests. Fixing this fixes nominal block I/O via mmcsd(4). Obtained from: DragonFlyBSD (fd4b97583be1a1e57234713c25f6e81bc0411cb0) MFC after: 5 days
-
Alexander Motin authored
This array takes 64KB of RAM now, that was more then half of struct ctl_lun size. If at some point we support more ports, this may need another tune. MFC after: 2 weeks
-
Konstantin Belousov authored
This makes the versions inheritance consistent for our versioned libraries. Extracted from: ino64 Discussed with: kan Sponsored by: The FreeBSD Foundation MFC after: 1 week
-
Konstantin Belousov authored
Extracted from: ino64 work by gleb Sponsored by: The FreeBSD Foundation MFC after: 1 week
-
Steven Hartland authored
Load kvm symbols earlier to prevent rstat: symbol not in namelist error when running netstat -rs. Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> MFC after: 1 week Sponsored by: Multiplay
-
Xin LI authored
MFC after: 3 days
-
Enji Cooper authored
This change also documents the modification harti made to a handful of objects in r122758 (the max OCTET STRING width was increased from 15 to 31 octets) MFC after: 1 week
-
Enji Cooper authored
There haven't been any changes to the MIB definition, so the REVISION remains static at the version it was imported at MFC after: 1 week
-
Enji Cooper authored
There haven't been any changes to the MIB definition, so the REVISION remains static at the version it was imported at MFC after: 1 week
-
Enji Cooper authored
There haven't been any changes to the MIB definition, so the REVISION remains static at the version it was imported at MFC after: 1 week
-
Enji Cooper authored
when dereferencing a NULL pointer later on. Choose to just check for the NULL pointer in the next for-loop for now to fix the issue with a minimal amount of code churn sys/queue.h use here would make more sense than using a static table MFC after: 5 days
-
Enji Cooper authored
MFC after: 5 days
-