]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] dm: v4 ioctl interface
Andrew Morton [Fri, 18 Jul 2003 02:27:54 +0000 (19:27 -0700)]
[PATCH] dm: v4 ioctl interface

From: Joe Thornber <thornber@sistina.com>

v4 of the ioctl interface.  Note there never was a v2 or a v3 except in an
unofficial EVMS way.

This works correctly with the 64-bit dev_t patches in -mm kernels.

There is now a config option to allow the user to select v1 or v4, it
defaults to v1.  dm-ioctl.[hc] just #includes dm-ioctl-v[14].[hc] depending
on the config option.

If you want to use v4 you will have to update your tools
(libdevmapper/lvm).  The latest tools at the time of writing are:

dmsetup + libdevmapper + replacement kernel patches for 2.4.20 & 2.4.21:

  ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-testing-new-version4-interface.tgz

Updated LVM2 tools to work with the above:

  ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-testing.tgz

23 years ago[PATCH] dm: 'wait for event' race
Andrew Morton [Fri, 18 Jul 2003 02:27:46 +0000 (19:27 -0700)]
[PATCH] dm: 'wait for event' race

From: Joe Thornber <thornber@sistina.com>

There was a race associated with the 'wait for a significant event'
functionality.

Basically userland could read the status table, then wait for another
event, but the event it was waiting for could have occurred in the gap
between reading and waiting.

To solve this we assign identifiers to events, in order to successfully
wait for an event both userland and the kernel driver must be in agreement
about what the last event identifier was.  If they don't agree the wait
call will return immediately, allowing userland to re-read the status and
see what it missed.

The new ioctl interface will use this properly.

23 years ago[PATCH] CLONE_STOPPED
Andrew Morton [Fri, 18 Jul 2003 02:27:39 +0000 (19:27 -0700)]
[PATCH] CLONE_STOPPED

From: Ulrich Drepper <drepper@redhat.com>

CLONE_STOPPED: start a thread in a stopped state.  Required for NTPL.

23 years ago[PATCH] watchdog: i810-tco support
Andrew Morton [Fri, 18 Jul 2003 02:27:31 +0000 (19:27 -0700)]
[PATCH] watchdog: i810-tco support

From: Wim Van Sebroeck <wim@iguana.be>

Adds support for the 82801EB and 82801ER I/O Controller Hub's (ICH5 &
ICH5R).  This will add watchdog support for the i865 and i875 motherboard
chipsets.  It also removes some extra trailing spaces in the source files.

23 years ago[PATCH] vesafb fix
Andrew Morton [Fri, 18 Jul 2003 02:27:23 +0000 (19:27 -0700)]
[PATCH] vesafb fix

From: Gerd Knorr <kraxel@suse.de>

The patch below fixes some vesafb issues.  Changes:

* fixed struct screen_info in tty.h to use portable types.  "unsigned
  long" for 32bit values doesn't work on hammer machines ...

* limited the framebuffer memory used by vesafb to 16 MB.  This avoids
  that vesafb's ioremap() eats plenty of kernel address space for no real
  benefit if the gfx card has very much memory (some have 128 MB or more,
  ia32 has 128 MB address space for vmalloc and ioremap ...).

* mtrr is enabled by default.  That should improve the vesafb performance
  a lot.  Also added a option to disable mtrr.

23 years ago[PATCH] visws: fix PCI breakage
Andrew Morton [Fri, 18 Jul 2003 02:27:16 +0000 (19:27 -0700)]
[PATCH] visws: fix PCI breakage

From: Andrey Panin <pazke@donpac.ru>

This fixes Visws PCI code which was broken since 2.5.73.

23 years ago[PATCH] settimeofday() fixes
Andrew Morton [Fri, 18 Jul 2003 02:27:04 +0000 (19:27 -0700)]
[PATCH] settimeofday() fixes

From: davem

- sys_stime() takes an int*, but it should be a time_t*: they have different
  sizes on (for example) sparc64.

- sys_settimeofday() is confusing timevals with timespecs.  They have
  different sizes on sparc64 and the time keeps on getting set to epoch.

23 years ago[PATCH] slab: print stuff when the wrong cache is used
Andrew Morton [Fri, 18 Jul 2003 02:26:56 +0000 (19:26 -0700)]
[PATCH] slab: print stuff when the wrong cache is used

From: Manfred Spraul <manfred@colorfullife.com>

Some extra diagnostics when someone passes the wrong object type
into kmem_cache_free().  To help some bug which Manfred is chasing.

23 years ago[PATCH] CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO
Andrew Morton [Fri, 18 Jul 2003 02:26:48 +0000 (19:26 -0700)]
[PATCH] CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO

From: Brett <generica@email.com>

CONFIG_BLK_DEV_CRYPTOLOOP needs CONFIG_CRYPTO

23 years ago[PATCH] unline most of put_namespace()
Andrew Morton [Fri, 18 Jul 2003 02:26:41 +0000 (19:26 -0700)]
[PATCH] unline most of put_namespace()

It has five callsites, and is big.

23 years ago[PATCH] Fix two bugs with process limits (RLIMIT_NPROC)
Andrew Morton [Fri, 18 Jul 2003 02:26:32 +0000 (19:26 -0700)]
[PATCH] Fix two bugs with process limits (RLIMIT_NPROC)

