]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] USB: more ftdi devices
Jan Capek [Wed, 14 Apr 2004 02:56:46 +0000 (19:56 -0700)]
[PATCH] USB: more ftdi devices

21 years ago[PATCH] USB speedtouch: bump the version number
Duncan Sands [Wed, 14 Apr 2004 02:51:12 +0000 (19:51 -0700)]
[PATCH] USB speedtouch: bump the version number

Hi Greg, this patch bumps the speedtouch driver's version number.
It also adds the version number to the module description, so people
can see it with modinfo.  I also added a MODULE_VERSION line (why?
because it was there...)  The patch is against your 2.6 kernel tree.

21 years ago[PATCH] USB speedtouch: fix memory leak in error path
Duncan Sands [Wed, 14 Apr 2004 02:50:29 +0000 (19:50 -0700)]
[PATCH] USB speedtouch: fix memory leak in error path

Hi Greg, this patch fixes a memory leak in the speedtouch driver.
The leak occurs when the ATM layer submits a skbuff for transmission,
but the driver rejects it (because the device has been unplugged for
example).  The ATM layer requires the driver to free the skbuff in this
case.  The patch is against your 2.6 kernel tree.

21 years ago[PATCH] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set
Duncan Sands [Wed, 14 Apr 2004 02:49:54 +0000 (19:49 -0700)]
[PATCH] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

Hi Greg, this causes the speedtouch driver to output non-verbose
debugging messages if the kernel was configured with CONFIG_USB_DEBUG.
The patch is against your 2.6 kernel tree.

22 years ago[PATCH] USB: New ID for ftdi_sio
Luca Tettamanti [Mon, 12 Apr 2004 09:38:31 +0000 (02:38 -0700)]
[PATCH] USB: New ID for ftdi_sio

Hi,
I have an USB contactless reader which uses a FTDI chip. It works well with the
 current ftdi_sio driver, it's just a matter of adding an ID:

22 years ago[PATCH] USB: Updated unusual_dev.h entry
Alan Stern [Fri, 9 Apr 2004 04:29:48 +0000 (21:29 -0700)]
[PATCH] USB: Updated unusual_dev.h entry

On Thu, 8 Apr 2004, Marcin Juszkiewicz wrote:

> usb-storage: This device (054c,0025,0100 S 04 P 01) has unneeded SubClass and
> Protocol entries in unusual_devs.h

Thank you for sending this in.

22 years agoUSB: fix empty write issue in pl2303 driver.
Greg Kroah-Hartman [Thu, 8 Apr 2004 07:37:52 +0000 (00:37 -0700)]
USB: fix empty write issue in pl2303 driver.

Patch originally from Christian Groessler <cpg@aladdin.de> but cleaned up
by me.

22 years agoUSB: fix pl2303 handling of status bits.
Greg Kroah-Hartman [Thu, 8 Apr 2004 07:37:07 +0000 (00:37 -0700)]
USB: fix pl2303 handling of status bits.

Patch originally from Kevin Watkins <kw@cmu.edu>

22 years ago[PATCH] USB: fix up previous sysfs patch to actually compile...
Greg Kroah-Hartman [Wed, 7 Apr 2004 09:53:03 +0000 (02:53 -0700)]
[PATCH] USB: fix up previous sysfs patch to actually compile...

22 years ago[PATCH] USB: add missing usb entries to sysfs
Robert Love [Wed, 7 Apr 2004 09:52:34 +0000 (02:52 -0700)]
[PATCH] USB: add missing usb entries to sysfs

We have found in the course of hacking on HAL that some information that
is in /proc/bus/usb/devices is not in sysfs.  It would be nice to rely
only on sysfs, so the attached patch adds three files to usb devices in
sysfs: devnum, maxChild, and version.

This patch is actually by David Zuethen, the HAL maintainer - I told him
I would clean it up and get it upstream.

22 years ago[PATCH] USB: fix xsane breakage, hangs on device scan at launch
David Brownell [Wed, 7 Apr 2004 09:52:02 +0000 (02:52 -0700)]
[PATCH] USB: fix xsane breakage, hangs on device scan at launch

Disable a usbfs disconnect() synchronization hack, which recently
started deadlocking because this routine is now called in a different
context.

It shouldn't be needed any longer now that usbcore shuts down endpoints
as part of driver unbinding.  (Except maybe on UHCI, which will have
canceled but not necessarily completed all requests.)

