1. 24 Feb, 2004 40 commits
    • Jochen Friedrich's avatar
      [PATCH] tms380tr patch 3/3 (get firmware out of kernel) · f3ba0942
      Jochen Friedrich authored
      Hi Jeff,
      
      the last one makes tms380tr use the kernel firmware loader instead of
      linking some propriatary code into the kernel, probably violating the
      GPL.
      
      drivers/net/tokenring/tms380tr_microcode.h can go after this patch has
      been applied.
      
      --jochen
      
       tms380tr.c |   34 ++++++++++++++++++++++++++++++----
       1 files changed, 30 insertions(+), 4 deletions(-)
      f3ba0942
    • Jochen Friedrich's avatar
      [PATCH] tms380tr patch 2/3 (queue fix) · e9b1f1cc
      Jochen Friedrich authored
      Hi Jeff,
      
      this one removes the internal queue of tms380tr. It was racy, anyways.
      
      --jochen
      
       tms380tr.c |  178 +++++++++++++++++++++++--------------------------------------
       tms380tr.h |    4 -
       2 files changed, 70 insertions(+), 112 deletions(-)
      e9b1f1cc
    • Jochen Friedrich's avatar
      [PATCH] tms380tr patch 1/3 (bug fix) · c44253ad
      Jochen Friedrich authored
      Hi Jeff,
      
      this fixes some problems partly introduced in the latest token ring
      update:
      - mix of alloc_trdev(0) and alloc_trdev(sizeof(struct net_local)) confused
        memory management.
      - initialization of proteon and sknet cards was broken.
      - proteon_close() and skisa_close() deleted.
      
      --jochen
      
       abyss.c    |    2 -
       madgemc.c  |    2 -
       proteon.c  |   91 ++++++++++++++++++++++++-------------------------------
       skisa.c    |  100 +++++++++++++++++++++++++------------------------------------
       tms380tr.c |   41 +++++++++----------------
       tmspci.c   |    2 -
       6 files changed, 100 insertions(+), 138 deletions(-)
      c44253ad
    • Alexander Viro's avatar
      [PATCH] vlsi_ir leak, allocation and freeing fixes · 2d8f0320
      Alexander Viro authored
      	* switched to sane allocation
      	* fixes race on removal - we unregistered too late
      	* contrary to the comment, device had no destructor, so removal
      had leaked - unregister_netdev() doesn't trigger freeing in that driver.
      	* fixes freeing (kfree -> free_netdev)
      
      Otherwise the same story as with previous patch - irda-related part of NE*
      that got lost.
      2d8f0320
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/netdev-2.6/janitor · fe89aafd
      Jeff Garzik authored
      into redhat.com:/spare/repo/net-drivers-2.5
      fe89aafd
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/netdev-2.6/pcnet32 · 5ef7ab1c
      Jeff Garzik authored
      into redhat.com:/spare/repo/net-drivers-2.5
      5ef7ab1c
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/netdev-2.6/misc · 9e6b8ac3
      Jeff Garzik authored
      into redhat.com:/spare/repo/net-drivers-2.5
      9e6b8ac3
    • Alexander Viro's avatar
      [PATCH] au1k leaks, allocation and free_netdev() fixes · 8538bf48
      Alexander Viro authored
      	* fixes leaks on failed init
      	* switches to sane allocation
      	* fixes netdev freeing (kfree -> free_netdev)
      	* fixes the idiocy with ->init() (from registger_netdev()) calling
      unregister_netdevice() in case of failure - before we got anywhere past
      the very beginning of register_netdev().
      
      That's a part of NE* series that failed through the cracks (there were
      pending irda patches, so that had been postponed, irda patches either
      hadn't materialized in two months or hadn't touched that driver at all,
      the latter being more likely).
      
      Please, apply.
      8538bf48
    • Stefan Rompf's avatar
      b105e2cf
    • Stefan Rompf's avatar
      [PATCH] Re: Patch: netif_carrier_on()/off() for xircom_tulip_cb · b735a725
      Stefan Rompf authored
      --Boundary-00=_EQjNA7alc3Y2zQJ
      Content-Type: text/plain;
        charset="iso-8859-1"
      Content-Transfer-Encoding: 7bit
      Content-Disposition: inline
      
      Hi,
      
      > Please resend patches that may be applied with "patch -p1",
      > not "patch -p0".
      
      ok., here's the first, suspend/resume
      
      --Boundary-00=_EQjNA7alc3Y2zQJ
      Content-Type: text/x-diff;
        charset="iso-8859-1";
        name="xircom_tulip_cb_pm.diff"
      Content-Transfer-Encoding: 7bit
      Content-Disposition: attachment;
      	filename="xircom_tulip_cb_pm.diff"
      b735a725
    • Andrew Morton's avatar
      [PATCH] m68k: Amiga Hydra Ethernet new driver model · b72b407a
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Hydra Ethernet: Convert to the new driver model
      b72b407a
    • Andrew Morton's avatar
      [PATCH] m68k: Amiga Ariadne Ethernet new driver model · 1c21cb91
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Ariadne Ethernet: Convert to the new driver model
      1c21cb91
    • Andrew Morton's avatar
      [PATCH] m68k: Amiga A2065 Ethernet new driver model · fc638fe2
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      A2065 Ethernet: Convert to the new driver model
      fc638fe2
    • Andrew Morton's avatar
      [PATCH] m68k: Atari Pamsnet warning · dd6143d3
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Atari Pamsnet Ethernet: Kill warning
      dd6143d3
    • Andrew Morton's avatar
      [PATCH] m68k: Sun-3 LANCE Ethernet · e201e7b0
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      sun3lance updates from Sam Creasey:
        - Pass the correct flags to request_irq()
        - Add debug code for transmitting packets
      e201e7b0
    • Stephen Hemminger's avatar
      [PATCH] Allow pcnet_cs to work with shared irq · 391c5695
      Stephen Hemminger authored
      Here is a rediff'd version of the patch to fix shared irq handling in pcnet_cs
      and generic 8390 drivers.
      391c5695
    • Stephen Hemminger's avatar
      [PATCH] Re: IA32 (2.6.3 - 2004-02-18.22.30) - 4 New warnings (gcc 3.2.2) · b1072d0b
      Stephen Hemminger authored
      Error path (EISA) probe was using device before set.
      
      # This is a BitKeeper generated patch for the following project:
      # Project Name: Linux kernel tree
      # This patch format is intended for GNU patch command version 2.5 or higher.
      # This patch includes the following deltas:
      #	           ChangeSet	1.1567  -> 1.1568
      #	  drivers/net/dgrs.c	1.23    -> 1.24
      #
      # The following is the BitKeeper ChangeSet Log
      # --------------------------------------------
      # 04/02/19	shemminger@osdl.org	1.1568
      # fix bug in eisa error path.
      # --------------------------------------------
      #
      b1072d0b
    • Scott Feldman's avatar
      [netdrvr e100] Response to Jeff's review plus some minor fixes. · 954a16db
      Scott Feldman authored
      * define dump stats complete constant
      * add mwb() to keep order straight with HW when appending
        new resources to Rx and Tx queues
      * increment stats for rx_dropped and rx_over_errors
      954a16db
    • Scott Feldman's avatar
      [PATCH] e1000: handle register_netdev failure · ce079934
      Scott Feldman authored
      * driver not handling failures of register_netdev
        [Stephen Hemminger (shemminger@osdl.org)]
      ce079934
    • Scott Feldman's avatar
      [PATCH] e1000: collision retry count too high · ad66e510
      Scott Feldman authored
      * For half duplex, the IEEE says collision retry count should
        be 15 not 16.  Would cause really slow transfers on some hubs
        (i.e NetGear DS108).
      ad66e510
    • Scott Feldman's avatar
      [PATCH] e1000: delay may be too small · 144300d0
      Scott Feldman authored
      * msec_delay macro wouldn't delay at all if x < 10, and
        wouldn't delay enough for x = 10.  Not a concern for
        2.6 (HZ=1000) but is for 2.4 (HZ=100).
      144300d0
    • Scott Feldman's avatar
      [PATCH] e1000: disable CSA fix for 82547 · 31efdae0
      Scott Feldman authored
      * Multiple reports of system lock-ups with the CSA patch, so
        let's disable fix for now until we can understand why this
        is causing the hangs.  It was first thought that only pre-
        productions systems would hang, but that's not true.
      31efdae0
    • Scott Feldman's avatar
      [PATCH] e1000: disable TSO for now · e998ff1a
      Scott Feldman authored
      * Disable TSO as default setting until some hangs/resets caused
        with TSO enabled are root-caused.  TSO can still be manually
        enabled using ethtool -K.
      e998ff1a
    • Scott Feldman's avatar
      [PATCH] e1000: flow control · 17449078
      Scott Feldman authored
      * Bug fix: flow control high/low watermark settings not
        within Rx FIFO range: math error.
      17449078
    • Mike Phillips's avatar
      [PATCH] 3c359_microcode.h clean up - 2.6.3 · b948add3
      Mike Phillips authored
      Small patch to clean up 3c359_micrcode.h, no other drivers in the kernel
      come anywhere near the file and the #if is superflous.
      
      Mike Phillips
      b948add3
    • Don Fry's avatar
      [PATCH] pcnet32.c fix compile error · 62d90976
      Don Fry authored
      Arrgh.  I sent the wrong diff file.  This one fixes the compile error I
      introduced ;-(
      62d90976
    • Don Fry's avatar
      [PATCH] whitespace only change to pcnet32.c · d0ff8244
      Don Fry authored
      Last change for a while.  This modifies the whitespace only.
      consistent indentation, deletes trailing tabs, trailing spaces, etc.
      d0ff8244
    • Don Fry's avatar
      [PATCH] pcnet32.c adds loopback test · 46c46cca
      Don Fry authored
      This adds the ability to do a local loopback test for the adapter.  This
      source was submitted by James Lewis <jklewis@us.ibm.com>.  Tested on PPC
      and IA32 systems.
      46c46cca
    • Don Fry's avatar
      [PATCH] pcnet32.c add PCI hot remove support · f3f582fd
      Don Fry authored
      This patch adds support for PCI hot remove.  Tested on PPC64 boxes.
      The driver has also been checked to comply with PCMCIA/cardbus remove
      requirements, but as I don't have a PCMCIA card, it is untested.
      If a PCMCIA card is removed, reads will return FFFF.  The FFFF will
      cause all while loops to exit.
      f3f582fd
    • Don Fry's avatar
      [PATCH] pcnet32.c non-mii errors with ethtool · 99ef0220
      Don Fry authored
      pcnet32 devices which do not contain an mii respond incorrectly to
      ethtool commands.
      
      Reported by VANDROVE@vc.cvut.cz and Thomas Munck Steenholdt.
      99ef0220
    • Don Fry's avatar
      [PATCH] pcnet32.c handle failures in open · 6a6602c0
      Don Fry authored
      If there are errors in the open routine, the driver does not correctly clean
      up and free resources.
      
      This also removes an unnecessary netif_wake_queue, correctly supports the
      debug parameter, and updates the version and date.
      6a6602c0
    • Don Fry's avatar
      [PATCH] 2.6.3 pcnet32.c change to use ethtool_ops · 30a43fcd
      Don Fry authored
      This changes the driver to use ethtool_ops to be more modular.  There is a
      net delta of just a one line between the two implementations, but permission
      checking and copying to/from user space, etc. is all done in a consistent
      manner by ethtool.c
      30a43fcd
    • Don Fry's avatar
      [PATCH] 2.6.3 pcnet32.c convert to use netif_msg_* · 63418afd
      Don Fry authored
      This patch converts the driver to use netif_msg_* for printing messages.
      Tested IA32.
      63418afd
    • Don Fry's avatar
      [PATCH] 2.6.3 pcnet32.c wrong vendor ID fix · 4fb7103d
      Don Fry authored
      This patch was originally sent by Jon Mason on Sat Jan 31.
      
      "I created a patch that allows pcnet32 adapters sold in IBM RS/6000 systems
      to be recognized in non-ppc computers.  The problem is that the Vendor ID
      of this adapter is incorrect.  There is a ppc specific workaround to get
      it working on that architecture (checkout
      http://lxr.linux.no/source/arch/ppc/kernel/pci.c?a=ppc#L87
      for the workaround), but it obviously won't fix the problem in non-ppc
      architectures."
      4fb7103d
    • Jeff Garzik's avatar
      Add Documentation/networking/netif-msg.txt, describing the · c639e614
      Jeff Garzik authored
      per-network-interface message logging standards for net drivers.
      
      Written by Donald Becker.
      c639e614
    • Randy Dunlap's avatar
      [PATCH] strip: use kernel min/max · a49286ee
      Randy Dunlap authored
      Domen Puncer schrieb:
      >
      > Just some suggestions...
      >
      >> #define ELEMENTS_OF(X) (sizeof(X) / sizeof((X)[0]))
      >
      > Remove this define and s/ELEMENTS_OF/ARRAY_SIZE/g
      >
      
      There are more occurances of redundant ARRAY_SIZEs in the kernel. I will
      keep that in mind!
      
      >
      >
      >>@@ -847,7 +845,7 @@
      >> static int allocate_buffers(struct strip *strip_info, int mtu)
      >> {
      >>        struct net_device *dev = strip_info->dev;
      >>-       int sx_size = MAX(STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096);
      >>+       int sx_size = max((int)STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096);
      >
      >
      > max_t?
      
      Changed that to max_t and min_t. A newbie queston: What should when be
      preferred and why?
      a49286ee
    • Randy Dunlap's avatar
      [PATCH] strip: remove warnings when !PROC_FS · 68b9ef71
      Randy Dunlap authored
      When !CONFIG_PROC_FS, I'm getting this warning:
      
      drivers/net/wireless/strip.c:1169: warning: `strip_seq_fops' defined but not used
      68b9ef71
    • Randy Dunlap's avatar
      [PATCH] ibmtr: use kernel min/max · 40e5c8ac
      Randy Dunlap authored
      40e5c8ac
    • Randy Dunlap's avatar
      [PATCH] ne: eliminate unused var. warning · 50c1416c
      Randy Dunlap authored
      50c1416c
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/cpufreq · e249c44b
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      e249c44b