1. 27 Sep, 2003 12 commits
    • 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 14 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
    • Christoph Hellwig's avatar
      [PATCH] ia64: sn_ML_intr.c is a freakin mess · 4861cee9
      Christoph Hellwig authored
      fed through Lindent and dead codepathes eliminated.
      4861cee9
    • Christoph Hellwig's avatar
      [PATCH] ia64: simplify and speedup SN2 dma mapping · e4af63aa
      Christoph Hellwig authored
      Currently the the SN2 dma mapping code uses a file systen lookup (cat /r/napali/tmp/p10 |diffstat -p1) to
      find the operation vector for the underlying dma mapping implementation.
      
      But not only there is exactly one of those implementation, also data
      structures from this lowlevel driver are used in the actual Linux dma
      mapping routines and quite a few assumption are made about it.  So let's
      just call directly in the lowlevel code and give up this utter bullshit.
      e4af63aa
    • Christoph Hellwig's avatar
      [PATCH] ia64: kill snia_pciio_* · 158f8511
      Christoph Hellwig authored
      These strange mixups of Linux and IRIX PCI interfaces were used in SGI's
      2.4 tree for their port of the IRIX scsi code.  They have no business to
      stgay in 2.6.
      158f8511
    • David Mosberger's avatar
    • Christoph Hellwig's avatar
      [PATCH] ia64: kill dead SN code from ml_iograph.c · f4f53e5a
      Christoph Hellwig authored
      More IRIX creepism
      f4f53e5a
    • Christoph Hellwig's avatar
      [PATCH] ia64: kill sn2 inventory stubs · 3accf279
      Christoph Hellwig authored
      Just some crappy stubs that sneaked over from IRIX.
      3accf279
    • Christoph Hellwig's avatar
      [PATCH] ia64: kill SN kdba_io.c · 0746bc44
      Christoph Hellwig authored
      Keith shared my opionion that it's completly useless.  Also everyone
      seems to favour keeping kdb stuff out of mainline.
      0746bc44