22 years ago[PATCH] USB: retry some descriptor fetches
David Brownell [Wed, 7 Apr 2004 09:51:28 +0000 (02:51 -0700)]
[PATCH] USB: retry some descriptor fetches

This helps Linux handle certain enumeration problems better,
by retrying most stalled descriptor fetches; on some devices,
those indicate temporary problems.  This match makes at least
one such (old) device enumerate reliably.

22 years ago[PATCH] USB: usbcore blinkenlights
David Brownell [Fri, 2 Apr 2004 04:23:30 +0000 (20:23 -0800)]
[PATCH] USB: usbcore blinkenlights

The per-port LEDs on the most USB 2.0 hubs are programmable.
And the USB spec describes some ways to use them, blinking
to alert users about hardware (amber) or software (green)
problems.

This patch is the infrastructure for that blinking.  And
if you should happen to "modprobe usbcore blinkenlights",
the LEDs will cycle through all the ports ... which is
not a USB-standard mode, but it can certainly handy be
handy as a system heartbeat visible across the room.

22 years ago[PATCH] USB Gadget: ethernet/rndis gadget updates
David Brownell [Fri, 2 Apr 2004 01:57:49 +0000 (17:57 -0800)]
[PATCH] USB Gadget: ethernet/rndis gadget updates

This fixes an oops during "ifconfig usb0 down" after unplug
from a Windows box.  It also shrinks the driver size to something
much more reasonable by leaving out debug messaging, and adds
a few missing newlines.

22 years ago[PATCH] USB: ehci updates: CONFIG_PCI, integrated TT
David Brownell [Fri, 2 Apr 2004 01:56:28 +0000 (17:56 -0800)]
[PATCH] USB: ehci updates:  CONFIG_PCI, integrated TT