From: Neil Brown <neilb@cse.unsw.edu.au>

1/ If a setuid process swaps it's real and effective uids and then forks,
 the fork fails if the new realuid has more processes
 than the original process was limited to.
 This is particularly a problem if a user with a process limit
 (e.g. 256) runs a setuid-root program which does setuid() + fork()
 (e.g. lprng) while root already has more than 256 process (which
 is quite possible).

 The root problem here is that a limit which should be a per-user
 limit is being implemented as a per-process limit with
 per-process (e.g. CAP_SYS_RESOURCE) controls.
 Being a per-user limit, it should be that the root-user can over-ride
 it, not just some process with CAP_SYS_RESOURCE.

 This patch adds a test to ignore process limits if the real user is root.

2/ When a root-owned process (e.g. cgiwrap) sets up process limits and then
  calls setuid, the setuid should fail if the user would then be running
  more than rlim_cur[RLIMIT_NPROC] processes, but it doesn't.  This patch
  adds an appropriate test.  With this patch, and per-user process limit
  imposed in cgiwrap really works.

23 years ago[PATCH] fix return of compat_sys_sched_getaffinity
Andrew Morton [Fri, 18 Jul 2003 02:26:24 +0000 (19:26 -0700)]
[PATCH] fix return of compat_sys_sched_getaffinity

From: Anton Blanchard <anton@samba.org>

On success getaffinity should return the size of mask.  It looks like
Randy's patch (which fixed a bogus return) missed this bit.

In reality I'm not sure if we care, and with cpu bitmasks this stuff is
going to break.

23 years ago[PATCH] fix removable partitioned media with devfs
Andrew Morton [Fri, 18 Jul 2003 02:26:16 +0000 (19:26 -0700)]
[PATCH] fix removable partitioned media with devfs

From: Andrey Borzenkov <arvidjaar@mail.ru>

Current 2.5 does not register any device node in devfs for empty media
(capacity == 0) case.  This makes removables unusable with devfs.
Partition rescan is done only on bdev open, but without any device node for
device it is impossible to open it.

In 2.4 it was finally solved by always registering .../disc node as
representation for "whole" disk and using devfsd action to force partition
rescan on access to (non-existing) partition name.  For primary names it
was handled internally by devfs - it kept track of removable devices in
directory and initiated partition rescan when name was not found.

Both are obviously broken now.  You can't do partition rescan because no
node is registered at all and internal handling was removed.  Very nice.

The attached patch makes resgister_disk always register at least disc node.
 This now works for old and new compat names as per devfsd configuration;
canonical names are still broken:

  {pts/3}% ll /dev/scsi/host1/bus0/target4/lun0/part4
  ls: /dev/scsi/host1/bus0/target4/lun0/part4: No such file or directory

but it can be fixed using the same technique as above so I won't push it.

23 years ago[PATCH] use kmalloc for ia32 stacks
Andrew Morton [Fri, 18 Jul 2003 02:26:08 +0000 (19:26 -0700)]
[PATCH] use kmalloc for ia32 stacks

From: William Lee Irwin III <wli@holomorphy.com>

I've been slab allocating the stack on i386 for some time, and it has gone
without incident in pgcl, -wli, -mjb (?), and so on.  kmalloc() is fine;
there isn't any particularly compelling reason for a dedicated slab as
there's no preconstruction to do, though it can be arranged.

Basically, it works, there's no obvious reason not to, and (even better)
it's not totally invisible to the VM and even makes overhead reportable.

23 years ago[PATCH] remove task_cache entirely
Andrew Morton [Fri, 18 Jul 2003 02:26:01 +0000 (19:26 -0700)]
[PATCH] remove task_cache entirely

From: Manfred Spraul <manfred@colorfullife.com>

kernel/fork.c contains a disabled cache for task stuctures.  task
structures are placed into the task cache only if "tsk==current", and
"tsk==current" is impossible.  There is even a WARN_ON against that in
__put_task_struct().

So remove it entirely - it's dead code.

One problem is that order-1 allocations are not cached per-cpu - we can
use kmalloc for the stack.

23 years ago[PATCH] is_devfsd_or_child() deadlock fix
Andrew Morton [Fri, 18 Jul 2003 02:25:55 +0000 (19:25 -0700)]
[PATCH] is_devfsd_or_child() deadlock fix

From: Andrey Borzenkov <arvidjaar@mail.ru>

The code that did proper check existed in 2.4 and was removed in 2.5 for
whatever reason. The patch restores it slightly modified as below.

2.4 code looks somewhat unclean in that

- it traverses task list without lock.

- it starts from current->real_parent but nothing prevents current be
  init_task itself.  This hung for me on 2.5 during boot.  May be 2.4 does
  something differently.

23 years ago[PATCH] pass regs into dump_fpu() in elf coredump
Andrew Morton [Fri, 18 Jul 2003 02:25:46 +0000 (19:25 -0700)]
[PATCH] pass regs into dump_fpu() in elf coredump

From: Pete Zaitcev <zaitcev@redhat.com>

sparc32 needs the registers passed into dump_fpu().

