11 Oct, 2007

2 commits

  • - Added support to unmask entire set of device errors and alarams.
    Alarm interrupts are generated for a myriad of purposes, ranging from
    illegal operations or requests to internal state machine errors and
    uncorrectable data corruption errors. In several cases the adapter can
    recover gracefully from unexpected events; however, in some cases, a device
    reset may be necessary. This patch handles alarms generated by all the
    blocks within the device.

    The adapter generates the following types of alarms:
    1. Link state transitions (local/remote fault) or other link-related
    problems.
    2. Problems with any device peripherals, including the EEPROM, FLASH,
    etc.
    3. Correctable ECC errors (single-bit errors) on internal data
    structures or frame data.
    4. Uncorrectable ECC errors (multi-bit errors) on internal data
    structures or frame data.
    5. State machine errors, which indicate that internal control
    structures have become corrupted.
    6. PCI related errors, including parity errors or illegal transactions.
    7. Other unexpected events.

    - Implemented Jeff's review comments to use do_s2io_write_bits function to avoid
    duplicate codes.

    Signed-off-by: Sivakumar Subramani
    Signed-off-by: Santosh Rastapur
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: Jeff Garzik

    Sivakumar Subramani
     
  • - Making MSIX as default intr_type
    - Driver will test MSI-X by issuing test MSI-X vector and if fails it will
    fallback to INTA

    Signed-off-by: Sivakumar Subramani
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: Jeff Garzik
    Signed-off-by: David S. Miller

    Sivakumar Subramani
     

31 Jul, 2007

1 commit


28 Apr, 2007

1 commit

  • - Remove unused variables from s2io_nic structure

    - Changed the memory failure printk messages to print only in debug mode

    - Updated the copyright messages

    (Resending; due to patch being corrupted)

    Signed-off-by: Santosh Rastapur
    Signed-off-by: Jeff Garzik

    Ramkrishna Vepa
     

27 Feb, 2007

1 commit


06 Feb, 2007

2 commits


14 Sep, 2006

1 commit


03 May, 2006

2 commits

  • Hi,
    This patch contains additional statistics counters added to s2io driver
    these statistics are very much usefull in debugging the driver.

    Signed-off-by: Ananda Raju
    Signed-off-by: Jeff Garzik

    Ananda Raju
     
  • hi,
    This patch contains all the changes that were done to improve
    performance of s2io driver. one line description of the changes
    are

    1. For Non NAPI case the rx interrupt handler is being called
    unconditionally
    2. code optimization and adding prefetch skb->data
    3. Remove modulo operations in fast path
    4. Enable Group Reads and set backoff interval to 0x1000
    5. correct PIC_CNTL_SHARED_SPLITS macro definition, and reduce
    pause parameter
    6. Corrected logic of identifying rx buffer level in rx_buffer_level()
    7. fix DMA map and unmap done with different sizes in 1-buf mode
    8. Removed forcible disabling of ERO
    9. Send up the packets with transfer code = 0x5

    Signed-off-by: Ananda Raju
    Signed-off-by: Jeff Garzik

    Ananda Raju
     

19 Oct, 2005

1 commit

  • This patch fixes the following bugs with offline diagnostics
    code(run with "ethtool -t").

    1. After running offline diagnostics, adapter would report
    corrupted packets on receive. This was because of adapter not
    being brought out of "RLDRAM test mode".
    2. Current EEPROM test works only for Xframe I. Since Xframe II
    uses different interface(SPI), support for this interface has
    been added. Also, since SPI supports write access to all areas
    of EEPROM, negative testing is done only for Xframe I.
    3. Return values from subfunctions of offline diagnostics have
    been corrected.
    4. In register test, expected value from rx_queue_cfg register
    is made to depend on adapter type.
    5. After the test, need to restore values at EEPROM offsets
    0x4F0 and 0x7F0. These locations were modified as part of test.
    6. Use macro SPECIAL_REG_WRITE for write access to mc_rldram_test_ctrl
    register. Also, couple of unnecessary writes to mc_rldram_test_ctrl
    have been removed.

    Signed-off-by: Ravinandan Arakali
    Signed-off-by: Jeff Garzik

    ravinandan.arakali@neterion.com
     

