1. 25 Sep, 2003 10 commits
  2. 12 Sep, 2003 7 commits
    • Matthew Wilcox's avatar
      [PATCH] zalon & ncr53c8xx cleanups · c9f9d638
      Matthew Wilcox authored
      I don't actually have a zalon machine to test these on, but they seem
      right to me, and compile fine.
      
      Some cleanups for ncr53c8xx & zalon:
      
       - Inline zalon.h into zalon.c
       - Rationalise (a little) ncr53c8xx.c's includes
       - Remove all the version checks
       - Stop using remap_pci_mem & unmap_pci_mem & delete their definitions.
       - Use mb() instead of custom inline asm for MEMORY_BARRIER.
      c9f9d638
    • Geert Uytterhoeven's avatar
      [PATCH] NCR5380.c warning · 989fbbee
      Geert Uytterhoeven authored
      NCR5380: `phases' is used inside the #ifdef NDEBUG only, so move its definition
      inside as well.
      989fbbee
    • Geert Uytterhoeven's avatar
      [PATCH] in2000 warning · 5e91bb7c
      Geert Uytterhoeven authored
      Passing the address of a `long' as the `flags' parameter of check_setup_args()
      causes a warning. But apparently this parameter isn't used at all, so remove
      it.
      5e91bb7c
    • Matthew Wilcox's avatar
      [PATCH] sym53c8xx 2.1.18b · 2fd79d9b
      Matthew Wilcox authored
      This patch fixes two bugs in sym 2.1.18.
      
       - 40-bit addressing doesn't fit into 32-bits, so PciDmaMask needs
         to be an ULL.
       - Add terminating entries to pci_device_id tables.  Bug spotted by
         Matt Domsch.
      2fd79d9b
    • Randy Dunlap's avatar
      [PATCH] enable aha152x to build when AHA152X_DEBUG is defined · 5a44e1e3
      Randy Dunlap authored
      patch_name:	aha152x_debugon.patch
      patch_version:	2003-09-10.11:02:09
      author:		Randy.Dunlap <rddunlap@osdl.org>
      description:	enable aha152x to build when AHA152X_DEBUG is defined;
      product:	Linux
      product_versions: 260-test5
      maintainer:	James Bottomley
      diffstat:	=
       drivers/scsi/aha152x.c |    2 +-
       1 files changed, 1 insertion(+), 1 deletion(-)
      5a44e1e3
    • Anton Blanchard's avatar
      [PATCH] serialize bus scanning · fa138734
      Anton Blanchard authored
      Change scsi_scan_mutex from global to per host, which is needed for
      parallel SCSI probe.
      
      
       gr16_work-anton/drivers/scsi/hosts.c     |    2 ++
       gr16_work-anton/drivers/scsi/scsi_scan.c |   15 ++++-----------
       gr16_work-anton/include/scsi/scsi_host.h |    6 ++++++
       3 files changed, 12 insertions(+), 11 deletions(-)
      fa138734
    • Andrew Morton's avatar
      [PATCH] Fix imm.c again · dba5578d
      Andrew Morton authored
      From: Adrian Bunk <bunk@fs.tum.de>
      
      Earlier patch wasn't correct especially in the !CONFIG_SCSI_IZIP_EPP16
      case, reading all uses of this array (IMM_MODE_STRING is used to print the
      corresponding string in printks).
      
      If I'm not misunderstanding it, CONFIG_SCSI_IZIP_EPP16 means "use 16bit
      even when 32bit is requested".
      
       drivers/scsi/imm.h |    3 ++-
       1 files changed, 2 insertions(+), 1 deletion(-)
      dba5578d
  3. 08 Sep, 2003 8 commits
    • Matthew Wilcox's avatar
      [PATCH] sym53c8xx driver 2.1.18 · e35b6d40
      Matthew Wilcox authored
      Yes, there's a lot of changes here.  I've been busy :-P
      
       - Delete linux/version.h include as it's not necessary
       - Delete compatibility with ncr53c8xx configuration options
       - Convert to C99 initialisers
       - Delete the options: pci_parity, scsi_parity, min_sync, max_wide,
         max_offs, max_lun and pci_fix_up.  Some were unused, some are now
         unused.
       - Delete all the default settings from sym_conf.h that were unused.
       - Delete host_lock abstractions.
       - Replace custom jiffy handling with standard ones.
       - Replace u_long with unsigned long
       - Inline scsi_data_direction()
       - Use ioremap directly instead of indirecting through pci_map_mem.
       - Delete typedefs: bus_addr_t, ucmd_p, vm_offset_t, stcb_p,
         slcb_p, sccb_p, shcb_p, sym_device and sym_slot.
       - Use min() instead of MIN()
       - Use memcpy() instead of bcopy().
       - Delete code dependent on SYM_CONF_PCIQ_BROKEN_INTR as it's never defined.
       - Simplify the locking in sym_eh_handler().
       - Make the eh handlers static.
       - Use ctype.h instead of custom variants.
       - Use SYM_CONF_IOMAPPED and SYM_OPT_NO_BUS_MEMORY_MAPPING in a more
         consistent manner.
       - Remove check_region() and use pci_request_region instead.
       - Mark sym_detach() as __devexit.
       - Move many includes from sym_glue.h to sym_glue.c
       - Stop using Scsi_Cmnd.
       - Stop using ../hosts.h.
       - Simplify *_raw definitions.
       - Move PA-RISC specific code into its own function.
      e35b6d40
    • Linus Torvalds's avatar
      Linux 2.6.0-test5 · abe68253
      Linus Torvalds authored
      abe68253
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · e62eafa2
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      e62eafa2
    • Russell King's avatar
      [SERIAL] Make SA11x0 serial driver build. · 7389d0dc
      Russell King authored
      Update the SA11x0 serial driver for the removal of system devices
      from the driver model.  The driver becomes a platform device driver.
      The driver is now known to the driver model and resource subsytems
      as "sa11x0-uart".
      7389d0dc
    • Jens Axboe's avatar
      [PATCH] Fix noop elevator request merging · aea65420
      Jens Axboe authored
      From: Oleg Drokin <green@namesys.com>
      
      Without this, if elv_try_last_merge() returns nonzero, we do not
      initialise *req.  That results in a subsequent BUG_ON() in
      __make_request() because req is NULL (or is just uninitialised).
      aea65420
    • Stephen Hemminger's avatar
      [PATCH] sdla non-module build fix. · 4a4bb3d1
      Stephen Hemminger authored
      Last round of changes broke sdla build if not a module.
      4a4bb3d1
    • Linus Torvalds's avatar
      Arnd's new-and-improved _IOx() argument checking showed two sound · 34574130
      Linus Torvalds authored
      drivers whose microcode load ioctl's used types with sizes that
      overflow the ioctl number. Mark them _IOx_BAD() to document the fact.
      34574130
    • Arnd Bergmann's avatar
      [PATCH] Verify proper usage of ioctl macros · d6a79f27
      Arnd Bergmann authored
      This new version works with all compiler versions, and also catches the
      case where somebody tries to pass in an array as an argument to the
      ioctl macros.  Thus we verify that only proper types are used.
      
      I have checked now that the object code for arch/s390/kernel/compat_ioctl.o
      remains identical and that the whole kernel compiles for s390 and i386,
      after fixing the broken ioctl numbers.
      d6a79f27
  4. 07 Sep, 2003 15 commits
    • Linus Torvalds's avatar
      Fix more ioctl _IOR/_IOW misusage. · 003e16bb
      Linus Torvalds authored
      003e16bb
    • Rusty Russell's avatar
      [PATCH] modprobe -q: quieter when modules missing · eddef4fe
      Rusty Russell authored
      The kernel invokes "modprobe" on modules which might not exist:
      rightfully, modprobe complains by default when this happens.  So the
      correct response is to invoke "modprobe -q", which is silent on such
      errors (but still reports other errors such as config errors). 
      
      Also, use MODULE_NAME_LEN from module.h instead of inventing our own.
      eddef4fe
    • Rusty Russell's avatar
      [PATCH] Modules: Be stricter recognizing init&exit sesections · 4cf01742
      Rusty Russell authored
      Someone pointed out that -ffunction-sections can cause a function called
      "init<something>" to be put in the init section, and discarded.  This
      hurts PARISC badly.  Get more fussy with identifying them.
      4cf01742
    • Matthew Wilcox's avatar
      [PATCH] CONFIG_64BIT · 2b0c1a2b
      Matthew Wilcox authored
      This adds CONFIG_64BIT to allow us to disable non-64-bit safe drivers on
      64-bit platforms and converts the I2O driver to use it.
      2b0c1a2b
    • Andi Kleen's avatar
      [PATCH] x86-64 update · 3720aca6
      Andi Kleen authored
      Nothing too exciting, just some minor new features and bug fixes.
      The IOMMU code should now not BUG again without CONFIG_IOMMU_DEBUG/iommu=force
      
       - Compiles now with -funit-at-a-time
       - Fix up ioctl 32bit tables following Andrew's change.
       - Fix __SI_POLL siginfo_t passing to user space
       - Add 32bit emulation for fadvise64_64
       - Remove unneeded sys32_utimes
       - Various merges with i386 (ACPI, APIC etc.)
       - Port cpuid patching infrastructure from i386
       - Use it to provide better copy_*_user/memcpy/memset/clear/copy_page for
         C stepping K8. String instructions are faster now that unrolled loops.
       - Don't try to merge unforced PCI mappings that don't exceed the device's
         DMA mask.
       - Discard .exit.data/.exit.text at runtime like i386
       - Don't use NTI stores for clear_user
       - Convert bitops.h bitmap functions to use unsigned long * pointers instead
         of void *
       - Fix some warnings in kernel headers.
       - Fix PDA comments
      3720aca6
    • Ian Molton's avatar
      [PATCH] arm26 updates · 49e4d78b
      Ian Molton authored
      Not much to write home about. mostly tidying, some debug, and XIP support.
      
      just keeping arm26 up to date really.
      49e4d78b
    • Linus Torvalds's avatar
      Fix various scripts to be marked executable. · 45ad6fd3
      Linus Torvalds authored
      From carbonated beverage <ramune@net-ronin.org>.
      
      [ "carbonated beverage"? WTF? I think I need a cool handle too ;]
      45ad6fd3
    • Russell King's avatar
      [PATCH] Fixes to allow ARM to build in the standard tree · 2c9f643a
      Russell King authored
      In addition to the MODULE_ALIAS_LDISC patch, the following changes to
      generic code are needed to allow ARM to build in Linus' tree.
      
      The first is to add PT_SINGLESTEP to ptrace.h so we do the right thing
      when adding/removing breakpoint instructions into processes (see
      arch/arm/kernel/{signal.c,ptrace.c} for usage.)
      
      The second is needed because pmd_clear() needs to flush the pmd.
      However, we can't include tlbflush.h into pgtable.h without causing
      a circular dependency (tlbflush.h needs vm_area_struct and mm_struct
      which are in mm.h, which needs pgtable.h.)  swapfile.c seems to be the
      only file affected.
      2c9f643a
    • Karsten Keil's avatar
      [PATCH] next fixes · b0deac08
      Karsten Keil authored
      here are the next fixes, sorry for the delay, but one of bugs was a really
      odd one.
      
      Note:
      - here are lot of bugs left, so ISDN is not stable yet but
        I think it's really time to fix it, even if it need some cycles
        to get it right (normally I'm only send patches if it works 100% for
        me).
      - I add some additional #warnings to address places which need fixing
        (I hope that some of the other ISDN developer jump in)
      b0deac08
    • Linus Torvalds's avatar
      e0cce02e
    • Linus Torvalds's avatar
      Merge bk://linux-sam.bkbits.net/kbuild · 778d5af7
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      778d5af7
    • Linus Torvalds's avatar
      Undo static on ide_probe_for_pdc4030: it can (and will) be called · ff1fbc22
      Linus Torvalds authored
      from the IDE init code when compiled-in.
      ff1fbc22
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      f4c7190d
    • Matthew Wilcox's avatar
      [PATCH] use size_t for the broken ioctl numbers · 015e32c1
      Matthew Wilcox authored
      The ioctl number-generating macros should be used like
      
      	#define XXXX _IOR(n,x,type-of-arg)
      
      which generates an ioctl number that has the size of the argument
      encoded within it.  But there are a number of ioctl #defines that look
      like
      
      	#define XXXX _IOR(n,x,sizeof(type-of-arg))
      
      which is very wrong: the _IO/_IOR/_IOW/_IOWR macros will do the sizeof()
      on the argtype themselves, so the end result is that we will be doing a
      sizeof(sizeof(argtype)), ie a sizeof(size_t).
      
      In other words, the argtype didn't matter at all, and ended up totally
      pointless.
      
      Clearly it's too late to change the ioctl definitions, but we can at
      least stop people from copying them and making the same mistake.
      015e32c1