]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] fix qla1280 compiles
Christoph Hellwig [Fri, 26 Sep 2003 06:10:59 +0000 (01:10 -0500)]
[PATCH] fix qla1280 compiles

Duh!  The scsi_cmnd.flags removal broke qla1280.

It checked for the flags beeing 0, which it always was for a long
time.  It looks a bit fishy thus, so if someone wants to audit
srb.flags audit please do so.

23 years ago[PATCH] janitor: cleanup includes in sym53c416
Randy Dunlap [Fri, 26 Sep 2003 06:04:44 +0000 (01:04 -0500)]
[PATCH] janitor: cleanup includes in sym53c416

From: Randy Hron <rwhron@earthlink.net>

Remove unneeded version.h include.

 linux-260-t5bk12-kj-rddunlap/drivers/scsi/sym53c416.c |    1 -
 1 files changed, 1 deletion(-)

23 years ago[PATCH] janitor: cleanup includes in osst
Randy Dunlap [Fri, 26 Sep 2003 05:57:58 +0000 (00:57 -0500)]
[PATCH] janitor: cleanup includes in osst

From: Randy Hron <rwhron@earthlink.net>

Remove unneccessary version.h #include.

 linux-260-t5bk12-kj-rddunlap/drivers/scsi/osst.c |    1 -
 1 files changed, 1 deletion(-)

23 years ago[PATCH] janitor: cleanup includes in megaraid
Randy Dunlap [Fri, 26 Sep 2003 05:55:53 +0000 (00:55 -0500)]
[PATCH] janitor: cleanup includes in megaraid

From: Randy Hron <rwhron@earthlink.net>

Remove unneeded version.h include in megaraid.

 linux-260-t5bk12-kj-rddunlap/drivers/scsi/megaraid.h |    1 -
 1 files changed, 1 deletion(-)

23 years ago[PATCH] janitor: scsi/a3000: cleanup includes
Randy Dunlap [Fri, 26 Sep 2003 05:43:45 +0000 (00:43 -0500)]
[PATCH] janitor: scsi/a3000: cleanup includes

From: Randy Hron <rwhron@earthlink.net>

Remove unneeded version.h include.

 linux-260-t5bk12-kj-rddunlap/drivers/scsi/a3000.c |    1 -
 1 files changed, 1 deletion(-)

23 years ago[PATCH] janitor: cleanup includes in in2000
Randy Dunlap [Fri, 26 Sep 2003 05:36:04 +0000 (00:36 -0500)]
[PATCH] janitor: cleanup includes in in2000

From: Randy Hron <rwhron@earthlink.net>

Remove unneeded version.h include.

 linux-260-t5bk12-kj-rddunlap/drivers/scsi/in2000.h |    2 --
 1 files changed, 2 deletions(-)

23 years ago[PATCH] janitor: cleanup includes in dpt_i2o
Randy Dunlap [Fri, 26 Sep 2003 05:29:41 +0000 (00:29 -0500)]
[PATCH] janitor: cleanup includes in dpt_i2o

From: Randy Hron <rwhron@earthlink.net>

Remove doubled #includes.
Add linux/version.h

 linux-260-t5bk12-kj-rddunlap/drivers/scsi/dpt/dpti_i2o.h |    7 +------
 1 files changed, 1 insertion(+), 6 deletions(-)

23 years ago[PATCH] Memory leak in NCR_Q720 found by checker
Felipe Damasio [Thu, 25 Sep 2003 08:00:04 +0000 (03:00 -0500)]
[PATCH] Memory leak in NCR_Q720 found by checker

Patch frees a struct NCR_Q720_private before
returning.

23 years ago[PATCH] Memory leak in scsi_debug found by checker
Felipe Damasio [Thu, 25 Sep 2003 07:57:54 +0000 (02:57 -0500)]
[PATCH] Memory leak in scsi_debug found by checker

    If in the middle of loop a kmalloc failed, that means that the
previous calls succeeded..so they must be also be freed (and removed
from the dev_info_list).

