Permalink
Commits on Mar 29, 2013
  1. libc/libc_r: Remove some obsolete comments.

    Sascha Wildner committed Mar 29, 2013
  2. kernel: Remove 'options COMPAT_SUNOS'.

    It was supposed to provide binary compatibility with SunOS 4.x for the
    sparc32 port of 4.4BSD.
    Sascha Wildner committed Mar 29, 2013
  3. lock(1): Do not require 'options COMPAT_43' in the kernel config.

    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 <joris@giovannangeli.fr>
    Taken-from:   FreeBSD
    Sascha Wildner committed Mar 29, 2013
  4. bnx: Make sure that all of the TX rings receive tx_wreg update

    Sepherosa Ziehau committed Mar 29, 2013
  5. bnx: Make "force defrag" as TX ring flag

    Sepherosa Ziehau committed Mar 29, 2013
  6. bnx: Turn softc SHORTDMA flag into per TX ring flag

    Avoid extra softc accessing during transmission.
    Sepherosa Ziehau committed Mar 29, 2013
  7. re: Disable IP header checksum offloading on 8168C/8168CP

    These chips will generate wrong IP header checksum if IP options exist.
    
    Obtained-from: FreeBSD
    Sepherosa Ziehau committed Mar 29, 2013
Commits on Mar 28, 2013
  1. libc: Add a few missing xdr functions

    Obtained-from: FreeBSD
    François Tigeot committed Mar 28, 2013
  2. bnx: Regroup TX related fields into TX ring struct

    Sepherosa Ziehau committed Mar 28, 2013
  3. bnx: Defer interrupt allocation until chip reset is done

    Sepherosa Ziehau committed Mar 28, 2013
  4. bnx: Remove remainder of BCM5906

    Sepherosa Ziehau committed Mar 28, 2013
  5. kernel - Cleanup SWB_NPAGES

    * 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
    Matthew Dillon committed Mar 28, 2013
Commits on Mar 27, 2013
  1. vkernel - Add debugging

    * Provide more information when interrupting to the db> prompt.
    Matthew Dillon committed Mar 27, 2013
  2. jme: Enable PHY calibration to fix compat issue w/ certain switches

    EA settings are obtained from JMicron Linux driver.
    
    See-also: FreeBSD PR kern/177400
    Sepherosa Ziehau committed Mar 27, 2013
  3. jme: Fix comment

    Sepherosa Ziehau committed Mar 27, 2013
  4. vkernel - Fix copyin/copyout to return the correct error code

    * These functions must return EFAULT on error, not a KERN_* error code.
    Matthew Dillon committed Mar 27, 2013
  5. kernel - Fix bug in uiomove() error handling (2)

    * Quickly fix bug in last commit related to setting the error
      code in vm_fault_page()
    Matthew Dillon committed Mar 27, 2013
Commits on Mar 26, 2013
  1. kernel - mps driver - Adjust M_NOWAIT -> M_INTWAIT.

    * 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.
    Matthew Dillon committed Mar 26, 2013
  2. kernel - Fix bug in uiomove() error handling, fix deadlock in read_sh…

    …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
    Matthew Dillon committed Mar 26, 2013
  3. nrelease: Use variables.

    Sascha Wildner committed Mar 26, 2013
  4. ipiq: Use cached mycpu to access per-cpu ipiq stats

    Reminded-by: sjg@
    Sepherosa Ziehau committed Mar 26, 2013
  5. bce: Don't use MSI-X, if the effective RX ring count is 1

    Sepherosa Ziehau committed Mar 26, 2013
  6. bce: Try enabling MSI-X on 5716 too

    Well, to be frank, I never saw any real "5716" in the field.
    Sepherosa Ziehau committed Mar 26, 2013
  7. ipiq: Make stats per-cpu

    Sepherosa Ziehau committed Mar 26, 2013
  8. udp: Make stats per-cpu

    Sepherosa Ziehau committed Mar 26, 2013
  9. lnc: Call ether_ifattach() before lance_stop()

    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
    Sepherosa Ziehau committed Mar 26, 2013
Commits on Mar 25, 2013
  1. kernel/cpu_topology: They are just bits, not BITS.

    Sascha Wildner committed Mar 25, 2013
  2. ip: Cache align ip_stats

    - ip_stats is padded to multiple cache line size; add comment about it
    - Cache align the per-cpu ip_stats array
    Sepherosa Ziehau committed Mar 25, 2013
Commits on Mar 23, 2013
  1. natacontrol(8): Add commands to tweak power/acoustic management featu…

    …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 <m.lombardi85@gmail.com>
    Taken-from:    FreeBSD PR 81692
    Tested-by:     Maurizio Lombardi <m.lombardi85@gmail.com>
    Sascha Wildner committed Mar 23, 2013
  2. natacontrol(8): s/atacontrol/natacontrol/

    Sascha Wildner committed Mar 23, 2013
  3. bsd.kern.mk: -Wno-unused-but-set-variable is gcc47 specific.

    Sascha Wildner committed Mar 23, 2013
  4. kernel/em/emx: Fix -Wundef.

    Sascha Wildner committed Mar 23, 2013