Generalize the driver a bit:

 - PCI-specific handling is restricted to a small chunk of
   init code.  Non-PCI implementations are in the pipeline.

 - Merge support from ARC International (Craig Nadler) for
   their integrated root hub transaction translators (on PCI).
   Other implementations should be similar.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Wed, 31 Mar 2004 06:27:14 +0000 (22:27 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/usb-2.6

22 years agoUSB: add usb_get_intf() and usb_put_intf() functions as they will be needed.
Greg Kroah-Hartman [Wed, 31 Mar 2004 06:17:38 +0000 (22:17 -0800)]
USB: add usb_get_intf() and usb_put_intf() functions as they will be needed.

22 years agoUSB: clean up usb_get_dev() as it was written quite horribly.
Greg Kroah-Hartman [Wed, 31 Mar 2004 06:08:01 +0000 (22:08 -0800)]
USB: clean up usb_get_dev() as it was written quite horribly.

22 years agoUSB: remove "released" field from struct usb_interface as it is not needed.
Greg Kroah-Hartman [Wed, 31 Mar 2004 05:46:06 +0000 (21:46 -0800)]
USB: remove "released" field from struct usb_interface as it is not needed.

22 years ago[PATCH] USB: remove usb_interface.driver field
David Brownell [Wed, 31 Mar 2004 05:35:04 +0000 (21:35 -0800)]
[PATCH] USB: remove usb_interface.driver field

Remove usb_interface.driver, and along with it the "half bound" state
previously associated with drivers binding with claim() instead of probe().
This changes usb_driver_claim_interface() semantics slightly: drivers must
now be prepared to accept disconnect() callbacks.

Fixes more locking bugs, and a claim() oops that snuck in with a
recent patch.

22 years ago[PATCH] USB: RNDIS/Ethernet Gadget Driver .inf file
David Brownell [Wed, 31 Mar 2004 05:34:31 +0000 (21:34 -0800)]
[PATCH] USB: RNDIS/Ethernet Gadget Driver .inf file

22 years ago[PATCH] USB Gadget: Rename the dummy_hcd's gadget
Alan Stern [Wed, 31 Mar 2004 05:09:56 +0000 (21:09 -0800)]
[PATCH] USB Gadget: Rename the dummy_hcd's gadget

When David added an entry to the gadget_chips.h file for the dummy_hcd
driver, he mistakenly used the name "dummy_udc" rather than "dummy_hcd".
The mistake is understandable, since other controllers use "_udc" in their
names and it is illogical to put "_hcd" in a _device_ controller's name.

This patch updates the dummy_hcd driver and changes the gadget name to
agree with the gadget_chips.h entry.

22 years ago[PATCH] USB: Complete all URBs in UHCI when releasing the bus
Alan Stern [Wed, 31 Mar 2004 05:09:35 +0000 (21:09 -0800)]
[PATCH] USB: Complete all URBs in UHCI when releasing the bus

This patch changes the UHCI driver's bus-release routine; now it will
correctly finish all pending but not-yet-completed URBs.  This fixes a
reported bug, when trying to rmmod uhci-hcd while using a USB mouse under
X.  Also, the patch changes a variable name from ...hs... to ...fs...
("high speed" -> "full speed") -- something I accidentally omitted in an
earlier patch.

22 years ago[PATCH] USB Gadget: Use automatic endpoint selection in file-storage
Alan Stern [Wed, 31 Mar 2004 05:09:04 +0000 (21:09 -0800)]
[PATCH] USB Gadget: Use automatic endpoint selection in file-storage

This patch imports the endpoint auto-config library into the file-storage
gadget, simplifying the code needed for endpoint selection and removing
almost all dependencies on the controller type from the driver.  It also
changes some log messages for reporting fatal problems from INFO to ERROR.

22 years ago[PATCH] USB Gadget: Use configuration-buffer library in file-storage
Alan Stern [Wed, 31 Mar 2004 05:08:35 +0000 (21:08 -0800)]
[PATCH] USB Gadget: Use configuration-buffer library in file-storage

This patch imports the config-buffer library into the file-storage gadget,
simplifying and decreasing the amount of code needed for assembling
configuration descriptors.  It also changes the driver to remove any
pretense at bus-powered operation and to use the new DUALSPEED
configuration option.  This is in line with recent changes made to other
gadget drivers.

22 years ago[PATCH] double semicolon cleanup
Alexander Stohr [Wed, 31 Mar 2004 00:48:12 +0000 (16:48 -0800)]
[PATCH] double semicolon cleanup

This cleans up a larger amount of superfluos ";;" statements in current
Linux kernel sources by converting them to the regular single ";"
statments.

It seems to be a common problem that at the end of a line the semicolon
key is producing an echo.

22 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Wed, 31 Mar 2004 00:35:48 +0000 (16:35 -0800)]
Merge http://linux-sound.bkbits.net/linux-sound
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ppc64: clean up virtual <-> absolute code
Andrew Morton [Wed, 31 Mar 2004 00:34:59 +0000 (16:34 -0800)]
[PATCH] ppc64: clean up virtual <-> absolute code

From: Anton Blanchard <anton@samba.org>
      Rusty Russell <rusty@rustcorp.com.au>

The iSeries has an arch-specific mapping from physical <-> absolute
addresses.  Fortunately this is only used in a few places.  However, the
following arch-specific macros/functions are provided in addition to the
standard macros:

__a2p()
__a2v()
__p2a()
__p2v()
__v2a()
__v2p()
absolute_to_phys()
phys_to_absolute()
virt_to_absolute()
absolute_to_virt()

Reduce them to these, with slightly shorter names, and taking either pointers
or unsigned long (as per __va and __pa) rather than making the caller cast:

abs_to_phys()
phys_to_abs()

And helper macros:

virt_to_abs()
abs_to_virt()

As is standard, virtual addresses are returned as void *, physical and
absolute as unsigned long.

Note that the change the iSeries_setup is a little subtle: ea is set to
__va(pa) above, so "phys_to_abs(pa)" is the same as "virt_to_abs(ea)".

Also, REALADDR is renamed to ISERIES_HV_ADDR and used in a couple of places
where appropriate.

22 years ago[PATCH] ppc64: make iSeries boot mostly
Andrew Morton [Wed, 31 Mar 2004 00:34:47 +0000 (16:34 -0800)]
[PATCH] ppc64: make iSeries boot mostly

From: Anton Blanchard <anton@samba.org>
      Stephen Rothwell <sfr@canb.auug.org.au>

This patch just ensures that the RI bit is set really early as it seems it
is not on iSeries Power4 machines (or maybe OS400 v5r3 does this).

22 years agoALSA - 1.0.4rc2
Jaroslav Kysela [Tue, 30 Mar 2004 13:47:50 +0000 (15:47 +0200)]
ALSA - 1.0.4rc2

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Tue, 30 Mar 2004 13:45:02 +0000 (15:45 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
au88x0 driver
Cleanups - removed duplicate PCI IDs

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Tue, 30 Mar 2004 13:19:58 +0000 (15:19 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
add usb_device->speed wrapper for compiling with 2.2.x kernels

22 years agoMerge suse.cz:/home/perex/bk/linux-sound/linux-2.5
Jaroslav Kysela [Tue, 30 Mar 2004 11:58:20 +0000 (13:58 +0200)]
Merge suse.cz:/home/perex/bk/linux-sound/linux-2.5
into suse.cz:/home/perex/bk/linux-sound/linux-sound

22 years agoFix serious naming problem.
Linus Torvalds [Tue, 30 Mar 2004 09:36:12 +0000 (01:36 -0800)]
Fix serious naming problem.

People were getting quite excited about this.

22 years ago[PATCH] USB: fix dvb-ttusb-budget driver due to set_configuration locking cleanups
David Brownell [Tue, 30 Mar 2004 09:18:44 +0000 (01:18 -0800)]
[PATCH] USB: fix dvb-ttusb-budget driver due to set_configuration locking cleanups

> Oops, you forgot to grep:
>
> CC [M]  drivers/media/dvb/ttusb-dec/ttusb_dec.o
> drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c: In function `ttusb_setup_interfaces':
> drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c:1011: warning: implicit declaration of function `usb_set_configuration'

Well, when I did the grep that bug wasn't there; it
was just integrated on Feb 26!

> Care to send a patch to fix it up before Andrew gets grumpy with me for
> breaking his build?  :)

The first part makes it use usb_reset_configuration() like
it did before ... I'm surprised this driver hasn't been
generating "it deadlocks during probe" reports.

The second part prints a diagnostic if the configuration
wasn't set right; the fix would use hotplug and sysfs.

22 years ago[PATCH] USB: w9968cf driver misplaced ;
Dave Jones [Tue, 30 Mar 2004 09:18:20 +0000 (01:18 -0800)]
[PATCH] USB: w9968cf driver misplaced ;

22 years ago[PATCH] back out sysfs reference count change
Greg Kroah-Hartman [Tue, 30 Mar 2004 08:53:19 +0000 (00:53 -0800)]
[PATCH] back out sysfs reference count change

This backs out Maneesh's sysfs patch that was recently added to the
kernel.

In its defense, the original patch did solve some fixes that could be
duplicated on SMP machines, but the side affect of the patch caused lots
of problems.  Basically it caused kobjects to get their references
incremented when files that are not present in the kobject are asked for
(udev can easily trigger this when it looks for files call "dev" in
directories that do not have that file).  This can cause easy oopses
when the VFS later ages out those old dentries and the kobject has its
reference finally released (usually after the module that the kobject
lived in was removed.)

I will continue to work with Maneesh to try to solve the original bug,
but for now, this patch needs to be applied.

22 years ago[PATCH] Alpha: UP1500 pci_mem fix
Richard Henderson [Tue, 30 Mar 2004 08:53:09 +0000 (00:53 -0800)]
[PATCH] Alpha: UP1500 pci_mem fix

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

The memory reserved for PCI probe is not freed properly in some cases,
for instance with a 3.5Gb of RAM.

Forward port from 2.4.

22 years ago[PATCH] USB: omninet patch
Alessandro Zummo [Tue, 30 Mar 2004 06:12:25 +0000 (22:12 -0800)]
[PATCH] USB: omninet patch

  here's a small patch for omninet.c .

22 years ago[PATCH] USB: Rename the USB HID driver
Marcel Holtmann [Tue, 30 Mar 2004 06:12:10 +0000 (22:12 -0800)]
[PATCH] USB: Rename the USB HID driver

> > I like to see this rename as soon as possible. So if nobody minds I send
> > a patch to LKML and ask Linus for inclusion.
>
> Go ahead, but also please patch all relevant documentation in the
> kernel.

the attached patch should do the renaming everywhere hid or hid.o was
mentioned. It also removes all references to *.o module names.

22 years ago[PATCH] USB: RNDIS/Ethernet Gadget Driver comment changes
David Brownell [Tue, 30 Mar 2004 06:11:48 +0000 (22:11 -0800)]
[PATCH] USB: RNDIS/Ethernet Gadget Driver comment changes

Whoops, I missed something.  You should apply this patch too.

The RNDIS spec license agreement does NOT require tacking any
GPL-incompatible restrictions on the results of _using_ the
spec:

   "... may be used solely for the purpose of implementing
    the RNDIS protocol message set to interface with ..."
   (the two cases identified in the text)

And that's all the implementation does -- end of story.

22 years ago[PATCH] USB: kill off CONFIG_USB_BRLVGER detritus.
Dave Jones [Tue, 30 Mar 2004 06:11:25 +0000 (22:11 -0800)]
[PATCH] USB: kill off CONFIG_USB_BRLVGER detritus.

This died a while ago, but lingers on in defconfigs.

22 years ago[PATCH] USB Storage: datafab fix and unusual devices
Andries E. Brouwer [Tue, 30 Mar 2004 06:11:00 +0000 (22:11 -0800)]
[PATCH] USB Storage: datafab fix and unusual devices

datafab.c has an often-seen bug: the SCSI READ_CAPACITY command
does not need the number of sectors but the last sector.

I just tried the CF and SM parts of a 5-in-1 card reader.
The CF part works with US_PR_DATAFAB when the bug mentioned is fixed.
The SM part works with US_PR_SDDR55.
(Revision Number is 17.08 - that in case the 0000-ffff
should prove to be too optimistic.)

We still must discuss what setup to use for readers like this -
I have several of them - that require different drivers for
different LUNs. As it is now one has to compile usb-storage
twice, once with CONFIG_USB_STORAGE_DATAFAB defined and once
without, and remove one usb-storage.ko and insert the other
to go from CF to SM. (And that hangs with 2.6.4 so a reboot
is required..)

22 years ago[PATCH] USB: ftdi_sio.c: not unlinking urb on ftdi_close
Paulo Marques [Tue, 30 Mar 2004 06:10:36 +0000 (22:10 -0800)]
[PATCH] USB: ftdi_sio.c: not unlinking urb on ftdi_close

This patch fixes a bug in ftdi_sio.c where the driver wouldn't unlink the
read urb if the user application cleared the HUPCL flag on termios->c_cflag.

22 years ago[PATCH] USB: drivers/usb/gadget/epautoconf.c gcc-3.5 build fix
Andrew Morton [Tue, 30 Mar 2004 06:10:11 +0000 (22:10 -0800)]
[PATCH] USB: drivers/usb/gadget/epautoconf.c gcc-3.5 build fix

drivers/usb/gadget/epautoconf.c: In function `ep_matches':
drivers/usb/gadget/epautoconf.c:175: error: `typeof' applied to a bit-field

22 years ago[PATCH] ppc64: More incorrect syscall error test
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:52:10 +0000 (18:52 -0800)]
[PATCH] ppc64: More incorrect syscall error test

