OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Chris Cappuccio (chriscvs.openbsd.org)
Date: Thu Feb 07 2002 - 22:43:24 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    CVSROOT: /cvs
    Module name: src
    Changes by: chriscvs.openbsd.org 2002/02/07 21:43:24

    Modified files:
            sys/dev/pci : if_sis.c if_sisreg.h

    Log message:
    Partial sync with FreeBSD, mostly bugfixes from Luigi Rizzo (ok jason)

    -Remove m_devget on non-STRICT_ALIGNMENT architectures, supposedly a 50-70%
    performance increase for peak packet forwarding on the Soekris 486/133 on fbsd

    -Fix a bug in the driver -- under load, the receive unit could become
    idle and the driver would not detect the event, requiring userland
    to cycle the interface to bring it up again.

    The fix consists in adding SIS_IMR_RX_IDLE to the interrupt mask and
    add a command in sis_intr() to restart the receiver when this happens.

    -While at it, make the test of status bits more efficient

    -Slightly simplify the code to initialize the ring buffers

    -Add VLAN support (Accept Long Packets)