23 years ago.del-sym53c8xx.c~180cda83f20a4355:
James Bottomley [Thu, 25 Sep 2003 07:52:18 +0000 (02:52 -0500)]
.del-sym53c8xx.c~180cda83f20a4355:
  Delete: drivers/scsi/sym53c8xx.c

23 years ago[PATCH] Kill off sym1
Matthew Wilcox [Thu, 25 Sep 2003 07:46:49 +0000 (02:46 -0500)]
[PATCH] Kill off sym1

 - Remove sym1 driver
 - Remove PCI stuff from sym53c8xx_comm.h
 - Remove PCI stuff from ncr53c8xx.c
 - Remove device_t typedef
 - Remove u_int32 and u_int64
 - Remove first_host and the_template
 - Remove SPARC support (get back to me when someone puts a 720 in a Sparc :-P)

 Makefile         |    1
 NCR_Q720.c       |    4
 ncr53c8xx.c      |  155
 ncr53c8xx.h      |   12
 sym53c8xx.c      |14543 -------------------------------------------------------
 sym53c8xx.h      |   82
 sym53c8xx_comm.h |  666 --
 sym53c8xx_defs.h |   52
 zalon.c          |    4
 9 files changed, 76 insertions(+), 15443 deletions(-)

23 years ago[PATCH] Generalize 32bit emulation support in MPT fusion
Andi Kleen [Thu, 25 Sep 2003 07:19:59 +0000 (02:19 -0500)]
[PATCH] Generalize 32bit emulation support in MPT fusion

The mptctl module has had sparc64 32bit emulation support for some
time. This patch generalizes it to use the generic compat infrastructure.
This makes it work on x86-64 too.

I also removed one special case for sparc in the locking that didn't
make any sense to me.

23 years ago[PATCH] switch command completion queue to per-cpu data
Christoph Hellwig [Thu, 25 Sep 2003 07:18:27 +0000 (02:18 -0500)]
[PATCH] switch command completion queue to per-cpu data

 - DEFINE_PER_CPU works in modules now, use it
 - rename done_q to scsi_done_q - in the kernel we prefer descriptive
   prefixes even for statics..

23 years ago[PATCH] don't set underflow for REQ_BLOCK_PC
Patrick Mansfield [Thu, 25 Sep 2003 07:17:10 +0000 (02:17 -0500)]
[PATCH] don't set underflow for REQ_BLOCK_PC

I got underflow warnings and failures when sending an INQUIRY page 0x83
via the SG_IO REQ_BLOCK_PC interface.

The underflow field should only be set if we know for certain the size of
the data being transfered, so fix this by leaving it at zero for scsi
REQ_BLOCK_PC cases.

23 years ago[PATCH] handle failure when starting the eh thread
Christoph Hellwig [Thu, 25 Sep 2003 07:15:25 +0000 (02:15 -0500)]
[PATCH] handle failure when starting the eh thread

And while at it also fix the scsi_error_handler() prototype.

23 years ago[PATCH] add back the missing ->slave_destroy call
Christoph Hellwig [Thu, 25 Sep 2003 07:14:27 +0000 (02:14 -0500)]
[PATCH] add back the missing ->slave_destroy call

Looks like the merge error still isn't fixed..

23 years ago[PATCH] move some constants around
Christoph Hellwig [Thu, 25 Sep 2003 07:13:30 +0000 (02:13 -0500)]
[PATCH] move some constants around

We should try to keep all constants in include/scsi/scsi.h instead
of drivers/scsi/scsi.h.  Also tidy up include/scsi/scsi.h a bit.

23 years ago[PATCH] small lasi700 update
Christoph Hellwig [Thu, 25 Sep 2003 07:12:32 +0000 (02:12 -0500)]
[PATCH] small lasi700 update

 - move the struct parisc_driver down like in most drivers, avoids
   two forward-declarations
 - give lasi700_scsi_tbl and lasi700_driver_callback sensible names
 - properly return -ENOMEM instead of 1 on kmalloc failure
 - check scsi_add_host return value