Oops, there was two different code path affected by this
bug (strace and normal) and I fixed only one. Here's the
other one:

22 years ago[PATCH] ppc64: Add a sync in context switch on SMP
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:56 +0000 (18:51 -0800)]
[PATCH] ppc64: Add a sync in context switch on SMP

For the same reason as ppc32, we need to ensure that all stores
done on a CPU has reached the coherency domain and are visible
to loads done by another CPU when context switching as the same
thread may be rescheduled almost right away there.

22 years ago[PATCH] ppc32: PCI mmap update
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:44 +0000 (18:51 -0800)]
[PATCH] ppc32: PCI mmap update

This updates the ppc32 PCI mmap facility to allow mmap'ing of space
outside of the actual devices, using the host bridge resources instead.

This allow userland to map things like legacy IO space by either using
the bridge device itself, or simply any PCI device on the same bus
domain

22 years ago[PATCH] ppc32: Allow PREEMPT with SMP in KConfig
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:30 +0000 (18:51 -0800)]
[PATCH] ppc32: Allow PREEMPT with SMP in KConfig

On ppc32, CONFIG_PREEMPT wasn't settable along with CONFIG_SMP
for historical reasons (smp_processor_id() races). Those races have
been fixes since then (well, should have been at least) so it's now
safe to allow both options.

22 years ago[PATCH] ppc32: context switch fixes
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:17 +0000 (18:51 -0800)]
[PATCH] ppc32: context switch  fixes