07 Sep, 2005

1 commit

  • Hi,
    This patch contains the following hardware related fixes and other
    miscellaneous bug fixes.

    1. Updated the definition of single and double-bit ECC errors
    2. Earlier we were allocating Transmit descriptors equal to
    MAX_SKB_FRAGS. This was causing a boundary condition failure.
    Need to allocate MAX_SKB_FRAGS+1 descriptors.
    3. On some platforms(like PPC), pci_alloc_consistent() can return
    a zero DMA address. Since the NIC cannot handle zero-addresses,
    a workaround has been provided. Basically, we don't use such
    that page. We reallocate.
    4. If list_info allocation failed during driver load, check for
    it during driver exit and return instead of trying to dereference
    NULL pointer.
    5. Increase the debug level of few non-critical debug messages.
    6. Reset the card on critical ECC double errors only in case of
    XframeI since XframeII can recover from such errors.
    7. Print copyright message on driver load.
    8. Bumped up the driver version no. to 2.0.8.1

    Signed-off-by: Ravinandan Arakali
    Signed-off-by: Jeff Garzik

    ravinandan.arakali@neterion.com
     

11 Aug, 2005

4 commits

  • Hi,
    The below patch implements a new "Link state change handling"
    scheme supported by the Xframe II adapter. It also bumps up the
    driver version to 2.0.2.0.

    Signed-off-by: Ravinandan Arakali
    Signed-off-by: Raghavendra Koushik
    Signed-off-by: Jeff Garzik

    raghavendra.koushik@neterion.com
     
  • Hi,
    This patch provides basic support for the Xframe II adapter.
    Includes the following changes:
    1. New values to program XAUI interface.
    2. Print the PCI/PCI-X mode(bus frequency, width).
    3. Remove EOI from reset during intialization.
    4. Enable all 8 PCCs if Xframe II adapter.
    5. Programs the RLDRAM size depending on the device.
    (Note: RLDRAM size on XFARME-I is 64Mb whereas on XFRAME-II it's 32 Mb).
    6. Enable extended(64-bit) statistics counters.
    7. Program timer interrupt duration based on PCI/PCI-X clock speed.
    8. Not required to save/restore PCI config space before/after reset.

    Signed-off-by: Ravinandan Arakali
    Signed-off-by: Raghavendra Koushik
    Signed-off-by: Jeff Garzik

    raghavendra.koushik@neterion.com
     
  • Hi,
    Below patch addresses few h/w specific issues.
    1. Check for additional ownership bit on Rx path before
    starting Rx processing.
    2. Enable only 4 PCCs(Per Context Controller) for Xframe I
    revisions less than 4.
    3. Program Rx and Tx round robin registers depending on
    no. of rings/FIFOs.
    4. Tx continous interrupts is now a loadable parameter.
    5. Reset the card if we get double-bit ECC errors.
    6. A soft reset of XGXS being done to force a link state change has been
    eliminated.
    7. After a reset, clear "parity error detected" bit,
    PCI-X ECC status register, and PCI_STATUS bit in
    tx_pic_int register.
    8. The error in the disabling allmulticast implementation has been
    rectified.
    9. Leave the PCI-X parameters MMRBC, OST etc. at their
    BIOS/system defaults.

    Signed-off-by: Ravinandan Arakali
    Signed-off-by: Raghavendra Koushik
    Signed-off-by: Jeff Garzik

    raghavendra.koushik@neterion.com
     
  • Hi,
    We are submitting a series of 13 patches to support our Xframe I and
    Xframe II line of products. The patches can be categorized as follows:

    Patches 1-8 : Changes applicable to both Xframe I and II
    Patches 9-11: Xframe II specific features
    Patch 12: Addresses issues found during testing cycle.
    Patch 13: Incorpoates mostly the review comments from community
    and some last moment bug fixes.

    Please review the patches and let us know your comments.

    Starting with patch 1 below.
    This patch involves cosmetic changes(tabs and indentation,
    regrouping of transmit and receive data structures, typecasting,
    code cleanup).

    Signed-off-by: Ravinandan Arakali
    Signed-off-by: Raghavendra Koushik
    Signed-off-by: Jeff Garzik

    raghavendra.koushik@neterion.com
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds