11 Dec, 2006

1 commit

  • This driver tries to enable/disable NAPI at runtime, but
    does so in an unsafe manner, and the NAPI interrupt handling is
    a mess. Replace it with a compile time selected NAPI implementation.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     

02 Dec, 2006

8 commits

  • Replace driver crc calculation with existing library.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • Add support for 1G versions of Chelsio devices.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • Add support for other versions of the 10G Chelsio boards.
    This is basically a port of the vendor driver with the
    TOE features removed.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • drivers/built-in.o: In function `netxen_nic_remove':
    netxen_nic_main.c:(.text+0x31b4d): undefined reference to `pci_disable_msi'
    netxen_nic_main.c:(.text+0x31b8e): undefined reference to `pci_release_regions'
    drivers/built-in.o: In function `netxen_init_module':
    netxen_nic_main.c:(.init.text+0x3f17): undefined reference to `pci_module_init'
    make: *** [.tmp_vmlinux1] Error 1

    Signed-off-by: Randy Dunlap
    Signed-off-by: Jeff Garzik

    Randy Dunlap
     
  • Driver for the Atmel MACB on-chip ethernet module.

    Tested on AVR32/AT32AP7000/ATSTK1000. I've heard rumours that it works
    with AT91SAM9260 as well, and it may be possible to share some code with
    the at91_ether driver for AT91RM9200.

    Hardware documentation can be found in the AT32AP7000 data sheet,
    which can be downloaded from

    http://www.atmel.com/dyn/products/datasheets.asp?family_id=682

    Changes since previous version:
    * Probe for PHY ID instead of depending on it being provided through
    platform_data.
    * Grab initial ethernet address from the MACB registers instead
    of depending on platform_data.
    * Set MII/RMII mode correctly.

    These changes are mostly about making the driver more compatible with
    the at91 infrastructure.

    Signed-off-by: Haavard Skinnemoen
    Signed-off-by: Jeff Garzik

    Haavard Skinnemoen
     
  • Add tsi108/9 on chip Ethernet controller driver support.

    The driver code collects the feedback of previous posting form the mailing
    list and gives the update.

    MPC7448HPC2 platform in arch/powerpc uses tsi108 bridge.

    The following is a brief description of the Ethernet controller:

    The Tsi108/9 Ethernet Controller connects Switch Fabric to two independent
    Gigabit Ethernet ports,E0 and E1. It uses a single Management interface to
    manage the two physical connection devices (PHYs). Each Ethernet port has
    its own statistics monitor that tracks and reports key interface
    statistics. Each port supports a 256-entry hash table for address
    filtering. In addition, each port is bridged to the Switch Fabric through
    a 2-Kbyte transmit FIFO and a 4-Kbyte Receive FIFO.

    Each Ethernet port also has a pair of internal Ethernet DMA channels to
    support the transmit and receive data flows. The Ethernet DMA channels use
    descriptors set up in memory, the memory map of the device, and access via
    the Switch Fabric. The Ethernet Controller’s DMA arbiter handles
    arbitration for the Switch Fabric. The Controller also has a register bus
    interface for register accesses and status monitor control.

    The PMD (Physical Media Device) interface operates in MII, GMII, or TBI
    modes. The MII mode is used for connecting with 10 or 100 Mbit/s PMDs.
    The GMII and TBI modes are used to connect with Gigabit PMDs. Internal
    data flows to and from the Ethernet Controller through the Switch Fabric.
    Each

    Ethernet port uses its transmit and receive DMA channels to manage data
    flows through buffer descriptors that are predefined by the system (the
    descriptors can exist anywhere in the system memory map). These
    descriptors are data structures that point to buffers filled with data
    ready to transmit over Ethernet, or they point to empty buffers ready to
    receive data from Ethernet.

    Signed-off-by: Alexandre Bounine
    Signed-off-by: Roy Zang
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Zang Roy-r61911
     
  • Signed-off-by: Amit S. Kale
    Signed-off-by: Jeff Garzik

    Amit S. Kale
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
    [PATCH] Fix an offset error when reading the CS89x0 ADD_PORT register
    [PATCH] spidernet: poor network performance
    [PATCH] Spidernet: remove ETH_ZLEN check in earlier patch
    [PATCH] bonding: fix an oops when slave device does not provide get_stats
    [PATCH] drivers/net: SAA9730: Fix build error
    Revert "[PATCH] zd1211rw: Removed unneeded packed attributes"
    [PATCH] zd1211rw: Fix of a locking bug
    [PATCH] softmac: remove netif_tx_disable when scanning
    [PATCH] ieee80211: Fix kernel panic when QoS is enabled

    Linus Torvalds
     

30 Nov, 2006

2 commits

  • Confusingly NET_PCI is also set for for non-PCI EISA configurations where
    building this driver will result in a build error due to a reference to
    pci_release_regions.

    While at it, remove the EXPERIMENTAL - in all its uglyness and despite
    the sincerest attempts of the buggy hardware the driver is known to work.
    Also limit the driver to the Atlas board - the only known system to ever
    use the SAA9730 before Phillips ended the short live of the SAA9730.

    Signed-off-by: Ralf Baechle
    Signed-off-by: Jeff Garzik

    Ralf Baechle
     
  • Fix various Kconfig typos.

    Signed-off-by: Matt LaPlante
    Acked-by: Randy Dunlap
    Signed-off-by: Adrian Bunk

    Matt LaPlante
     

08 Nov, 2006

1 commit

  • As Patrick McHardy suggested, Traffic Shaper is now
    obsolete and alternative to it is no longer CBQ, since its problems with
    virtual devices, alter Kconfig text to reflect this -- put a link to the
    traffic schedulers as a whole.

    Signed-off-by: Jiri Slaby
    Acked-by: Patrick McHardy
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Jiri Slaby
     

06 Nov, 2006

1 commit


01 Nov, 2006

1 commit


25 Oct, 2006

1 commit

  • CRYPTO_MANAGER is selected automatically by CONFIG_ECB and CONFIG_CBC.

    config CRYPTO_ECB
    tristate "ECB support"
    select CRYPTO_BLKCIPHER
    select CRYPTO_MANAGER

    I've added CONFIG_ECB to the ones you mentioned and CONFIG_CBC to
    gssapi.

    Signed-off-by: Patrick McHardy
    Signed-off-by: Herbert Xu

    Patrick McHardy
     

22 Oct, 2006

1 commit

  • changes due to qe_lib changes include:

    o removed inclusion of platform header file
    o removed platform_device code, replaced with of_device
    o removed typedefs
    o uint -> u32 conversions
    o removed following defines:
    QE_SIZEOF_BD, BD_BUFFER_ARG, BD_BUFFER_CLEAR, BD_BUFFER,
    BD_STATUS_AND_LENGTH_SET, BD_STATUS_AND_LENGTH, and BD_BUFFER_SET
    because they hid sizeof/in_be32/out_be32 operations from the reader.
    o removed irrelevant comments, added others to resemble removed BD_ defines
    o const'd and uncasted all get_property() assignments

    bugfixes, courtesy of Scott Wood, include:

    - Read phy_address as a u32, not u8.
    - Match on type == "network" as well as compatible == "ucc_geth", as
    device_is_compatible() will only compare up to the length of the
    test string, allowing "ucc_geth_phy" to match as well.
    - fixes the MAC setting code in ucc_geth.c. The old code was overwriting and dereferencing random stack contents.

    Signed-off-by: Li Yang
    Signed-off-by: Kim Phillips
    Signed-off-by: Scott Wood
    Signed-off-by: Jeff Garzik

    Li Yang
     

04 Oct, 2006

1 commit


29 Sep, 2006

1 commit


23 Sep, 2006

2 commits


14 Sep, 2006

2 commits

  • Hi Jeff,

    I fixed the __iomem issue and tested the driver with sparse. Looks good so far.
    Thanks for your effort.

    Jan-Bernd Themann

    Signed-off-by: Jan-Bernd Themann

    drivers/net/Kconfig | 9
    drivers/net/Makefile | 1
    drivers/net/ehea/Makefile | 6
    drivers/net/ehea/ehea.h | 447 ++++++
    drivers/net/ehea/ehea_ethtool.c | 294 ++++
    drivers/net/ehea/ehea_hcall.h | 51
    drivers/net/ehea/ehea_hw.h | 287 ++++
    drivers/net/ehea/ehea_main.c | 2654 ++++++++++++++++++++++++++++++++++++++++
    drivers/net/ehea/ehea_phyp.c | 705 ++++++++++
    drivers/net/ehea/ehea_phyp.h | 455 ++++++
    drivers/net/ehea/ehea_qmr.c | 582 ++++++++
    drivers/net/ehea/ehea_qmr.h | 358 +++++
    12 files changed, 5849 insertions(+)
    Signed-off-by: Jeff Garzik

    Jan-Bernd Themann
     
  • Implement NAPI changes to pcnet32 driver. Compile default is off.
    Listed as experimental.

    Len and Don both worked on a NAPI implementation and have both tested
    these changes.

    An e1000 blasting short packets to the pcnet32 will lockup Don's system
    until the receive storm stops. Without NAPI Len's system watchdog would
    expire causing the system to reboot. With NAPI the system will stay
    operational.

    Tested ia32 and ppc64. Tested '970A, '971, '972, '973, '975, '976, and
    '978.

    The Kconfig changes came from Len. Don is to blame for all the others.

    Signed-off-by: Len Sorensen
    Signed-off-by: Don Fry
    Signed-off-by: Jeff Garzik

    Don Fry
     

06 Sep, 2006

2 commits


20 Aug, 2006

3 commits


09 Aug, 2006

1 commit

  • Revised version of the forcedeth NAPI support.
    This version is based against netdev-2.6#upstream
    (after the MAC patches from Ayaz today).

    Can't use nv_disable_hw_interrupts because NAPI only wants to
    mask off receive irq's and leave the others alone.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     

29 Jul, 2006

1 commit

  • This is a complementary network driver for our ISP4XXX parts.

    There is a concurrent effort underway to get the iSCSI driver (qla4xxx)
    integrated upstream as well.

    I have been through several iterations with the linux-netdev list and have had
    much response from Stephen Hemminger.

    - Built and tested using kernel 2.6.17-rc4.

    - The chip supports two ethernet and two iSCSI functions.

    - The functions ql_sem_lock, ql_sem_spinlock, ql_sem_unlock, and
    ql_wait_for_drvr_lock are used to protect resources that are shared across
    the network and iSCSI functions. This protection is mostly during chip
    initialization and resets, but also include link management.

    - The PHY/MII are not exported through ethtool due to the fact that the
    iSCSI function will control the common link at least 50% of the time.

    This driver has been through several iterations on the netdev list and we feel
    this driver is ready for inclusion in the upstream kernel.

    It has been built and tested on x86 and PPC64 platforms.

    Cc: Jeff Garzik
    Cc: Stephen Hemminger
    Signed-off-by: Ron Mercer
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Ron Mercer
     

20 Jul, 2006

1 commit

  • Convert selection of serial line header compression to use CONFIG_SLHC
    rather than makefile ifeq uglyness. This makes it easier to select
    the SLHC module from other code.

    Signed-off-by: Ralf Baechle
    Signed-off-by: Jeff Garzik

    Ralf Baechle
     

23 Jun, 2006

4 commits

  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (33 commits)
    [PATCH] myri10ge - drop workaround pci_save_state() disabling MSI
    [PATCH] myri10ge - drop workaround for the missing AER ext cap on nVidia CK804
    via-velocity: the link is not correctly detected when the device starts
    [PATCH] add b44 to maintainers
    [PATCH] WAN: ioremap() failure checks in drivers
    [PATCH] WAN: register_hdlc_device() doesn't need dev_alloc_name()
    [PATCH] skb_padto()-area fixes in 8390, wavelan
    [PATCH] make drivers/net/forcedeth.c:nv_update_pause() static
    [PATCH] network driver for Hilscher netx
    [PATCH] Dereference in tokenring/olympic.c
    [PATCH] Array overrun in drivers/net/wireless/wavelan.c
    [PATCH] Remove useless check in drivers/net/pcmcia/xirc2ps_cs.c
    [PATCH] 8139cp: add ethtool eeprom support
    [PATCH] 8139cp: fix eeprom read command length
    [PATCH] b44: update b44 Kconfig entry
    [PATCH] b44: update version to 1.01
    [PATCH] b44: add wol for old nic
    [PATCH] b44: add parameter
    [PATCH] b44: add wol
    [PATCH] b44: fix manual speed/duplex/autoneg settings
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (139 commits)
    [POWERPC] re-enable OProfile for iSeries, using timer interrupt
    [POWERPC] support ibm,extended-*-frequency properties
    [POWERPC] Extra sanity check in EEH code
    [POWERPC] Dont look for class-code in pci children
    [POWERPC] Fix mdelay badness on shared processor partitions
    [POWERPC] disable floating point exceptions for init
    [POWERPC] Unify ppc syscall tables
    [POWERPC] mpic: add support for serial mode interrupts
    [POWERPC] pseries: Print PCI slot location code on failure
    [POWERPC] spufs: one more fix for 64k pages
    [POWERPC] spufs: fail spu_create with invalid flags
    [POWERPC] spufs: clear class2 interrupt status before wakeup
    [POWERPC] spufs: fix Makefile for "make clean"
    [POWERPC] spufs: remove stop_code from struct spu
    [POWERPC] spufs: fix spu irq affinity setting
    [POWERPC] spufs: further abstract priv1 register access
    [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts
    [POWERPC] spufs: dont try to access SPE channel 1 count
    [POWERPC] spufs: use kzalloc in create_spu
    [POWERPC] spufs: fix initial state of wbox file
    ...

    Manually resolved conflicts in:
    drivers/net/phy/Makefile
    include/asm-powerpc/spu.h

    Linus Torvalds
     
  • This is a patch for the Hilscher netx builtin ethernet ports. The
    netx board support was merged into 2.6.17-git2.
    The netx is a arm926 based SoC.

    Signed-off-by: Robert Schwebel
    Signed-off-by: Sascha Hauer

    --
    drivers/net/Kconfig | 11
    drivers/net/Makefile | 1
    drivers/net/netx-eth.c | 516 ++++++++++++++++++++++++++++++++++++++++
    include/asm-arm/arch-netx/eth.h | 27 ++
    4 files changed, 555 insertions(+)
    Signed-off-by: Jeff Garzik

    Sascha Hauer
     
  • Deleted "EXPERIMENTAL" from b44 entry in Kconfig.

    Signed-off-by: Gary Zambrano
    Signed-off-by: Jeff Garzik

    Gary Zambrano
     

21 Jun, 2006

2 commits


20 Jun, 2006

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (109 commits)
    [ETHTOOL]: Fix UFO typo
    [SCTP]: Fix persistent slowdown in sctp when a gap ack consumes rx buffer.
    [SCTP]: Send only 1 window update SACK per message.
    [SCTP]: Don't do CRC32C checksum over loopback.
    [SCTP] Reset rtt_in_progress for the chunk when processing its sack.
    [SCTP]: Reject sctp packets with broadcast addresses.
    [SCTP]: Limit association max_retrans setting in setsockopt.
    [PFKEYV2]: Fix inconsistent typing in struct sadb_x_kmprivate.
    [IPV6]: Sum real space for RTAs.
    [IRDA]: Use put_unaligned() in irlmp_do_discovery().
    [BRIDGE]: Add support for NETIF_F_HW_CSUM devices
    [NET]: Add NETIF_F_GEN_CSUM and NETIF_F_ALL_CSUM
    [TG3]: Convert to non-LLTX
    [TG3]: Remove unnecessary tx_lock
    [TCP]: Add tcp_slow_start_after_idle sysctl.
    [BNX2]: Update version and reldate
    [BNX2]: Use CPU native page size
    [BNX2]: Use compressed firmware
    [BNX2]: Add firmware decompression
    [BNX2]: Allow WoL settings on new 5708 chips
    ...

    Manual fixup for conflict in drivers/net/tulip/winbond-840.c

    Linus Torvalds
     

18 Jun, 2006

1 commit

  • Add functions to decompress firmware before loading to the internal
    CPUs. Compressing the firmware reduces the driver size significantly.

    Added file name length sanity check in the gzip header to prevent
    going past the end of buffer [suggested by DaveM].

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     

12 Jun, 2006

1 commit


11 Jun, 2006

1 commit

  • In file included from drivers/net/smc911x.c:84:
    drivers/net/smc911x.h:46:9: warning: "SMC_USE_16BIT" is not defined
    drivers/net/smc911x.h:60:9: warning: "SMC_USE_32BIT" is not defined
    drivers/net/smc911x.h:73:10: warning: "SMC_USE_PXA_DMA" is not defined
    drivers/net/smc911x.c: In function `smc911x_reset':
    drivers/net/smc911x.c:247: warning: implicit declaration of function `SMC_inl'
    drivers/net/smc911x.c:249: warning: implicit declaration of function `SMC_outl'

    Cc: Dustin McIntire
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Andrew Morton