This fixes a few issues with context switch on ppc32:

 - Makes sure we properly flush out all stores to the coherency domain
   when switching out, since the same thread could be switched back in
   on another CPU right away, those stores must be visible to all other
   CPUs.

 - Remove dssall in the assembly calls and do it now once in switch_mm
   (stop vmx streams).  Assume the G5 doesn't need a sync after dssall.

 - Remove bogus isync in the loop setting the userland segment registers

 - Do not switch the userland segments when the mm stays the same

22 years ago[PATCH] ppc32: Remove duplicate export
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:51:04 +0000 (18:51 -0800)]
[PATCH] ppc32: Remove duplicate export

enable_kernel_fp is exported both in ppc_ksyms and near it's
definition in process.c, remove the former.

22 years ago[PATCH] ppc32: Even more preempt fixes
Benjamin Herrenschmidt [Tue, 30 Mar 2004 02:50:51 +0000 (18:50 -0800)]
[PATCH] ppc32: Even more preempt fixes

Add a warning if enable_kernel_{fp,altivec} is called with preempt
enabled since this is always an error, and make sure the alignement
exception handler properly disables preempt when doing FP operations.

22 years ago[PATCH] Fix obvious stupid race in do_stop
Srivatsa Vaddagiri [Tue, 30 Mar 2004 02:49:13 +0000 (18:49 -0800)]
[PATCH] Fix obvious stupid race in do_stop

We don't set the task state to TASK_INTERRUPTIBLE _before_ checking for
kthread_should_stop in do_stop.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 30 Mar 2004 02:47:51 +0000 (18:47 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] pc300 driver misplaced ;
Marcelo Tosatti [Tue, 30 Mar 2004 02:47:17 +0000 (18:47 -0800)]
[PATCH] pc300 driver misplaced ;

From Dave Jones.

Oops.

22 years ago[PATCH] ISDN Eicon driver: NULL pointer check inside spinlock
Armin Schindler [Tue, 30 Mar 2004 02:47:05 +0000 (18:47 -0800)]
[PATCH] ISDN Eicon driver: NULL pointer check inside spinlock

   Check for valid application pointer inside api spinlock
   in diva_send_message().

22 years ago[PATCH] Make pdflush run at nice 0
Andrew Morton [Tue, 30 Mar 2004 02:41:57 +0000 (18:41 -0800)]
[PATCH] Make pdflush run at nice 0

Since pdflush was converted to be launched by the kthread infrastructure it
has inherited keventd's `nice -10' setting.  That hurts interactivity when
pdflush is doing lots of work writing back through the dm-crypt layer.