23 years ago[PATCH] ioctl(BLKBSZSET) fix and cleanup
Andrew Morton [Fri, 18 Jul 2003 02:25:39 +0000 (19:25 -0700)]
[PATCH] ioctl(BLKBSZSET) fix and cleanup

From: Lou Langholtz <ldl@aros.net>

- set_blocksize() already does those size checks.

- test the set_blocksize() return value: it can fail if the requested
  blocksize is less that the hard sector size.

23 years ago[PATCH] Ext3 xattr credits fix for quotas
Andrew Morton [Fri, 18 Jul 2003 02:25:31 +0000 (19:25 -0700)]
[PATCH] Ext3 xattr credits fix for quotas

From: Andreas Gruenbacher <agruen@suse.de>

The xattr and acl code are not properly reserving credits for quotas.
EXT3_DATA_TRANS_BLOCKS is an overestimate of the credits required including
quotas.  Make it a little more tight, and use it in the xattr and acl code
to be quota safe.

23 years ago[PATCH] ext3 extended attribute fixes
Andrew Morton [Fri, 18 Jul 2003 02:25:23 +0000 (19:25 -0700)]
[PATCH] ext3 extended attribute fixes

From: Andreas Gruenbacher <agruen@suse.de>

- Fix transaction credit exhaustion BUG.

- ext3_journal_get_write_access_credits failures break out of the loop in
  1058, so <ce> is not released properly.

- <credits> must be reset after journal_release_buffer() in line 1072.

23 years ago[PATCH] parport_pc.c compile warning
Andrew Morton [Fri, 18 Jul 2003 02:25:16 +0000 (19:25 -0700)]
[PATCH] parport_pc.c compile warning

From: Shane Shrybman <shrybman@sympatico.ca>

This fixes the following warning:

drivers/parport/parport_pc.c:98: warning: `verbose_probing' defined but
not used

23 years ago[PATCH] misc fixes
Andrew Morton [Fri, 18 Jul 2003 02:25:07 +0000 (19:25 -0700)]
[PATCH] misc fixes

- i460-agp linkage fix ("Luck, Tony" <tony.luck@intel.com>)

- Don't reimplement offsetof() in hfs

- NBD warning fix

- Remove unneeded null-pointer test in journal_stop (Andreas Gruenbacher)

- remove debug stuff in journal_dirty_metadata()

- slab.c typo fixes (Lev Makhlis <mlev@despammed.com>)

- In devfs_mk_cdev() error path, don't print `buf' until we've written
  something into it.  (Reported by Gergely Nagy <algernon@gandalph.mad.hu>)

- Two ISA sound drivers had their kmalloc() args reversed (Spotted by Steve
  French)

23 years ago[PATCH] Allow LBD on architectures that support it
Andrew Morton [Fri, 18 Jul 2003 02:25:00 +0000 (19:25 -0700)]
[PATCH] Allow LBD on architectures that support it

From: Milton Miller <miltonm@bga.com>

Enable the CONFIG_LBD option for the architectures which appear to support
it.

It is not actually tested for those architectures, but it's not likely to
be unless we do this...

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Thu, 17 Jul 2003 08:58:33 +0000 (01:58 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

23 years ago[PATCH] USB: better locking in hcd_endpoint_disable()
David Brownell [Thu, 17 Jul 2003 08:45:30 +0000 (01:45 -0700)]
[PATCH] USB: better locking in hcd_endpoint_disable()

You'll recall there was a change to the locking in that code after
it was submitted.  This is a better fix to that issue.

"Obviously correct", though I've not run with this in ages.

23 years ago[PATCH] USB: fix race between probe and open in dabusb
Oliver Neukum [Thu, 17 Jul 2003 07:47:19 +0000 (00:47 -0700)]
[PATCH] USB: fix race between probe and open in dabusb

the driver is registering the device too early, so that open may
see a partially initialised device.

23 years ago[PATCH] USB: unlink interrupt URBs in scanner driver
Henning Meier-Geinitz [Thu, 17 Jul 2003 07:46:56 +0000 (00:46 -0700)]
[PATCH] USB: unlink interrupt URBs in scanner driver

Clean up irq urb when not enough memory is available.

23 years ago[PATCH] USB: Handle over current inputs on all Intel controllers
Alan Stern [Thu, 17 Jul 2003 07:46:26 +0000 (00:46 -0700)]
[PATCH] USB: Handle over current inputs on all Intel controllers

This patch for the UHCI driver changes the test for over current inputs,
which can cause false Resume indications with some of Intel's USB
controllers.  Previously the code only checked for one specific controller
chip, but now another one has turned up that exhibits the same flaw.  It
seems best just to check for Intel being the manufacturer, especially
since it doesn't hurt to check for the condition when it isn't present or
is only temporary.

23 years ago[PATCH] Fix up unattended nfs3/krb5 mounts
Jasper Spaans [Thu, 17 Jul 2003 05:10:40 +0000 (22:10 -0700)]
[PATCH] Fix up unattended nfs3/krb5 mounts

The patch from Frank was missing the auth flavor argument to
nfs_sb_init().  Trivial fix follows.

[ Side note: the code mixes the spellings 'flavor' and 'flavour', which
  is somewhat confusing.  That should probably be fixed to avoid confusion. ]

23 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Thu, 17 Jul 2003 04:13:57 +0000 (21:13 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] sound/oss/ad1816.c update
Thorsten Knabe [Thu, 17 Jul 2003 03:48:44 +0000 (20:48 -0700)]
[PATCH] sound/oss/ad1816.c update

This fixes various problems with the AD1816 sound driver:

 - Compilation errors with CONFIG_PNP enabled fixed.
 - PNP specific code rewritten.
 - SMP fixes.
 - DMA resource handling fixes.
 - Other minor code cleanup.

23 years ago[PATCH] remove all #include <blk.h>'s
Adrian Bunk [Thu, 17 Jul 2003 03:43:53 +0000 (20:43 -0700)]
[PATCH] remove all #include <blk.h>'s

This causes blk.h to print a warning and removes all uses of blk.h.
I've tested the compilation in 2.6.0-test1 with a .config that tries to
compile as many drivers as possible.

23 years ago[PATCH] s390: siginfo_t for s390x.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:59 +0000 (20:34 -0700)]
[PATCH] s390: siginfo_t for s390x.