23 years ago[PATCH] kill last users of the ScsiLun typedef
Christoph Hellwig [Thu, 25 Sep 2003 07:11:23 +0000 (02:11 -0500)]
[PATCH] kill last users of the ScsiLun typedef

everyone else uses struct scsi_lun already.

23 years ago[PATCH] helper for device list traversal
Christoph Hellwig [Thu, 25 Sep 2003 07:10:17 +0000 (02:10 -0500)]
[PATCH] helper for device list traversal

This patch adds shost_for_each_device().  It's used to abstract out
scsi_host.my_devices traversal.  The next step will be to replace
the current simple implementation with one that's fully locked down
an reference counted.

23 years ago[PATCH] tiny zalon cleanups
Christoph Hellwig [Thu, 25 Sep 2003 07:09:01 +0000 (02:09 -0500)]
[PATCH] tiny zalon cleanups

Rename zalon_scsi_callback to the more sensible zalon_probe and fix
a few tiny indentation issues.

23 years ago[PATCH] bring lost 2.5 changes to qla1280 back
Christoph Hellwig [Thu, 25 Sep 2003 07:07:41 +0000 (02:07 -0500)]
[PATCH] bring lost 2.5 changes to qla1280 back

23 years ago[PATCH] kill scsi_cmnd.flags
Christoph Hellwig [Thu, 25 Sep 2003 07:06:26 +0000 (02:06 -0500)]
[PATCH] kill scsi_cmnd.flags

This was only used by the old error handling, the new code uses .eh_state
and .eh_eflags instead.

23 years ago[PATCH] kill use_blk_tcq template flag
Christoph Hellwig [Thu, 25 Sep 2003 07:05:19 +0000 (02:05 -0500)]
[PATCH] kill use_blk_tcq template flag

The flag isn't checked ever as drivers using the block layer tcq
code do so by themselves, without any interaction to the scsi midlayer.

23 years ago[PATCH] kill highmem_io leftover
Christoph Hellwig [Thu, 25 Sep 2003 07:00:44 +0000 (02:00 -0500)]
[PATCH] kill highmem_io leftover

Jens' missed this in his cleanup.

23 years ago[PATCH] change sdev.access_count to an atomic_t
Christoph Hellwig [Thu, 25 Sep 2003 06:54:19 +0000 (01:54 -0500)]
[PATCH] change sdev.access_count to an atomic_t

For various reasons (e.g. the .my_devices lockdown) it's undesirable
to have scsi_device_{get,put} blocking.  Change .access_count to an
atomic_t to avoid the driver model r/w semaphore.

Sideeffects:

 - possible module reference leak in scsi_device_get when get_device
   fails fixes.
 - the access_count attribute is gone.  We already have this exposed
   to userspace in too many places given that this whole second
   refcount will go away once Al fixes the block layer.

23 years agoMerge ssh://linux-scsi@linux-scsi.bkbits.net/scsi-misc-2.5
James Bottomley [Thu, 25 Sep 2003 06:45:18 +0000 (01:45 -0500)]
Merge ssh://linux-scsi@linux-scsi.bkbits.net/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5

23 years ago[PATCH] janitor: sg_register error handling
Randy Dunlap [Thu, 25 Sep 2003 06:39:25 +0000 (01:39 -0500)]
[PATCH] janitor: sg_register error handling

From: Daniele Bellucci <bellucda@tiscali.it>

handle register error, call unregister;

 linux-260-test5-kj-rddunlap/drivers/scsi/sg.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

23 years ago[PATCH] janitor: remove unneeded includes (/scsi/)
Randy Dunlap [Thu, 25 Sep 2003 06:21:10 +0000 (01:21 -0500)]
[PATCH] janitor: remove unneeded includes (/scsi/)

