It was supposed to provide binary compatibility with SunOS 4.x for the sparc32 port of 4.4BSD.
We commented out COMPAT_43 in our configs some time ago, which broke lock(1) that needed TIOCGETP and TIOCSETP ioctls which are only available with COMPAT_43. This commit converts lock(1) to use tcgetattr(3) and tcsetattr(3), along with some minor cleanups. Reported-by: noway on #dragonflybsd Submitted-by: Joris Giovannangeli <firstname.lastname@example.org> Taken-from: FreeBSD
Avoid extra softc accessing during transmission.
These chips will generate wrong IP header checksum if IP options exist. Obtained-from: FreeBSD
* Remove the conditional for the SWB_NPAGES #define so the swblock structure remains consistent. Remove the override in swap_pager.c. * Previous code was confusing, but harmless. Reported-by: Enjolras
* Provide more information when interrupting to the db> prompt.
EA settings are obtained from JMicron Linux driver. See-also: FreeBSD PR kern/177400
* These functions must return EFAULT on error, not a KERN_* error code.
* Quickly fix bug in last commit related to setting the error code in vm_fault_page()
* This (and many other drivers) really should not be using M_NOWAIT, which can fail trivially even when memory is available. Use M_INTWAIT instead.
…ortcut * Fix a recently introduced bug in uiomove() related to error handling when iovcnt is greater than 1. * Fix a deadlock in the vm.read_shortcut code, rare triggerable except by vkernels. The deadlock is due to a busied VM page being held across a uiomove(). To fix a new function uiomove_nofault() was added which causes EFAULT to be returned for any non-trivial VM fault (any fault related to nested objects or vnode objects). The vop_helper_read_shortcut() procedure uses this new uiomove function and breaks out when the case occurs, returning and falling through to the filesystem's normal buffer-cache-based read() code. * As an added bonus, we no longer have to unlock the VM object across the new uiomove_nofault() call in the read shorcut code, since it is no longer possible to deadlock against the VM object. Reported-by: tuxillo
Well, to be frank, I never saw any real "5716" in the field.
So ifnet is properly setup. While I'm here, remove no longer needed lance_attach() and don't return error code from lance_config(), which returned no error at all. DragonFly-bug: http://bugs.dragonflybsd.org/issues/2528
- ip_stats is padded to multiple cache line size; add comment about it - Cache align the per-cpu ip_stats array
…res. Sometimes disks designed to operate in low power mode by default constantly spin up/down during operation which leads to reduced performance. This commit adds the 'feature' command to natacontrol(8) which can be used to tweak the 'advanced power management' and 'automatic acoustic management' features. Their current setting could already be viewed before this commit using the 'natacontrol cap' command. I'd like this to be possible with camcontrol(8) too for CAM attached disks, but afaict these are ATA specific features so I guess we'd have to integrate ATA into CAM too before that is possible. Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2531> Reported-by: Maurizio Lombardi <email@example.com> Taken-from: FreeBSD PR 81692 Tested-by: Maurizio Lombardi <firstname.lastname@example.org>