Correct size of siginfo_t for s390x (from 136 to 128).

23 years ago[PATCH] s390: qeth network driver.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:52 +0000 (20:34 -0700)]
[PATCH] s390: qeth network driver.

 - Reset netdevice to defaults in offline processing.
 - Fix checksumming.
 - Fix routing status display.
 - Get rid of _ccw_device_get_device_number in qeth.
 - Inline some functions to save stack space.

23 years ago[PATCH] s390: common i/o layer.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:44 +0000 (20:34 -0700)]
[PATCH] s390: common i/o layer.

 - Fix two memory leaks.
 - Clear pending status in cio_enable_subchannel.
 - Don't call device_unregister from interrupt context.
 - Fix refcounting problems on static device structures for the ccw console.
 - Delete timeouts for qdio after successful startup.

23 years ago[PATCH] s390: dasd driver.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:35 +0000 (20:34 -0700)]
[PATCH] s390: dasd driver.

Remove put_disk from dasd_destroy_partitions. This is done in dasd_free_device.

23 years ago[PATCH] s390: irq stats.
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:28 +0000 (20:34 -0700)]
[PATCH] s390: irq stats.

Enable irq statistics for s390*. We defined NR_IRQS to 2, one for all i/o
interrupts and one for all external interrupts.

23 years ago[PATCH] s390: arch update
Martin Schwidefsky [Thu, 17 Jul 2003 03:34:19 +0000 (20:34 -0700)]
[PATCH] s390: arch update

 - New default configuration.
 - Fix get_tv32/put_tv32.
 - Replace generic dma-mapping file with empty one.
 - Remove wrong comment from dma.h.

23 years ago[PATCH] Allow unattended nfs3/krb5 mounts
Frank Cusack [Thu, 17 Jul 2003 03:28:19 +0000 (20:28 -0700)]
[PATCH] Allow unattended nfs3/krb5 mounts

The comment in nfs_get_root() basically describes the patch:

    Some authentication types (gss/krb5, most notably)
    are such that root won't be able to present a
    credential for GETATTR (ie, getroot()).

An easy way (ie, without this patch) to have unattended mounts is to
have a root/host@REALM (or similar) principal stashed in a keytab, which
root (rather, gssd) can use.  However, this might not be desirable for
many sites.  In any case, RFC2623 specifically describes the problem
addressed here.

Notes:

- Root inode gets inum of 1.  This doesn't seem to matter, but may be
  aesthetically unpleasing.  I wanted to choose an inum unlikely to
  conflict with an existing inum (although NFS has specific support
  for that).  It looks like more work than it's worth to change the
  inum after the info is available.  AFAICT it's not critical info.

- Solaris has this "wierd" (but understandable)  behavior that after
  mounting without a credential, the mount point is not visible at all
  until an access is attempted with a credential.  This now-you-see-it-
  now-you-don't behavior doesn't seem worthwhile to reproduce here.