From: Randy Hron <rwhron@earthlink.net>

 linux-260-test5-kj-rddunlap/drivers/scsi/53c700.c   |    1 -
 linux-260-test5-kj-rddunlap/drivers/scsi/BusLogic.c |    1 -
 linux-260-test5-kj-rddunlap/drivers/scsi/aha152x.c  |    1 -
 linux-260-test5-kj-rddunlap/drivers/scsi/dmx3191d.c |    1 -
 linux-260-test5-kj-rddunlap/drivers/scsi/i60uscsi.c |    1 -
 5 files changed, 5 deletions(-)

23 years ago[PATCH] PATCH: (as84) Small fixup for SCSI proc code
Alan Stern [Thu, 25 Sep 2003 06:16:21 +0000 (01:16 -0500)]
[PATCH] PATCH: (as84) Small fixup for SCSI proc code

The updated SCSI proc directory code that I sent you a few months ago has
a small mistake -- the error path fails to release a semaphore.  This
patch fixes it; please apply.

23 years ago[PATCH] fixes an ide-scsi oops in 2.6-test5
Mike Christie [Thu, 25 Sep 2003 06:12:23 +0000 (01:12 -0500)]
[PATCH] fixes an ide-scsi oops in 2.6-test5

The attached patch cleans up the ide-scsi driver model code and fixes
the oops described below which is caused when doing a rmmod on the
driver.

23 years ago[PATCH] zalon & ncr53c8xx cleanups
Matthew Wilcox [Fri, 12 Sep 2003 05:54:14 +0000 (01:54 -0400)]
[PATCH] zalon & ncr53c8xx cleanups

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.

23 years ago[PATCH] NCR5380.c warning
Geert Uytterhoeven [Fri, 12 Sep 2003 05:52:45 +0000 (01:52 -0400)]
[PATCH] NCR5380.c warning

