1. 22 12月, 2005 3 次提交
    • P
      [PATCH] USB Storage: Force starget->scsi_level in usb-storage scsiglue.c · 28120be5
      Paul Walmsley 提交于
      When the usb-storage module forces sdev->scsi_level to SCSI_2, it should
      also force starget->scsi_level to the same value.  Otherwise, the SCSI
      layer may attempt to issue SCSI-3 commands to the device, such as REPORT
      LUNS, which it cannot handle.  This can prevent the device from working
      with Linux.
      
      The AMS Venus DS3 DS2316SU2S SATA-to-SATA+USB enclosure, based on the
      Oxford Semiconductor OXU921S chip, requires this patch to function
      correctly on Linux.  The enclosure reports a SCSI-3 SPC-2 command set
      level, but does not correctly handle the REPORT LUNS SCSI command -
      probably due to a bug in its firmware.
      
      It seems likely that other USB storage enclosures with similar bugs will
      also benefit from this patch.
      
      Tony Lindgren <tony@atomide.com> collaborated in the development of this
      patch.
      Signed-off-by: NPaul Walmsley <paul@booyaka.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      28120be5
    • A
      [PATCH] include/linux/irq.h: #include <linux/smp.h> · 23f9b317
      Adrian Bunk 提交于
      Jan's crosscompile page [1] shows, that one regression in 2.6.15-rc is
      that the v850 defconfig does no longer compile.
      
      The compile error is:
      
      <--  snip  -->
      
      ...
        CC      arch/v850/kernel/setup.o
      In file included from /usr/src/ctest/rc/kernel/arch/v850/kernel/setup.c:17:
      /usr/src/ctest/rc/kernel/include/linux/irq.h:13:43: asm/smp.h: No such file or directory
      make[2]: *** [arch/v850/kernel/setup.o] Error 1
      
      <--  snip  -->
      
      The #include <asm/smp.h> in irq.h was intruduced in 2.6.15-rc.
      
      Since include/linux/irq.h needs code from asm/smp.h only in the
      CONFIG_SMP=y case and linux/smp.h #include's asm/smp.h only in the
      CONFIG_SMP=y case, I'm suggesting this patch to #include <linux/smp.h>
      in irq.h.
      
      I've tested the compilation with both CONFIG_SMP=y and CONFIG_SMP=n
      on i386.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Acked-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      23f9b317
    • L
  2. 21 12月, 2005 14 次提交
  3. 20 12月, 2005 23 次提交