- Unfortunately, MOUNT_VERSION must go to 5.  Some kernels with ver 4
  do not understand pseudoflavor.  Keeping it at 4 means that the
  userland mount can't know for sure whether the kernel accepted the
  option or not.  (Unless I'm missing some hack that could be done.)

It works in my environment, against a netapp server (with the rpcsec_gss
patch I provided earlier).

23 years ago[PATCH] Fix rpc_setbufsize() usage
Frank Cusack [Thu, 17 Jul 2003 03:28:11 +0000 (20:28 -0700)]
[PATCH] Fix rpc_setbufsize() usage

 - fix null dereference on xprt->inet if (!connected), which happens if
   a rpc cred wasn't available (root+auth_gss case)
 - set bufsize on reconnect

23 years ago[PATCH] rpcsec_gss compatibility
Frank Cusack [Thu, 17 Jul 2003 03:28:03 +0000 (20:28 -0700)]
[PATCH] rpcsec_gss compatibility

start gss seq no at 1; netapp doesn't accept seq no 0.

Just as a data point, Solaris 9 client uses initial seq. no. 2.

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 17 Jul 2003 03:24:28 +0000 (20:24 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Thu, 17 Jul 2003 03:23:06 +0000 (20:23 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoPPC32: Change mm_segment_t definitions to simplify the code.
Paul Mackerras [Thu, 17 Jul 2003 23:43:31 +0000 (09:43 +1000)]
PPC32: Change mm_segment_t definitions to simplify the code.

23 years agoPPC32: Make FP exceptions enabled by default.
Paul Mackerras [Thu, 17 Jul 2003 23:41:17 +0000 (09:41 +1000)]
PPC32: Make FP exceptions enabled by default.

23 years agoPPC32: PCI mapping fixes for non-cache-coherent PPC machines.
Paul Mackerras [Thu, 17 Jul 2003 23:39:45 +0000 (09:39 +1000)]
PPC32: PCI mapping fixes for non-cache-coherent PPC machines.

23 years agoPPC32: Remove unused fields from irq_cpustat_t.
Paul Mackerras [Thu, 17 Jul 2003 23:34:47 +0000 (09:34 +1000)]
PPC32: Remove unused fields from irq_cpustat_t.

23 years ago[PATCH] Update Technisat Skystar2 DVB driver
Michael Hunold [Thu, 17 Jul 2003 03:10:19 +0000 (20:10 -0700)]
[PATCH] Update Technisat Skystar2 DVB driver

This is a follow-up patch to my latest patch series.  It fixes the
problems and flaws Greg KH pointed out.

There was a typo in the Makefile, so the driver was never compiled.  But
I assumed that it built without errors.  Doh!

 - update the Technisat Skystar2 driver:
         - follow kernel coding rules, change comments
         - change function return values from u32 to int where possible
         - make all functions static
         - comment out unused functions
         - fix return values of functions to follow kernel rules
         - removed bogus delay, read and write functions

23 years ago[PATCH] Add two drivers for USB based DVB-T adapters
Michael Hunold [Thu, 17 Jul 2003 03:10:12 +0000 (20:10 -0700)]
[PATCH] Add two drivers for USB based DVB-T adapters

 - add two new usb dvb drivers:
   o dvb-ttusb-budget.c for Technotrend/Hauppauge Nova-USB devices
     (Thanks to Holger Waechtler <holger@convergence.de> and elix Domke
     <tmbinc@gmx.net>)
   o dvb-ttusb-dec.c for Technotrend/Hauppauge USB DEC2000-T devices
     (Thanks to Alex Woods <linux-dvb@giblets.org>)

23 years ago[PATCH] Update the av7110 DVB driver
Michael Hunold [Thu, 17 Jul 2003 03:10:04 +0000 (20:10 -0700)]
[PATCH] Update the av7110 DVB driver

 - fix DMX_GET_STC to get the msb right
 - follow changes in saa7146 driver core, separate some data for DVB-C
   and DVB-S cards

23 years ago[PATCH] Update various other frontend drivers
Michael Hunold [Thu, 17 Jul 2003 03:09:55 +0000 (20:09 -0700)]
[PATCH] Update various other frontend drivers

 - In alps_tdlb7.c read SP8870 status reg to clear pending irqs in
   FE_SET_FRONTEND, as suggested by Ragnar Sundblad to avoid frontend
   hang-ups.
 - the vp310 support in mt312.c support should be configured to 90Mhz,
   too.  skystar2 driver with bugfixed master_xfer() should probably
   work now.

23 years ago[PATCH] Add TDA14500x DVB-T frontend driver
Michael Hunold [Thu, 17 Jul 2003 03:09:47 +0000 (20:09 -0700)]
[PATCH] Add TDA14500x DVB-T frontend driver

 - tda1004x DVB-T driver contributed by Andrew de Quincy and Robert
   Schlalach

23 years ago[PATCH] More updates for the dvb core
Michael Hunold [Thu, 17 Jul 2003 03:09:40 +0000 (20:09 -0700)]
[PATCH] More updates for the dvb core

23 years ago[PATCH] Add two drivers for Hexium frame grabber cards
Michael Hunold [Thu, 17 Jul 2003 03:09:33 +0000 (20:09 -0700)]
[PATCH] Add two drivers for Hexium frame grabber cards

 - add drivers for the Orion and Gemini frame grabber cards, based on
   the saa7146.  For details, see http://www.hexium.hu/.  Thanks to
   Michael Hunold <michael@mihu.de>.

23 years ago[PATCH] Add a driver for the Technisat Skystar2 DVB card
Michael Hunold [Thu, 17 Jul 2003 03:09:24 +0000 (20:09 -0700)]
[PATCH] Add a driver for the Technisat Skystar2 DVB card

 - add DVB driver for Technisat Skystar2 card, which is based on the
   FlexCop2 chipset by B2C2

23 years ago[PATCH] Various kconfig and Makefile updates
Michael Hunold [Thu, 17 Jul 2003 03:09:14 +0000 (20:09 -0700)]
[PATCH] Various kconfig and Makefile updates

23 years ago[PATCH] More saa7146 driver core updates
Michael Hunold [Thu, 17 Jul 2003 03:09:07 +0000 (20:09 -0700)]
[PATCH] More saa7146 driver core updates

 - separate all EXPORT_SYMBOL stuff to saa7146_ksyms.c
 - properly stop capturing when no more buffers are available (missing
   register upload)
 - make extension data a per-device member, not a per-extension member,
   so that every device can have it's own private data (necessary for
   DVB drivers which handle more than one device)
 - implement field based capturing, ie.  capturing fields to different
   capture buffers
 - change default old of capture fields for ALTERNATE mode (comply with
   bttv)
 - follow these changes in various analog saa7146 based cards drivers
   (mxb.c and dpc7146.c)
 - follow these changes in various saa7146 based budget card drivers

23 years ago[PATCH] Update the DVB av7110 driver
Michael Hunold [Thu, 17 Jul 2003 03:08:58 +0000 (20:08 -0700)]
[PATCH] Update the DVB av7110 driver

 - Fix to 'Sharing SDRAM between TT re-insertion and OSD...' - OSD
   didn't get the maximum available memory in one piece; needs new
   firmware version 0x2616
 - Improved performance when setting palette with full 256 color OSD
 - read MAC from EEPROM if available, contributed by Michael Glaum
   <mglaum@kvh.com>
 - add some MODULE_PARM_DESC for modinfo
 - add support for the "analog module" available for DVB-C cards: the
   saa7113 is initialized and some more v4l2 ioctls are available.  you
   can use "xawtv" now to switch between "dvb" and "analog" input.  when
   you are one the "analog" input, you can tune in analog channels.

23 years ago[PATCH] Update the DVB budget drivers
Michael Hunold [Thu, 17 Jul 2003 03:08:49 +0000 (20:08 -0700)]
[PATCH] Update the DVB budget drivers

 - follow changes in dvb_net, use new eeprom parse code to properly
   detect the mac
 - add new subvendor/subystem id pair

23 years ago[PATCH] Add Zarlink MT312 DVB-T frontend driver
Michael Hunold [Thu, 17 Jul 2003 03:08:40 +0000 (20:08 -0700)]
[PATCH] Add Zarlink MT312 DVB-T frontend driver

 - Zarlink MT312 satellite channel decoder driver contributed by Andreas
   Oberritter

23 years ago[PATCH] Update dvb frontend drivers
Michael Hunold [Thu, 17 Jul 2003 03:08:31 +0000 (20:08 -0700)]
[PATCH] Update dvb frontend drivers

 - grundig_29504-401.c: fix charge pump and band switch setting bug,
   caught by Robert Schlabbach <robert_s@gmx.net>
 - grundig_29504-401.c: pass apply_frontend_param() return value to
   upper layers
 - grundig_29504-401.c: try to make a more specific detection mechanism
 - grundig_29504-491.c:remove bogus out-of-range check, FEC table index
   is limited to 0...7 due to &= ~0x03 anyway...
 - nxt6000.c: Patch by Paul Andreassen: Add Support for Comtech
   DVBT-6k07 (PLL IC: SP5730)
 - ves1820.c: use Robert Schlabbach's suggestions for CLKCONF (0x03) and
   CARCONF (0x04)
 - alps_bsrv2.c: don't enable voltage on init + inversion bugfix

23 years ago[PATCH] Major dvb net code cleanup, many fixes
Michael Hunold [Thu, 17 Jul 2003 03:08:25 +0000 (20:08 -0700)]
[PATCH] Major dvb net code cleanup, many fixes

 - code review and fix the old race condition in dev->set_multicast_list
 - use tq_schedule instead of tq_immediate
 - remove card_num and dev_num from struct dvb_net (now obsolete)
 - prevent interface from being removed while it is in use
 - allow add/remove only for the superuser
 - set check-CRC flag on section filter to drop broken packets
 - some more debug printfs in filter handling code
 - cleaned up and commented packet reception handler
 - fix formatting

23 years ago[PATCH] Various small fixes in dvb-core
Michael Hunold [Thu, 17 Jul 2003 03:08:16 +0000 (20:08 -0700)]
[PATCH] Various small fixes in dvb-core

 - indentation fixes in dvb_demux.c
 - include cleanup in various files
 - simplify dvb/ttpci/Makefile

23 years ago[PATCH] Update the saa7146 driver core
Michael Hunold [Thu, 17 Jul 2003 03:08:09 +0000 (20:08 -0700)]
[PATCH] Update the saa7146 driver core

 - fix WRITE_RPS0 and WRITE_RPS1 inlines, fix usage in mxb and budget
   drivers
 - export "saa7146_start_preview" and "saa7146_stop_preview" to allow
   drivers to start and stop video overlay (necessary for analog module
   support in the av7110 driver)
 - fix i2c implementation: some frontend drivers transfer a huge amount
   of firmware data (> 30kB), speed up the transmission by busy waiting
   between byte transfers for bigger transmissions
 - change ioctl function in various driver to accept a saa7146
   filehandle instead of a saa714 device structure

23 years ago[PATCH] Incorrect timeout in CDROM_SEND_PACKET ioctl
Peter Osterlund [Thu, 17 Jul 2003 02:56:07 +0000 (19:56 -0700)]
[PATCH] Incorrect timeout in CDROM_SEND_PACKET ioctl

The CDROM_SEND_PACKET ioctl passes a struct cdrom_generic_command from
user space, which contains a timeout field.

The timeout is measured in jiffies, but the conversion from user to
kernel jiffies is missing, which makes the timeout 10 times shorter than
it should be in 2.5 kernels on x86.  This causes CDRW formatting with
cdrwtool to fail.  The following patch fixes this problem.

23 years ago[PATCH] make clean should remove usr/initramfs_data.S
Mikael Pettersson [Thu, 17 Jul 2003 02:55:59 +0000 (19:55 -0700)]
[PATCH] make clean should remove usr/initramfs_data.S

The kernel build leaves a temp file in linux/usr/ that make clean
doesn't remove.  Fixed in the patch below.

23 years agoAdd "clock_t_to_jiffies()" conversion function with
Linus Torvalds [Thu, 17 Jul 2003 02:54:52 +0000 (19:54 -0700)]
Add "clock_t_to_jiffies()" conversion function with
some rather minimal overflow protection.

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 17 Jul 2003 02:16:01 +0000 (19:16 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Thu, 17 Jul 2003 02:15:31 +0000 (19:15 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] fix emu10k1 removal oops
Rudo Thomas [Thu, 17 Jul 2003 02:05:48 +0000 (19:05 -0700)]
[PATCH] fix emu10k1 removal oops

All of the cleanup functions in sound/oss/emu10k1/main.c were incorrectly
marked as __devinit. This little one fixes it, so that the module no longer
oopses when being removed.

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.5
Linus Torvalds [Thu, 17 Jul 2003 02:04:51 +0000 (19:04 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] Fix dma timeout bugs
Bartlomiej Zolnierkiewicz [Thu, 17 Jul 2003 02:03:48 +0000 (19:03 -0700)]
[PATCH] Fix dma timeout bugs

From Alexander Atanasov <alex@ssi.bg>

Fix DMA I/O and state machine fixes, error recovery

23 years ago[PATCH] fix IDE irq disable logic
Bartlomiej Zolnierkiewicz [Thu, 17 Jul 2003 01:59:19 +0000 (18:59 -0700)]
[PATCH] fix IDE irq disable logic

Since the IO-APIC irq disable fix went in we can now enable
the proper IRQ disabling in the IDE driver again. That had
been disabled due to the problems with UP IO-APIC.

23 years agoMerge http://linux-acpi.bkbits.net/linux-acpi
Linus Torvalds [Thu, 17 Jul 2003 01:55:35 +0000 (18:55 -0700)]
Merge http://linux-acpi.bkbits.net/linux-acpi
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoRevert PCI bus number size increase - it isn't even needed
Linus Torvalds [Thu, 17 Jul 2003 01:47:27 +0000 (18:47 -0700)]
Revert PCI bus number size increase - it isn't even needed
on 2.5+, since ppc64 can (and does) use the PCI domain numbers
for this instead.

The PCI domain support should be back-ported to 2.4.x rather
than having bigger PCI bus numbers.

Cset exclude: jgarzik@pobox.com|ChangeSet|20030714162217|61624

23 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Steve French [Wed, 16 Jul 2003 15:42:25 +0000 (10:42 -0500)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into steveft21.ltcsamba:/usr/src/bk/linux-2.5cifs

23 years agoFix inverted kmalloc parm ordering (noticed by Zwane) that caused oops on mounts...
Steve French [Wed, 16 Jul 2003 15:36:51 +0000 (10:36 -0500)]
Fix inverted kmalloc parm ordering (noticed by Zwane) that caused oops on mounts of long server names (reported on bugzilla).  Fix multiuser mount option.

23 years agoia64: If the compiler supports it, use attribute (model (small)) to
David Mosberger [Wed, 16 Jul 2003 12:44:13 +0000 (05:44 -0700)]
ia64: If the compiler supports it, use attribute (model (small)) to
tell the compiler that per-CPU variables can be addressed
with "addl".

On the simulator kernel, this saves about 2776 bytes in the
kernel image.  On a zx1 kernel, it saves about 5593 bytes.
As per-CPU variables are used more, these savings will
increase, of course.

23 years ago[PATCH] ia64: fix GENERIC compile
Jesse Barnes [Wed, 16 Jul 2003 09:14:46 +0000 (02:14 -0700)]
[PATCH] ia64: fix GENERIC compile

This will fix the generic compile by removing sn2 from the list of
targets, since it depends on the new discontig code, which hasn't gone
in yet.

23 years agoPPC32: Fix compilation of powermac CPU frequency switching support.
Paul Mackerras [Wed, 16 Jul 2003 08:05:16 +0000 (18:05 +1000)]
PPC32: Fix compilation of powermac CPU frequency switching support.

23 years agoPPC32: Eliminate duplicate variable declarations in arch/ppc/kernel/time.c
Paul Mackerras [Wed, 16 Jul 2003 07:54:50 +0000 (17:54 +1000)]
PPC32: Eliminate duplicate variable declarations in arch/ppc/kernel/time.c

23 years agoPPC32: Add SEMTIMEDOP. Patch from Anton Blanchard.
Paul Mackerras [Wed, 16 Jul 2003 07:49:57 +0000 (17:49 +1000)]
PPC32: Add SEMTIMEDOP.  Patch from Anton Blanchard.

23 years agoPPC32: Add some more system calls - tgkill, utimes, [f]statfs64.
Paul Mackerras [Wed, 16 Jul 2003 07:47:27 +0000 (17:47 +1000)]
PPC32: Add some more system calls - tgkill, utimes, [f]statfs64.

Patch from Anton Blanchard.  Also reserves a syscall for swapcontext
and updates the _syscallN macros.

23 years ago[PATCH] USB: Make sddr55 use proper I/O buffering
Alan Stern [Wed, 16 Jul 2003 03:16:36 +0000 (20:16 -0700)]
[PATCH] USB: Make sddr55 use proper I/O buffering

This patch makes the sddr55 subdriver use proper DMA I/O buffering.

23 years ago[PATCH] USB: I/O buffering for sddr09
Alan Stern [Wed, 16 Jul 2003 03:16:22 +0000 (20:16 -0700)]
[PATCH] USB: I/O buffering for sddr09

This patch makes the sddr09 subdriver use proper DMA I/O buffering.

23 years ago[PATCH] USB: usblcd: race between open and read/write
Oliver Neukum [Wed, 16 Jul 2003 03:15:18 +0000 (20:15 -0700)]
[PATCH] USB: usblcd: race between open and read/write

usblcd registers a device before all buffers are allocated leading
to a race resulting in NULL pointers being followed.
This fixes it.

23 years ago[PATCH] USB: ethernet gadget, another pxa update
David Brownell [Wed, 16 Jul 2003 03:12:14 +0000 (20:12 -0700)]
[PATCH] USB: ethernet gadget, another pxa update

  - #ifdefs out some code that never runs on the pxa
  - catches "alloc_etherdev Jihad" changes I somehow missed

23 years ago[PATCH] USB: fix race between probe and open in skeleton
Oliver Neukum [Wed, 16 Jul 2003 03:12:00 +0000 (20:12 -0700)]
[PATCH] USB: fix race between probe and open in skeleton

registering a device only partially initialised is quite bad an
idea.

23 years ago[PATCH] USB: fix irq urb in hpusbscsi
Oliver Neukum [Wed, 16 Jul 2003 03:11:48 +0000 (20:11 -0700)]
[PATCH] USB: fix irq urb in hpusbscsi

this fixes the completion handler for the interrupt urb in hpusbscsi.

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 16 Jul 2003 00:11:25 +0000 (10:11 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years ago[IPV4]: Do not use proto for route output in IPVS.
Wensong Zhang [Tue, 15 Jul 2003 23:32:36 +0000 (16:32 -0700)]
[IPV4]: Do not use proto for route output in IPVS.

23 years ago[IPV4]: Remove the unnecessay del_timer_sync call in IPVS connection expire.
Wensong Zhang [Tue, 15 Jul 2003 23:31:22 +0000 (16:31 -0700)]
[IPV4]: Remove the unnecessay del_timer_sync call in IPVS connection expire.

23 years ago[IPV4]: Add the defense timer for IPVS.
Wensong Zhang [Tue, 15 Jul 2003 23:29:20 +0000 (16:29 -0700)]
[IPV4]: Add the defense timer for IPVS.

23 years ago[IPV6]: Get reference to neigh/dev when building ndisc DST.
Hideaki Yoshifuji [Tue, 15 Jul 2003 22:44:00 +0000 (15:44 -0700)]
[IPV6]: Get reference to neigh/dev when building ndisc DST.

23 years agoMerge cheetah:src/BK/sparc-2.5
David S. Miller [Tue, 15 Jul 2003 20:18:49 +0000 (13:18 -0700)]
Merge cheetah:src/BK/sparc-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years ago[SPARC64]: Fix assumptions about data section ordering and objects ending up in ...
David S. Miller [Tue, 15 Jul 2003 20:08:17 +0000 (13:08 -0700)]
[SPARC64]: Fix assumptions about data section ordering and objects ending up in .data vs .bss

23 years ago[SPARC64]: Fix pbus->sysdata interpretation in pci_domain_nr().
David S. Miller [Tue, 15 Jul 2003 18:19:19 +0000 (11:19 -0700)]
[SPARC64]: Fix pbus->sysdata interpretation in pci_domain_nr().

23 years agoia64: Put per-CPU data into .data.percpu section both for UP and MP.
David Mosberger [Tue, 15 Jul 2003 17:34:08 +0000 (10:34 -0700)]
ia64: Put per-CPU data into .data.percpu section both for UP and MP.
This ensures that per-CPU data is "addl"-addressable even
on UP.

23 years ago[SUNKBD]: Mark reset/layout as volatile.
Ricky Beam [Tue, 15 Jul 2003 16:40:57 +0000 (09:40 -0700)]
[SUNKBD]: Mark reset/layout as volatile.

23 years ago[SERIAL]: Do not use serio->private to track serio open status in sun drivers.
Rob Radez [Tue, 15 Jul 2003 16:25:30 +0000 (09:25 -0700)]
[SERIAL]: Do not use serio->private to track serio open status in sun drivers.

Issue discovered by Ricky Beam (jfbeam@bluetronic.net).