So set pdflush back to `nice 0'.

22 years ago[PATCH] catch errors when completing bio pairs
Andrew Morton [Tue, 30 Mar 2004 02:41:44 +0000 (18:41 -0800)]
[PATCH] catch errors when completing bio pairs

From: Mike Christie <michaelc@cs.wisc.edu>

A couple of drivers can sometimes fail the first segments in a bio then
requeue the rest of the request.  In this situation, if the last part of
the bio completes successfully bio_pair_end_* will miss that the beginging
of the bio had failed becuase they just return one when bi_size is not yet
zero.  The attached patch moves the error value test before the bi_size to
catch the above case.

22 years ago[PATCH] Fix BLKPREP_KILL
Andrew Morton [Tue, 30 Mar 2004 02:41:31 +0000 (18:41 -0800)]
[PATCH] Fix BLKPREP_KILL

From: Jens Axboe <axboe@suse.de>

Samuel Rydh wrote:

If a MODE_SENSE(6) command is sent to an IDE cd using the CDROM_SEND_PACKET
ioctl, then the kernel freezes solidly. To reproduce this, one can take the
SCSI cmd [1a 08 31 00 10 00] and a 16 byte data buffer.

After some bug hunting, I found out that the following is what happens:

- ide-cd recognizes that MODE_SENSE(6) isn't supported and tries
  to abort the request from ide_cdrom_prep_pc by returning BLKPREP_KILL.

- in elv_next_request(), the kill request is handled by
  the following code:

while (end_that_request_first(rq, 0, rq->nr_sectors))
;
end_that_request_last(rq);

The while loop never exits. The end_that_request_first() doesn't do anything
since rq->nr_sectors is 0; it just returns "not-done" after handling those 0
bytes (rq->bio->bi_size is 16).

22 years ago[PATCH] USB: set_configuration locking cleanups
David Brownell [Tue, 30 Mar 2004 01:25:17 +0000 (17:25 -0800)]
[PATCH] USB: set_configuration locking cleanups

I've posted all these before, the only notable change is
treating that one gphoto2 case as warn-and-continue rather
than return-with-failure.

usb_set_configuration() cleanup

 * Remove it from the USB kernel driver API.  No drivers need it now,
   and the sysadmin can change bConfigurationValue using sysfs (say,
   when hotplugging an otherwise problematic device).

 * Simpler/cleaner locking:  caller must own dev->serialize.

 * Access from usbfs now uses usb_reset_configuration() sometimes,
   preventing sysfs thrash, and warns about some dangerous usage
   (which gphoto2 and other programs may be relying on).  (This is
   from Alan Stern, but I morphed an error return into a warning.)

 * Prevent a couple potential "no configuration" oopses. (Alan's?)

 * Remove one broken call from usbcore,  in the "device morphed" path
   of usb_reset_device().  This should be more polite now, hanging
   that one device rather than khubd.

22 years ago[PATCH] USB Gadget: RNDIS/Ethernet Gadget Driver (2/2)
David Brownell [Tue, 30 Mar 2004 00:56:45 +0000 (16:56 -0800)]
[PATCH] USB Gadget: RNDIS/Ethernet Gadget Driver (2/2)

This updates the existing Ethernet gadget driver to
support an additional RNDIS configuration on all
current USB controllers that can support one.

It also includes a bit more work to address the complex
autoconfiguration of this driver.  Needs testing on PXA.

Patch (mostly) contributed by Robert Schwebel, and developed
with support from Auerswald GmbH.

22 years ago[PATCH] USB Gadget: RNDIS/Ethernet Gadget Driver (1/2)
David Brownell [Tue, 30 Mar 2004 00:56:15 +0000 (16:56 -0800)]
[PATCH] USB Gadget: RNDIS/Ethernet Gadget Driver (1/2)

This patch adds the RNDIS message engine and kbuild/kconfig
support for it.  This is currently labeled EXPERIMENTAL.

Patch contributed by Robert Schwebel, and developed with
support from Auerswald GmbH.

22 years ago[PATCH] USB: ohci unlink tweaks
David Brownell [Tue, 30 Mar 2004 00:55:44 +0000 (16:55 -0800)]
[PATCH] USB: ohci unlink tweaks

Minor unlink tweaks, including a case where SMP could oops
if it were abused, as if from 'usbtest' or 'stir4200'.

22 years ago[PATCH] USB: usb/core/config.c null pointers after kfree
David Brownell [Tue, 30 Mar 2004 00:55:23 +0000 (16:55 -0800)]
[PATCH] USB: usb/core/config.c null pointers after kfree

Prevents an oops with some other patchsets.

Clear some pointers after the memory is kfreed, to avoid
making some other patch combinations oops.

22 years ago[PATCH] USB; minor usbfs locking updates
David Brownell [Tue, 30 Mar 2004 00:53:38 +0000 (16:53 -0800)]
[PATCH] USB; minor usbfs locking updates

These are "obvious" locking fixes:  using the right lock
to protect interface claim/release (should be the driver
model bus lock, not BKL).

22 years agoALSA - fixed date in version.h
Jaroslav Kysela [Mon, 29 Mar 2004 15:54:39 +0000 (17:54 +0200)]
ALSA - fixed date in version.h

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:26:33 +0000 (16:26 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
don't clobber other bits in SERIAL_CFG register with AD codecs when changing codec selection bits

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:26:14 +0000 (16:26 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
fix hang because of uninitialized ad18xx.mutex with AD1985

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:25:51 +0000 (16:25 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
fix superfluous rate register assignments

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:25:32 +0000 (16:25 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
AC97 Codec Core
fix detection of 2.3 codecs

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:25:08 +0000 (16:25 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
IOCTL32 emulation
disabled the entries conflifting with TIOC* ioctls.

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:24:49 +0000 (16:24 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ICE1712 driver
Fixed Delta410 cs8427 i/o

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:24:26 +0000 (16:24 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
CS46xx driver
mmap_valid is 1 by default

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:24:08 +0000 (16:24 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
CS46xx driver
Added parsing of mmap_valid,external_amp and thinkpad parameters at boot time

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:23:44 +0000 (16:23 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PPC PowerMac driver
Remove global enable variable

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:23:25 +0000 (16:23 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA Version
release: 1.0.4rc1

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:23:02 +0000 (16:23 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ICE1712 driver
From: Arjan van de Ven <arjanv@redhat.com>

ice1712.c: move 2 same structs to the top of the function; gcc won't share
the stackslots anyway

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:22:43 +0000 (16:22 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
disable the legacy midi/joystick properly as default.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:22:19 +0000 (16:22 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,I2C cs8427,ICE1712 driver
fixed cs8427_timeout option to use the correct value in msec.

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:22:00 +0000 (16:22 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation
Corrected cs8427_timeout

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:21:35 +0000 (16:21 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
adjust usb_set_interface() calls for 2.6.5-rc2

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:21:17 +0000 (16:21 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCM Midlevel
Fix in snd_pcm_timer_resolution_change() - it no longer oops when
32-bit value overflows.

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:20:52 +0000 (16:20 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
fix deadlock on register_mutex and other bugs
in initialization error paths

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:20:32 +0000 (16:20 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Sound Core PDAudioCF driver
Adrian Bunk <bunk@fs.tum.de>
Fix warnings (SNDRV_GET_ID is not required since these files don't use get_id).

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:20:11 +0000 (16:20 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation
Added cs8427_timeout to the snd-ice1712 module description

22 years agoALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela [Mon, 29 Mar 2004 14:19:41 +0000 (16:19 +0200)]
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
I2C cs8427,ALSA Version,ICE1712 driver
Added cs8427_timeout parameter to the ICE1712 driver

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:19:17 +0000 (16:19 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
Removed the unprocessed IRQ detection, it seems bogus.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:18:57 +0000 (16:18 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation
The description about ALSA proc files, including debug information.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:18:31 +0000 (16:18 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
- suppress the xrun debug output unless xrun_debug proc is set.
- show stack trace when xrun_debug > 1.

22 years agoALSA CVS update - Takashi Iwai <tiwai@suse.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:18:11 +0000 (16:18 +0200)]
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
added the quirk for Compaq Evo D510C.

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:17:47 +0000 (16:17 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
high speed support

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:17:29 +0000 (16:17 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
clean up get_iface again :)

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:17:10 +0000 (16:17 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
replace usage of interface index with calls to usb_ifnum_to_if (forgot this in 1.88)

22 years agoALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
Jaroslav Kysela [Mon, 29 Mar 2004 14:16:47 +0000 (16:16 +0200)]
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
USB generic driver
remove calls to usb_driver_release_interface
(not needed when disconnect is called)

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 29 Mar 2004 12:33:27 +0000 (04:33 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[NETFILTER]: Fix DELETE_LIST oopses.
Harald Welte [Mon, 29 Mar 2004 12:26:56 +0000 (04:26 -0800)]
[NETFILTER]: Fix DELETE_LIST oopses.

We've now narrowed down the issue of kernel oopses in combination with
'LIST_DELETE' syslog messages happening in certain setups.

Apparently people who do not enable CONFIG_IP_NF_NAT_LOCAL and do
DNAT/REDIRECT and want to connect locally from the gateway via DNAT to
the DNAT'ed address experience the bug ;)

Patch courtesy of KOVACS Krisztian and Henrik Nordstrom

22 years ago[NETFILTER]: Fix DEBUG compile in ipt_MASQUERADE.
Harald Welte [Mon, 29 Mar 2004 12:19:57 +0000 (04:19 -0800)]
[NETFILTER]: Fix DEBUG compile in ipt_MASQUERADE.

22 years ago[AF_PACKET]: Add PACKET_MMAP documentation.
Ulisses Alonso CamarĂ³ [Mon, 29 Mar 2004 12:11:56 +0000 (04:11 -0800)]
[AF_PACKET]: Add PACKET_MMAP documentation.

22 years agoLinux 2.6.5-rc3 v2.6.5-rc3
Linus Torvalds [Mon, 29 Mar 2004 11:24:42 +0000 (03:24 -0800)]
Linux 2.6.5-rc3

22 years ago[PATCH] asm-parisc/ide.h cleanup (there are no standard ports)
Bartlomiej Zolnierkiewicz [Mon, 29 Mar 2004 10:15:53 +0000 (02:15 -0800)]
[PATCH] asm-parisc/ide.h cleanup (there are no standard ports)

Acked by Grant Grundler and Matthew Wilcox.