1. 27 Sep, 2003 19 commits
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5 · fe8b6b6d
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      fe8b6b6d
    • Adrian Bunk's avatar
      [PATCH] select MII · a7a6b35f
      Adrian Bunk authored
      The patch below switches MII to be select'ed instead of including it in
      the Makefile.
      
      Note that this patch requires a recent Linus' tree with the select CRC32
      patch included.
      
      diffstat output:
      
       drivers/net/Kconfig          |   11 +++++++++++
       drivers/net/Makefile         |   28 +++++++++++-----------------
       drivers/net/pcmcia/Kconfig   |    1 +
       drivers/net/tulip/Kconfig    |    1 +
       drivers/usb/net/Kconfig      |    2 ++
       drivers/usb/net/Makefile.mii |    6 ------
       6 files changed, 26 insertions(+), 23 deletions(-)
      
      
      Tangential to the patch I observed a small problem (not fixed in the patch):
      MII depends on NET_ETHERNET, but USB_PEGASUS and USB_USBNET depend
      only on NET.
      
      cu
      Adrian
      a7a6b35f
    • Adrian Bunk's avatar
      [PATCH] select ZLIB_{IN,DE}FLATE · b04816f0
      Adrian Bunk authored
      Similar to the patch Brian Gerst sent for CRC32, this patch changes
      ZLIB_{IN,DE}FLATE to be select'ed.
      
      The dependencies are much better maintainable that way.
      b04816f0
    • Stephen Hemminger's avatar
      [PATCH] wan/z8530 deadlocks · cf967453
      Stephen Hemminger authored
      Existing code for drivers/net/wan/z8530 is riddled with self-deadlocks
      and irq flag confusion.  For example:
      	z8530_init -> do_z8530_init -> write_zsreg
      self deadlocks on the channel lock.
      
      Several places acquire both the channel and dma lock and then
      reuse the same irq flags variable - ouch.
      
      This code at least, correctly probes (for no device case) on SMP.
      Other paths verified by inspection.
      cf967453
    • Stephen Hemminger's avatar
      [PATCH] sealevel -- syncppp startup fix · d67a614e
      Stephen Hemminger authored
      The sealevel driver called sppp_attach before checking that board existed
      and never called detach in the error path.
      
      My change is to call sppp_attach from the netdev->init hook which happens
      later in the process, and call detach from the uninit hook.
      
      Also, changed the structure element 'netdev' to 'pppdev' to avoid confusion.
      
      Here is the fix against 2.6.0-test5 latest
      d67a614e
    • Jun Komuro's avatar
      4b144082
    • Jun Komuro's avatar
      [netdrvr] build fixes · d2bf2673
      Jun Komuro authored
      For e1000 and baycom_epp.
      
      Contributed by Jeff Garzik.
      d2bf2673
    • Randy Dunlap's avatar
      [PATCH] janitor: e100: cleanup #includes · 540c225b
      Randy Dunlap authored
      Hi,
      Please apply to 2.6.0-test5-current.
      
      Thanks,
      --
      ~Randy
      
      
      From: Randy Hron <rwhron@earthlink.net>
      
      
      Remove unneeded include of version.h.
      Test compiled against 2.6.0-test5-bk9.
      
      
       linux-260-t5bk12-kj-rddunlap/drivers/net/e100/e100.h |    1 -
       1 files changed, 1 deletion(-)
      540c225b
    • Randy Dunlap's avatar
      [PATCH] janitor: hermes: delete verify_area call · 6a5e3ac4
      Randy Dunlap authored
      Hi,
      Please apply to 2.6.0-test5-current.
      
      Thanks,
      --
      ~Randy
      
      
      From: Domen Puncer <domen@coderock.org>
      
      IMO, that verify_area wasn't needed.
      
      
      
       linux-260-t5bk12-kj-rddunlap/drivers/net/wireless/orinoco.c |    4 ----
       1 files changed, 4 deletions(-)
      6a5e3ac4
    • Scott Feldman's avatar
      [e100] trying to pci_alloc before pci_enable · dc12d359
      Scott Feldman authored
      * Some archs don't like calling pci_alloc_consistent before calling
      pci_enable_device.  (Imagine that).  This corrects that.
      dc12d359
    • Scott Feldman's avatar
      [e100] h/w can't do IPv6 checksum offloading · aae84e64
      Scott Feldman authored
      * Driver was advertising HW_CSUM, but hardware is only capable of IP_CSUM.
      aae84e64
    • Scott Feldman's avatar
      [e100] PRO/10+ not configured properly · e855dcec
      Scott Feldman authored
      * PRO/10+ (10 Mbps-only card) was not configured properly so it didn't
      pass traffic.
      e855dcec
    • Scott Feldman's avatar
      [e1000] misc · 975104f7
      Scott Feldman authored
      * removed unused var, ASSERT macro
      * missed a free_netdev() in probe cleanup undo.
      975104f7
    • Scott Feldman's avatar
      [e1000] better propagation of error codes · 75a750a5
      Scott Feldman authored
      * Better propagation of error codes during probe/open paths.
        {Janice Girouard (janiceg@us.ibm.com)]
      75a750a5
    • Scott Feldman's avatar
      [e1000] force 1000/full on SERDES connected to back-plane · 5c2e1b8f
      Scott Feldman authored
      * Bug fix: SERDES devices might be connected to back-plan switch that
        doesn't support auto-neg, so add the capability to force 1000/full.
      5c2e1b8f
    • Scott Feldman's avatar
      [e1000] flow control updates · e29447db
      Scott Feldman authored
      * handle ethtool force flow control
      * correctly set flow control hi/low watermarks based on size of Rx FIFO
        area.  The size can change if doing Jumbo Frames or, in the case of
        82547, is smaller to start with.
      * was not properly forcing flow control settings to fc_none if using
        strict IEEE flow control override.
      e29447db
    • Stephen Hemminger's avatar
      [netdrvr sk98lin] use seq_file for /proc · defce4ed
      Stephen Hemminger authored
      Replace proc_read with seq_file interface which is much cleaner.
      
      Also, instead of searching the list of devices looking for the
      name which is slow and would break if interface name changes;
      store a pointer to device in the proc entry, and retrieve
      it from the information saved by single_open.
      
      Formatting and other behaviours are retained.
      defce4ed
    • Stephen Hemminger's avatar
      [netdrvr skge] handle proc_fs errors. · 3d93561d
      Stephen Hemminger authored
      Existing code does not
      	- check if proc_fs functions return error.
      	- use proc_mkdir to make the directory.
      
      Note pSkRootDir defined twice.
      3d93561d
    • Stephen Hemminger's avatar
      [netdrvr sk98lin] build on smp fix · c02cf91a
      Stephen Hemminger authored
      There is no exported variable called smp_num_cpus! so this driver
      won't build on SMP.  Since the local variable is never used anyway
      just get rid of it.
      
      This applies against 2.6.0-test5-bk13 which has the last vendor
      driver update.
      c02cf91a
  2. 26 Sep, 2003 5 commits
  3. 27 Sep, 2003 9 commits
  4. 26 Sep, 2003 7 commits
    • James Bottomley's avatar
      [PATCH] scsi_mid_low_api.txt update · e6ced426
      James Bottomley authored
      From: Douglas Gilbert <dougg@torque.net>
      
      Attached is an update of the scsi_mid_low_api text
      document. The first attachment is a gzipped patch against
      lk 2.6.0-test4 and the second one is the file gzipped.
      
      Changes:
         - add "Calling context:" entry to interface functions
         - add "Might block:" entry to mid level functions
         - drop scsi_set_device_offline() + command()
         - change references to reflect transfer of headers to
           include/scsi/scsi_*.h
         - try to define what a "scsi host" is
         - typos + grammar
      
      Thanks to Randy Dunlap, Alan Stern amd Christoph Hellwig
      for their input. Comments welcome.
      e6ced426
    • James Bottomley's avatar
      Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5 · 5946da3c
      James Bottomley authored
      into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6
      5946da3c
    • Bernardo Innocenti's avatar
      [PATCH] GCC 3.3.x/3.4 compatiblity fix in include/linux/init.h · e28f8379
      Bernardo Innocenti authored
      GCC 3.4 miscompiles the kernel because it silently optimizes away
      data placed in the .init.setup section by the __setup() macro.
      
      __attribute__((unused)) does only avoid the warning, but doesn't
      mark the data as being used.
      
      Since GCC 3.3, __attribute__((used)) should be applied to such
      variables.  The __attribute_used__ macro from linux/compiler.h already
      takes care of compiler differences for us.
      
      In this patch, I've gone a step further and proactively fixed that in
      all places.
      e28f8379
    • Steven Dake's avatar
      [PATCH] fix kernel BUG using multipath · a888efe7
      Steven Dake authored
      Thanks Matt and Jens for the debug help on the multipath problem. 
      
      This solves the problem and makes multipath work properly.
      
      There are two types of "flags" that are used in a block io request,
      bi_flags, and bi_rw.  bi_flags is used for flags to the block level
      code, and bi_rw is used for flags to the low level device drivers.
      
      The code in the multipath driver used the wrong flag in the wrong field.
      In this case, the flag FASTFAIL (value 3) was being set to the bi_flags
      field.  FASTFAIL is a hint to the low level driver that it should try to
      fail out quickly.  Unfortunately, the value 3 is also BIO_SEG_VALID,
      which is a flag to the block subsystem that the segments shouldn't be
      recalculated.  The result was that the wrong field was set, telling the
      block layer not to recalculate the segments resulting in phys and hw
      segments of 0.  Not good.
      a888efe7
    • Patrick Mochel's avatar
      [PATCH] sysfs dput crash fix · 7dbb30bf
      Patrick Mochel authored
      This is a new patch that includes Martin's, and makes create_dir() return
      an int. That matches sysfs_create_file(), and saves a couple of
      conversions back and forth between pointer and error.
      7dbb30bf
    • Christoph Hellwig's avatar
      [PATCH] ia64: remove CONFIG_PCI ifdefs in SN2 code · 6853823b
      Christoph Hellwig authored
      It's not like it would compile without PCI support anyway, and these
      ifdefs are _really_ strange.
      6853823b
    • Christoph Hellwig's avatar
      [PATCH] ia64: simplify SN2 interrupt allocation · d1409597
      Christoph Hellwig authored
      Same issues as the dma mapping code, but as SN2 interrupt handling is
      totally static and all irqs are allocated on bootup an never freed it's
      not a speed issue.
      
      I really wonder what someone has to smoke to call a that expensive
      dispatcher just to cast the data structure back to the lowlevel one
      directly afterwards...
      d1409597