NCR5380: `phases' is used inside the #ifdef NDEBUG only, so move its definition
inside as well.

23 years ago[PATCH] in2000 warning
Geert Uytterhoeven [Fri, 12 Sep 2003 05:37:56 +0000 (01:37 -0400)]
[PATCH] in2000 warning

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.

23 years ago[PATCH] sym53c8xx 2.1.18b
Matthew Wilcox [Fri, 12 Sep 2003 05:35:36 +0000 (01:35 -0400)]
[PATCH] sym53c8xx 2.1.18b

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.

23 years ago[PATCH] enable aha152x to build when AHA152X_DEBUG is defined
Randy Dunlap [Fri, 12 Sep 2003 05:32:38 +0000 (01:32 -0400)]
[PATCH] enable aha152x to build when AHA152X_DEBUG is defined

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(-)

23 years ago[PATCH] serialize bus scanning
Anton Blanchard [Fri, 12 Sep 2003 05:25:24 +0000 (01:25 -0400)]
[PATCH] serialize bus scanning

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(-)

23 years ago[PATCH] Fix imm.c again
Andrew Morton [Fri, 12 Sep 2003 05:23:44 +0000 (01:23 -0400)]
[PATCH] Fix imm.c again

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(-)

23 years ago[PATCH] sym53c8xx driver 2.1.18
Matthew Wilcox [Mon, 8 Sep 2003 18:25:47 +0000 (13:25 -0500)]
[PATCH] sym53c8xx driver 2.1.18

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.

23 years agoLinux 2.6.0-test5 v2.6.0-test5
Linus Torvalds [Mon, 8 Sep 2003 05:45:46 +0000 (22:45 -0700)]
Linux 2.6.0-test5

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 8 Sep 2003 04:56:23 +0000 (21:56 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[SERIAL] Make SA11x0 serial driver build.
Russell King [Mon, 8 Sep 2003 20:28:05 +0000 (21:28 +0100)]
[SERIAL] Make SA11x0 serial driver build.

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".

23 years ago[PATCH] Fix noop elevator request merging
Jens Axboe [Mon, 8 Sep 2003 04:09:12 +0000 (21:09 -0700)]
[PATCH] Fix noop elevator request merging

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).

23 years ago[PATCH] sdla non-module build fix.
Stephen Hemminger [Mon, 8 Sep 2003 03:42:56 +0000 (20:42 -0700)]
[PATCH] sdla non-module build fix.

Last round of changes broke sdla build if not a module.

23 years agoArnd's new-and-improved _IOx() argument checking showed two sound
Linus Torvalds [Mon, 8 Sep 2003 02:12:58 +0000 (19:12 -0700)]
Arnd's new-and-improved _IOx() argument checking showed two sound
drivers whose microcode load ioctl's used types with sizes that
overflow the ioctl number. Mark them _IOx_BAD() to document the fact.

23 years ago[PATCH] Verify proper usage of ioctl macros
Arnd Bergmann [Mon, 8 Sep 2003 01:20:02 +0000 (18:20 -0700)]
[PATCH] Verify proper usage of ioctl macros

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.

23 years agoFix more ioctl _IOR/_IOW misusage.
Linus Torvalds [Sun, 7 Sep 2003 15:12:49 +0000 (08:12 -0700)]
Fix more ioctl _IOR/_IOW misusage.

23 years ago[PATCH] modprobe -q: quieter when modules missing
Rusty Russell [Sun, 7 Sep 2003 13:46:30 +0000 (06:46 -0700)]
[PATCH] modprobe -q: quieter when modules missing

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.

23 years ago[PATCH] Modules: Be stricter recognizing init&exit sesections
Rusty Russell [Sun, 7 Sep 2003 13:46:23 +0000 (06:46 -0700)]
[PATCH] Modules: Be stricter recognizing init&exit sesections

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.

23 years ago[PATCH] CONFIG_64BIT
Matthew Wilcox [Sun, 7 Sep 2003 13:43:41 +0000 (06:43 -0700)]
[PATCH] CONFIG_64BIT

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.

23 years ago[PATCH] x86-64 update
Andi Kleen [Sun, 7 Sep 2003 13:41:29 +0000 (06:41 -0700)]
[PATCH] x86-64 update

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

23 years ago[PATCH] arm26 updates
Ian Molton [Sun, 7 Sep 2003 09:53:07 +0000 (02:53 -0700)]
[PATCH] arm26 updates

Not much to write home about. mostly tidying, some debug, and XIP support.

just keeping arm26 up to date really.

23 years agoFix various scripts to be marked executable.
Linus Torvalds [Sun, 7 Sep 2003 08:51:20 +0000 (01:51 -0700)]
Fix various scripts to be marked executable.

From carbonated beverage <ramune@net-ronin.org>.

[ "carbonated beverage"? WTF? I think I need a cool handle too ;]

23 years ago[PATCH] Fixes to allow ARM to build in the standard tree
Russell King [Sun, 7 Sep 2003 08:48:13 +0000 (01:48 -0700)]
[PATCH] Fixes to allow ARM to build in the standard tree

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.

23 years ago[PATCH] next fixes
Karsten Keil [Sun, 7 Sep 2003 06:54:07 +0000 (23:54 -0700)]
[PATCH] next fixes

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)

23 years agoMark drivers that can't be built stand-alone in the configuration
Linus Torvalds [Sun, 7 Sep 2003 06:50:54 +0000 (23:50 -0700)]
Mark drivers that can't be built stand-alone in the configuration
files.

23 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Sun, 7 Sep 2003 06:45:13 +0000 (23:45 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoUndo static on ide_probe_for_pdc4030: it can (and will) be called
Linus Torvalds [Sun, 7 Sep 2003 04:54:38 +0000 (21:54 -0700)]
Undo static on ide_probe_for_pdc4030: it can (and will) be called
from the IDE init code when compiled-in.

23 years agoFix over-eager ioctl number fix. _IOC() does want the sizeof().
Linus Torvalds [Sun, 7 Sep 2003 03:42:30 +0000 (20:42 -0700)]
Fix over-eager ioctl number fix. _IOC() does want the sizeof().

23 years agoFix PCMCIA typo (extra 'R') that broke the compile.
Linus Torvalds [Sun, 7 Sep 2003 03:14:46 +0000 (20:14 -0700)]
Fix PCMCIA typo (extra 'R') that broke the compile.

23 years ago[PATCH] use size_t for the broken ioctl numbers
Matthew Wilcox [Sun, 7 Sep 2003 02:43:46 +0000 (19:43 -0700)]
[PATCH] use size_t for the broken ioctl numbers

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.

23 years agokbuild: genksyms, add explicit reference to include dir
Sam Ravnborg [Sat, 6 Sep 2003 23:26:51 +0000 (01:26 +0200)]
kbuild: genksyms, add explicit reference to include dir

genksyms references .h files in the genksyms directory from a
generated .c file. Explicit tell kbuild to search the genksyms
directory in the kernel src tree for .h files.

23 years agokbuild/eisa: Makefile update
Sam Ravnborg [Sat, 6 Sep 2003 23:24:41 +0000 (01:24 +0200)]
kbuild/eisa: Makefile update

- Nice output when generating devlist.h
- Defer DEVICE_NAME_SIZE assignment until needed
No funtional changes

23 years agokbuild/isdn: Defer md5sum calculation until needed
Sam Ravnborg [Sat, 6 Sep 2003 23:13:18 +0000 (01:13 +0200)]
kbuild/isdn: Defer md5sum calculation until needed

Replacing ':=' assignment with '=' assignment defers md5sum calculation until
required. The pevious implementation actually calculated the md5sum during
a make clean

23 years agokbuild/ieee1394: Makefile update
Sam Ravnborg [Sat, 6 Sep 2003 23:10:51 +0000 (01:10 +0200)]
kbuild/ieee1394: Makefile update

Use full path to script in oui.c build rule.
Take advantage of kbuild checking command-line arguments,
by adding FORCE as prerequisite, and by use of targets=

23 years agokbuild: arch/i386/boot*, use kbuild syntax when descending into compressed
Sam Ravnborg [Sat, 6 Sep 2003 23:08:53 +0000 (01:08 +0200)]
kbuild: arch/i386/boot*, use kbuild syntax when descending into compressed

Use proper kbuild syntax when descending into compressed.
The use of $(Q)$(MAKE) $(build)=... is the preferred method

23 years agokbuild: Do not duplicate A/CFLAGS
Sam Ravnborg [Sat, 6 Sep 2003 23:04:12 +0000 (01:04 +0200)]
kbuild: Do not duplicate A/CFLAGS

This solves 1193 in bugme as reported by ak@suse.de
AFLAGS and CFLAGS contained duplicate entries, both generic and
architecture specific flags

23 years ago[PATCH] more keyboard stuff
Andries E. Brouwer [Sat, 6 Sep 2003 07:38:43 +0000 (00:38 -0700)]
[PATCH] more keyboard stuff

I looked a bit more at the keyboard code and find a bug
and a probable bug.

(i) In case a synaptics touchpad has been detected, the comment says
    "disable AUX".  But we do not set the disable bit, but instead .and.
    with the bit - no doubt getting zero.  This must be a bug.

(ii) Directly above this is the suspicious comment "keyboard translation
     seems to be always off".  But every machine comes always up in
     translated scancode 2.  Translation is never off.  But wait! by
     mistake the above .and.  cleared the XLATE bit.

So, I think bug (i) explains mystery (ii).

However, note that this is code reading only.  I do not have the
hardware, so cannot test.

23 years ago[PATCH] jffs2: add linux/version.h as needed
Randy Dunlap [Sat, 6 Sep 2003 07:37:21 +0000 (00:37 -0700)]
[PATCH] jffs2: add linux/version.h as needed

include linux/version.h in files that use its defines;

23 years ago[PATCH] rename make check* targets, add versioncheck
Randy Dunlap [Sat, 6 Sep 2003 07:37:13 +0000 (00:37 -0700)]
[PATCH] rename make check* targets, add versioncheck

rename make check* targets to make *check (per Sam) since 'make
checkconfig' currently doesn't work; add versioncheck and
scripts/checkversion.pl;

23 years ago[PATCH] janitor: x86_64/sys_ia32
Randy Dunlap [Sat, 6 Sep 2003 07:37:05 +0000 (00:37 -0700)]
[PATCH] janitor: x86_64/sys_ia32

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

23 years ago[PATCH] janitor: qla1280 pci alloc/free consistent checking
Randy Dunlap [Sat, 6 Sep 2003 07:36:57 +0000 (00:36 -0700)]
[PATCH] janitor: qla1280 pci alloc/free consistent checking

Ports previous qla1280.c patch to 2.6.0-test2.  Fixes incorrect if
statement.  Inserts pci_free_consistent on error.

From: Leann Ogasawara <ogasawara@osdl.org>

23 years ago[PATCH] janitor: paride: better return codes
Randy Dunlap [Sat, 6 Sep 2003 07:36:49 +0000 (00:36 -0700)]
[PATCH] janitor: paride: better return codes

From: Domen Puncer <domen@coderock.org>

23 years ago[PATCH] janitor: oss/forte copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:36:40 +0000 (00:36 -0700)]
[PATCH] janitor: oss/forte copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

23 years ago[PATCH] janitor: more init/exit cleanups
Randy Dunlap [Sat, 6 Sep 2003 07:36:32 +0000 (00:36 -0700)]
[PATCH] janitor: more init/exit cleanups

From: Domen Puncer <domen@coderock.org>
and Randy Dunlap

Release (in fact all) functions shouldn't be __init or __exit, if they
are called from __init and __exit functions.

23 years ago[PATCH] janitor: fix copy*user in tc/zs
Randy Dunlap [Sat, 6 Sep 2003 07:36:23 +0000 (00:36 -0700)]
[PATCH] janitor: fix copy*user in tc/zs

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

23 years ago[PATCH] janitor: oss/au1000 copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:36:15 +0000 (00:36 -0700)]
[PATCH] janitor: oss/au1000 copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

23 years ago[PATCH] janitor: coda delete version.h
Randy Dunlap [Sat, 6 Sep 2003 07:36:07 +0000 (00:36 -0700)]
[PATCH] janitor: coda delete version.h

Test compiled on x86.

From: Randy Hron <rwhron@earthlink.net

23 years ago[PATCH] janitor: saa7134 pci alloc/free consistent checking
Randy Dunlap [Sat, 6 Sep 2003 07:35:58 +0000 (00:35 -0700)]
[PATCH] janitor: saa7134 pci alloc/free consistent checking

From: Leann Ogasawara <ogasawara@osdl.org>

Patch to insert ioremap() error checking and missing iounmap()'s.  Also
updated error handling to have only one return statement on error.
Finally, in saa7134_finidev() on line 954 there was a duplicate
saa7134_i2c_unregister().

23 years ago[PATCH] janitor: fix oss/swarm copy*user
Randy Dunlap [Sat, 6 Sep 2003 07:35:50 +0000 (00:35 -0700)]
[PATCH] janitor: fix oss/swarm copy*user

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

23 years ago[PATCH] janitor: fix blk_init_queue() comments
Randy Dunlap [Sat, 6 Sep 2003 07:35:43 +0000 (00:35 -0700)]
[PATCH] janitor: fix blk_init_queue() comments

blk_init_queue() has changed (it now returns queue), but the
comments were the same.

Also fixed a comment in blk_queue_end_tag.

From: Domen Puncer <domen@coderock.org>

23 years ago[PATCH] janitor: fix input serport register failure
Randy Dunlap [Sat, 6 Sep 2003 07:35:34 +0000 (00:35 -0700)]
[PATCH] janitor: fix input serport register failure

From: Daniele Bellucci <bellucda@tiscali.it>

23 years ago[PATCH] janitor: cdrom module owner
Randy Dunlap [Sat, 6 Sep 2003 07:35:26 +0000 (00:35 -0700)]
[PATCH] janitor: cdrom module owner

From: Daniele <bellucda@tiscali.it>

OK-ed by Jens.

23 years ago[PATCH] janitor: fix oss/harmony copy*user
Randy Dunlap [Sat, 6 Sep 2003 07:35:17 +0000 (00:35 -0700)]
[PATCH] janitor: fix oss/harmony copy*user

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

23 years ago[PATCH] janitor: adfs: add/remove version.h
Randy Dunlap [Sat, 6 Sep 2003 07:35:09 +0000 (00:35 -0700)]
[PATCH] janitor: adfs: add/remove version.h

From: Randy Hron <rwhron@earthlink.net>

Put version.h in the file that needs it.
Remove version.h where it isn't needed.
Tested as module/non-module on x86.

23 years ago[PATCH] janitor: jffs2 add/delete version.h
Randy Dunlap [Sat, 6 Sep 2003 07:35:02 +0000 (00:35 -0700)]
[PATCH] janitor: jffs2 add/delete version.h

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: remove __SMP__
Randy Dunlap [Sat, 6 Sep 2003 07:34:53 +0000 (00:34 -0700)]
[PATCH] janitor: remove __SMP__

Three small 1-line patches to get rid of any remaining __SMP__
references in the 2.6 kernel.

From: Ron Gage  <ron@rongage.org>

23 years ago[PATCH] janitor: skfddi copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:44 +0000 (00:34 -0700)]
[PATCH] janitor: skfddi copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

This patch audits some copy_from/to_user in the SysKonnect FDDI device
driver.

23 years ago[PATCH] janitor: oss/ite8172 copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:36 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ite8172 copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

23 years ago[PATCH] janitor: oss/ali copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:27 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ali copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

23 years ago[PATCH] janitor: sc520_wdt
Randy Dunlap [Sat, 6 Sep 2003 07:34:19 +0000 (00:34 -0700)]
[PATCH] janitor: sc520_wdt

Insert ioremap error check and adjust cleanup path accordingly.

From: Leann Ogasawara <ogasawara@osdl.org>

23 years ago[PATCH] janitor: add static to comx
Randy Dunlap [Sat, 6 Sep 2003 07:34:10 +0000 (00:34 -0700)]
[PATCH] janitor: add static to comx

From: Daniele Bellucci <bellucda@tiscali.it>

add 'static' to a function

23 years ago[PATCH] janitor: remove unneeded version.h #includes
Randy Dunlap [Sat, 6 Sep 2003 07:34:01 +0000 (00:34 -0700)]
[PATCH] janitor: remove unneeded version.h #includes

From: Randy Hron <rwhron@earthlink.net>

remove unneeded linux/version.h usage & some duplicate
#includes;

23 years ago[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:18 +0000 (00:30 -0700)]
[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT

Dmasound: Use try_module_get()/module_put() instead of methods calling
MOD_{IN,DE}C_USE_COUNT (from Christoph Hellwig)

23 years ago[PATCH] dmasound core fixes
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:09 +0000 (00:30 -0700)]
[PATCH] dmasound core fixes

Dmasound core fixes from Christoph Hellwig:
  - Some exported symbols are declared __init - in the modular case this is
    freed before the other modules can call it..
  - dmasound.lock is initialized too late, do it at compile time

23 years ago[PATCH] Futex-fd error return fix
Rusty Russell [Sat, 6 Sep 2003 07:22:21 +0000 (00:22 -0700)]
[PATCH] Futex-fd error return fix

Hugh Dickins caught this confusion between the ret variable in outer
scope (holding the fd) and the return value of f_setown.  Rename inner
"ret".

23 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Linus Torvalds [Sat, 6 Sep 2003 07:21:09 +0000 (00:21 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[WATCHDOG] Documentation
Wim Van Sebroeck [Sat, 6 Sep 2003 14:43:57 +0000 (16:43 +0200)]
[WATCHDOG] Documentation

move all watchdog documentation into Documentation/watchdog/

23 years agoMerge bk://kernel.bkbits.net/jgarzik/irda-2.5
Linus Torvalds [Sat, 6 Sep 2003 07:18:48 +0000 (00:18 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/irda-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
Linus Torvalds [Sat, 6 Sep 2003 07:17:24 +0000 (00:17 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux