]> git.neil.brown.name Git - history.git/log
history.git
24 years agoUSB UHCI driver
Johannes Erdfelt [Wed, 3 Apr 2002 08:12:21 +0000 (00:12 -0800)]
USB UHCI driver

The patch ensures that uhci.c doesn't use urb->status after the
completion callback if it doesn't need to.

24 years agoUSB rtl8150 driver
Petko Manolov [Wed, 3 Apr 2002 08:10:42 +0000 (00:10 -0800)]
USB rtl8150 driver

fix the "small packet" problem and debug messages cleanup

24 years agoUSB HID driver
Greg Kroah-Hartman [Wed, 3 Apr 2002 08:08:07 +0000 (00:08 -0800)]
USB HID driver

removed CONFIG_USB_HIDDEV #ifdefs in the driver.

24 years ago[PATCH] Update to konicawc driver
Simon Evans [Mon, 1 Apr 2002 02:20:18 +0000 (18:20 -0800)]
[PATCH] Update to konicawc driver

This patch against 2.5.7 fixes an oops and a memleak in the konicawc driver
and also adds an option to set the FPS.

24 years agoUSB hiddev interface
Paul Stewart [Thu, 28 Mar 2002 03:24:15 +0000 (19:24 -0800)]
USB hiddev interface

updated the version number due the previous changes

24 years agoUSB hcd driver updates
David Brownell [Thu, 28 Mar 2002 03:19:27 +0000 (19:19 -0800)]
USB hcd driver updates

  - Nitpickey bugfix to root hub config descriptors ... can't use
    the same one for high and full speed, since the encoding
    is different (255 ms FS == 0xff, 256 ms HS == 0x12).
  - Related, force period to 1/4 second rather than doing
    any sanity checking for the roothub timer (from Georg)
  - Don't "giveback" urbs on submit path errors (from Georg)
    ... means they don't get completion callbacks
  - Additional error checks on URB data (from Georg)
  - Uses <linux/completion.h> for unlink synchronization
  - The "already unlinking" error case is reported like other
    unlinking errors (not as success)
  - Ripped out urb->next handling ... it wasn't compatible
    with the ISO loop model, and at this point I believe it
    should be completely replaced with queuing urbs inside
    of the HCDs.  (Every HCD handles it for ISO, UHCI needs
    a magic flag to enable it for bulk ...)

24 years agoUSB audio driver
David Brownell [Thu, 28 Mar 2002 03:18:34 +0000 (19:18 -0800)]
USB audio driver

- Makes "audio" set the urb->interval in its periodic URBs,
  so it can submit through the hcd framework.

24 years agoUSB serial core
Ganesh Varadarajan [Thu, 28 Mar 2002 03:16:37 +0000 (19:16 -0800)]
USB serial core

Module count of a serial converter driver is currently not
decremented if a disconnect happens while the tty is held open.
The fix is to close the device in usb_serial_disconnect() so that
module refcounts are properly updated.

24 years agoUSB io_edgeport driver update
Greg Kroah-Hartman [Thu, 28 Mar 2002 03:15:00 +0000 (19:15 -0800)]
USB io_edgeport driver update

fixes to let io_edgeport work properly as a usb serial console

24 years agoUSB uhci bug fix.
Greg Kroah-Hartman [Thu, 28 Mar 2002 03:14:17 +0000 (19:14 -0800)]
USB uhci bug fix.

use proper GFP flag setting for submitting a urb.

24 years agoUSB serial config.in changes
Greg Kroah-Hartman [Thu, 28 Mar 2002 03:13:02 +0000 (19:13 -0800)]
USB serial config.in changes

- make serial console only selectable if the code is not a module.
- removed lots of CONFIG_EXPERMENTAL dependancies as the drivers have been stable for some time now.

24 years agoUSB serial console support added
Greg Kroah-Hartman [Wed, 27 Mar 2002 09:16:33 +0000 (01:16 -0800)]
USB serial console support added

24 years agoUSB core sanity check
David Brownell [Wed, 27 Mar 2002 07:23:48 +0000 (23:23 -0800)]
USB core sanity check

  Periodically folk have run into problems where usb-ohci oopses
  due to device refcount bugs ...

  This is a minor patch to move the sanity check out of usb-ohci
  into the generic bits of usbcore.    There are comments that
  suggest a path for a more comprehensive approach too.

  Applies cleanly against 2.5.7 and I've been testing with it
  for a while.  I can't think of any reason it shouldn't also go
  into 2.4, beyond the patch not applying cleanly there ... :)

24 years agoUSB ohci-hcd driver update
David Brownell [Wed, 27 Mar 2002 07:21:25 +0000 (23:21 -0800)]
USB ohci-hcd driver update

      - bugfix: control endpoints can't stall
      - bugfix: remove bogus intr unlink optimization,
          by sharing intr/iso code
      - bugfix: iso submit uses urb->interval
      - removed iso urb->next ring logic
          (belongs in hcd layer if anywhere)
      - simplify/shorten/correct completion handling
      - in debug, labels setup packets as such
      - bring CVS ids back up to date

24 years ago[PATCH] USB uhci bugfix
Johannes Erdfelt [Wed, 27 Mar 2002 07:15:38 +0000 (23:15 -0800)]
[PATCH] USB uhci bugfix

The issue was that the poisoning would posing the data *before* it gave
it to us as well, but I didn't clear out a pointer (qh->urbp) and later
dereferenced it.

Thanks for the report again and for the pci_pool patch so I could
troubleshoot it.

JE

24 years agoUSB pegasus driver
Petko Manolov [Tue, 26 Mar 2002 04:56:01 +0000 (20:56 -0800)]
USB pegasus driver

semaphore cleanup and proper link detection

24 years agoUSB ohci-hcd update
David Brownell [Tue, 26 Mar 2002 04:54:35 +0000 (20:54 -0800)]
USB ohci-hcd update

It updates the "ohci-hcd" driver to address two issues, one
of which could potentially have caused oopses.  First, it takes
out calls to usb_dec_dev_use() on the submit error path; that's
already done elsewhere.  (Noted by Georg Acher.)  Second,
it removes some pointless diagnostics.  One is for schedule
overrun interrupts, the other is for accessing the frame counter.

24 years ago[PATCH] 2.4.19-pre3 uhci.c zero packet
Johannes Erdfelt [Mon, 25 Mar 2002 06:45:27 +0000 (22:45 -0800)]
[PATCH] 2.4.19-pre3 uhci.c zero packet

Don't know if you saw this on the list or not. Here's a patch which
fixes zero packet support for uhci.c

- Setup the TD correctly, we weren't shifting the null data size
- Only add the zero packet if the transfer was a multiple of the
  endpoint of the size

JE

24 years agoUSB visor driver
Greg Kroah-Hartman [Sat, 23 Mar 2002 15:48:56 +0000 (07:48 -0800)]
USB visor driver

added support for the Palm i705 device.
thanks to Thomas Riemer for the information.

24 years ago[PATCH] Re: [PATCH] hiddev code and docs cleanup
Paul Stewart [Fri, 22 Mar 2002 14:48:08 +0000 (06:48 -0800)]
[PATCH] Re: [PATCH] hiddev code and docs cleanup

I took some time to clean up the code a little, and to add the new
calls to the documentation.  See patch below.

--
Paul

24 years agoUSB
Petko Manolov [Fri, 22 Mar 2002 02:35:33 +0000 (18:35 -0800)]
USB

added rtl8150 usb ethernet driver

24 years agoUSB pegasus driver
Petko Manolov [Fri, 22 Mar 2002 02:03:54 +0000 (18:03 -0800)]
USB pegasus driver

fix problem which cause hotplug/unplug crash the kernel

24 years agoUSB kaweth driver
Oliver Neukum [Thu, 21 Mar 2002 09:22:46 +0000 (01:22 -0800)]
USB kaweth driver

added optus@home uep1045a driver to the list of supported devices.

24 years agoUSB serial drivers
Greg Kroah-Hartman [Thu, 21 Mar 2002 08:50:36 +0000 (00:50 -0800)]
USB serial drivers

changes due to open_count being handled by the usb-serial core code.

24 years agoUSB serial driver core
Greg Kroah-Hartman [Thu, 21 Mar 2002 08:47:15 +0000 (00:47 -0800)]
USB serial driver core

- Moved all manipulation of port->open_count into the core.  Now the
  individual driver's open and close functions are called only when the
  first open() and last close() is called.  Making the drivers a bit
  smaller and simpler.
- Fixed a bug if a driver didn't have the owner field set.

24 years agoUSB visor driver
Greg Kroah-Hartman [Thu, 21 Mar 2002 08:45:57 +0000 (00:45 -0800)]
USB visor driver

Added support for the Palm m130 device, thanks to Udo Eisenbarth
<udo.eisenbarth@web.de> for the information.

24 years agoMerge kroah.com:/home/greg/linux/BK/gregkh-2.5
Greg Kroah-Hartman [Wed, 20 Mar 2002 08:32:44 +0000 (00:32 -0800)]
Merge kroah.com:/home/greg/linux/BK/gregkh-2.5
into kroah.com:/home/greg/linux/BK/work

24 years agoUSB hub
Greg Kroah-Hartman [Wed, 20 Mar 2002 07:03:53 +0000 (23:03 -0800)]
USB hub

changed the interval for checking if the device is connected yet or not.
Thanks to Itai Nahshon <nahshon@actcom.co.il> for the information.

24 years agoUSB hpusbscsi driver
Oliver Neukum [Tue, 19 Mar 2002 11:43:52 +0000 (03:43 -0800)]
USB hpusbscsi driver

Port changes from 2.4:
  We do request_sense ourselves to comply with
  the scanner command set

24 years agoUSB proc_usb_info.txt
Greg Kroah-Hartman [Tue, 19 Mar 2002 05:37:54 +0000 (21:37 -0800)]
USB proc_usb_info.txt

documented the fact that the interval is not always reported in ms.

24 years agoUSB usbfs periodic endpoint/bandwidth reporting
David Brownell [Tue, 19 Mar 2002 05:16:19 +0000 (21:16 -0800)]
USB usbfs periodic endpoint/bandwidth reporting

This is an updated version of a patch I sent around a
while back.  It's against 2.5.7-pre1 (so presumably is
fine on 2.5.7), and addresses feedback against that
earlier patch.

It's bugfixes, mostly for highspeed support, to what
/proc/bus/usb/devices shows:

- Shows isochronous periods correctly (logarithmic
  encoding, possibly 1/2/4 microframes if highspeed)
- Likewise for high-speed interrupt periods (similar)
- Makes high bandwidth endpoints look like they
  just do bigger packets (up to 3 KBytes/uframe)
- Shows highspeed bandwidth correctlly (80% reserved,
  vs 90% reserved for full/low speed).

24 years agoUSB ipaq driver
Ganesh Varadarajan [Tue, 19 Mar 2002 02:12:07 +0000 (18:12 -0800)]
USB ipaq driver

Don't submit urbs while holding spinlocks. Not strictly required in
2.5.x, but it's always better to do less while holding a spinlock.
Also a good idea to keep 2.{4,5}.x drivers in sync.

24 years ago[PATCH] uhci.c 2.4.19-pre3 interrupt deadlock
Johannes Erdfelt [Mon, 18 Mar 2002 15:47:10 +0000 (07:47 -0800)]
[PATCH] uhci.c 2.4.19-pre3 interrupt deadlock

Unfortunately, I left out one line from my spinlock cleanup patch
recently.

As a result, using interrupt URB's could cause a deadlock on SMP
kernels.

This should fix the deadlock Greg reported.

JE

24 years ago[PATCH] uhci.c 2.4.19-pre3 erroneous completion callback
Johannes Erdfelt [Mon, 18 Mar 2002 15:46:58 +0000 (07:46 -0800)]
[PATCH] uhci.c 2.4.19-pre3 erroneous completion callback

uhci.c would call the completion callback when the call to submit_urb
failed. This is a rare situation.

This patch only calls the completion handler if the URB successfully
completed immediately (as in the case of talking to the virtual root
hub).

JE

24 years ago[PATCH] uhci.c 2.4.19-pre3 kmem_cache_alloc flags
Johannes Erdfelt [Mon, 18 Mar 2002 15:46:45 +0000 (07:46 -0800)]
[PATCH] uhci.c 2.4.19-pre3 kmem_cache_alloc flags

My previous patch which cleaned up some of the spinlocks, moved one of
the spinlocks around a call to kmem_cache_alloc. It would sometimes
erroneously call it with GFP_KERNEL.

This patch fixes the problem by always calling it with GFP_ATOMIC.
Thanks to Greg for pointing this out to me.

JE

24 years agoThis updates linux/Documentation/usb/proc_usb_info.txt to:
David Brownell [Mon, 18 Mar 2002 15:44:21 +0000 (07:44 -0800)]
This updates linux/Documentation/usb/proc_usb_info.txt to:

    - refer to "usbfs"
    - describe the /proc/bus/usb/BBB/DDD files
    - more info about the .../drivers and .../devices
    - ... generally, gives more information.

This is ever so slightly forward looking in how it describes
bandwidth requirements for high speed periodic transfers,
it's expecting a bugfix patch that's in my queue.  (That info
is currently broken/meaningless.)

24 years agoUSB echi and Intel ICH
David Brownell [Mon, 18 Mar 2002 08:39:31 +0000 (00:39 -0800)]
USB echi and Intel ICH

This updates the Philips tweak so that it also applies
to late-model ICH chips from Intel.  (Or so I'm told ... :)
That's at least three EHCI implementations known to
behave on Linux.  (And one hopes VIA soon too...)

It also cleans up a few comments relating to 64bit DMA;
recent API spec updates make it look like no games are
needed with the PCI DMA mask -- it doesn't change the
segment used by pci_pool allocations, so it just needs
to get turned on if the overall system does 64bit DMA.

I've a query in to see if those Philips/Intel tweaks are
chip quirks, or just something the EHCI 1.0 spec isn't
at all clear about.

24 years agoUSB
David Brownell [Mon, 18 Mar 2002 08:32:06 +0000 (00:32 -0800)]
USB

inline cleanup to save a chunk of memory in usb-ohci

24 years agoUSB
David Brownell [Mon, 18 Mar 2002 08:30:58 +0000 (00:30 -0800)]
USB

Comment and documentation cleanups

24 years agoUSB mem flags nonpoisonous
David Brownell [Mon, 18 Mar 2002 08:26:55 +0000 (00:26 -0800)]
USB mem flags nonpoisonous

This patch completely punts on passing SLAB_POISON, I've
gotten burnt by it once too many.  Seems like the slab code
changed somewhere.  I've got a separate patch to make the
pci_pool code use CONFIG_DEBUG_SLAB, which I'll send
around.

Meanwhile, I needed this to get at least EHCI to intialize on
a 2.5.7-pre1 system.  Please merge.

24 years agoUSB hcd.c, non-HS periodic transfers
David Brownell [Mon, 18 Mar 2002 08:24:43 +0000 (00:24 -0800)]
USB hcd.c, non-HS periodic transfers

This patch adds a missing "break", which prevented low and full
speed periodic transfers from getting through the "hcd" framework
to the driver (OHCI, for now).  Sigh... :)

24 years agoUSB printer driver
David Paschal [Mon, 18 Mar 2002 08:04:00 +0000 (00:04 -0800)]
USB printer driver

added more printer quirks to the list

24 years agoUSB printer driver
Kai Reichert [Mon, 18 Mar 2002 08:00:27 +0000 (00:00 -0800)]
USB printer driver

added HP DeskJet 959C to the quirks list

24 years agoUpdate version v2.5.7
Linus Torvalds [Mon, 18 Mar 2002 03:40:24 +0000 (19:40 -0800)]
Update version

24 years agoInclude <linux/completion.h> for completion user
Linus Torvalds [Mon, 18 Mar 2002 03:32:44 +0000 (19:32 -0800)]
Include <linux/completion.h> for completion user

24 years ago[PATCH] cleanup FAT stuff (2/2)
Hirofumi Ogawa [Mon, 18 Mar 2002 03:00:25 +0000 (19:00 -0800)]
[PATCH] cleanup FAT stuff (2/2)

This patch remove unused variable/function/define, and small indent
cleanup.

24 years ago[PATCH] Fix linux/msdos_fs.h for userland (1/2)
Hirofumi Ogawa [Mon, 18 Mar 2002 03:00:01 +0000 (19:00 -0800)]
[PATCH] Fix linux/msdos_fs.h for userland (1/2)

The following patch moves MSDOS_SB() and MSDOS_I() into #define
__KERNEL__.

24 years ago[PATCH] 2.5.7-pre2 IDE 22a
Martin Dalecki [Mon, 18 Mar 2002 02:57:21 +0000 (18:57 -0800)]
[PATCH] 2.5.7-pre2 IDE 22a

- Apply more patches from Vojtech Pavlik for the handling of host chip setup.
   Hopefully they are settled now.

- Kill unused CONFIG_BLK_DEV_MODES

- Push register addressing down in to task_vlb_sync.

- Make the taskfile parsing stuff actually readable. This is compressing the
   code by an incredible amount. We use just one function doing the whole
   scanning right now. This should make sure that the IRQ handler used by a
   particular command is always right.  I didn't introduce typos hopefully
   here.

- Don't call ide_handler_parser as argument for do_taskfile() any longer. We
   have killed this function by coalescing it's functionality with
   ide_cmd_type_parser() anyway.

- Kill unused SLC90E66 code, which Vojtech apparently missed in his patch.

- sync up with 2.5.7-pre2

Once again the actual patch is rather big mostly due to the removal of
some default configuration variables which are not used anylonger. So time for
the next patch stage.

24 years ago[PATCH] for 2.5.7pre2
Jaroslav Kysela [Mon, 18 Mar 2002 02:55:32 +0000 (18:55 -0800)]
[PATCH] for 2.5.7pre2

- add joystick support for CS46xx driver
- Audigy code updates
- fix sound/core/Config.in (wrong dep_tristate usage)
- rawmidi interface fixes (memory leak)
- chang spinlock to rwlock in pcm_native.c (streams linking)
- further fixes of dependencies in Makefiles
- remove experimental time-sync support from sequencer
- fix/update for 32-bit -> 64-bit ioctl converter code
- wavefront driver cleanups
- CMIPCI driver updates
- update joystick support in CS4281
- add detection (not support) of M Audio Delta1010LT
- add AMD768 PCI ID to intel8x0 driver
- add joystick code to trident driver
- remove static variable initialization to zero

24 years ago[PATCH] driverfs support for ISAPNP driver
Andrey Panin [Mon, 18 Mar 2002 02:52:08 +0000 (18:52 -0800)]
[PATCH] driverfs support for ISAPNP driver

This adds initial driverfs support to ISAPNP driver.  It was approved by
the ISAPNP maintainer (Jaroslav Kysela).

24 years ago[PATCH] struct super_block cleanup - affs
Brian Gerst [Mon, 18 Mar 2002 02:50:03 +0000 (18:50 -0800)]
[PATCH] struct super_block cleanup - affs

Seperates affs_sb_info from struct super_block.

24 years ago[PATCH] struct super_block cleanup - hfs
Brian Gerst [Mon, 18 Mar 2002 02:49:31 +0000 (18:49 -0800)]
[PATCH] struct super_block cleanup - hfs

Seperates hfs_sb_info from struct super_block.

24 years ago[PATCH] struct super_block cleanup - shmem
Brian Gerst [Mon, 18 Mar 2002 02:48:42 +0000 (18:48 -0800)]
[PATCH] struct super_block cleanup - shmem

Seperates shmem_sb_info from struct super_block.

24 years agoAutomerge
Linus Torvalds [Mon, 18 Mar 2002 02:47:47 +0000 (18:47 -0800)]
Automerge

24 years ago[PATCH] moving stuff to fs/filesystems.c
Alexander Viro [Mon, 18 Mar 2002 02:42:06 +0000 (18:42 -0800)]
[PATCH] moving stuff to fs/filesystems.c

file_system_typer-related code moved from fs/super.c to
fs/filesystems.c

24 years agoMerge http://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Mon, 18 Mar 2002 02:41:50 +0000 (18:41 -0800)]
Merge http://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoAutomerge
Linus Torvalds [Mon, 18 Mar 2002 02:39:06 +0000 (18:39 -0800)]
Automerge

24 years ago[PATCH] struct super_block cleanup - udf
Brian Gerst [Mon, 18 Mar 2002 02:38:40 +0000 (18:38 -0800)]
[PATCH] struct super_block cleanup - udf

Seperates udf_sb_info from struct super_block.

24 years ago[PATCH] struct super_block cleanup - isofs
Brian Gerst [Mon, 18 Mar 2002 02:38:35 +0000 (18:38 -0800)]
[PATCH] struct super_block cleanup - isofs

Seperates isofs_sb_info from struct super_block.

24 years ago[PATCH] PATCH -- pci_pool and CONFIG_DEBUG_SLAB
David Brownell [Mon, 18 Mar 2002 02:37:33 +0000 (18:37 -0800)]
[PATCH] PATCH -- pci_pool and CONFIG_DEBUG_SLAB

I got burnt one too many time by mismatches between
the pci_pool and "real" slabs... something changed in
mm/slab.c and broke a driver, so I'm going for the real
fix this time.  Having poisoning that _works_ is a huge
help in the innards of the USB host controller drivers.

This patch gets rid of some #ifdefs and makes the pci_pool
code poison memory if CONFIG_DEBUG_SLAB is set.
The functionality has always been there, but this makes
it simpler to get at.

24 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Mon, 18 Mar 2002 02:15:57 +0000 (18:15 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoFix a lockup on some PPC machines running an SMP kernel - we were
Paul Mackerras [Tue, 19 Mar 2002 09:40:08 +0000 (20:40 +1100)]
Fix a lockup on some PPC machines running an SMP kernel - we were
exiting heathrow_modem_enable() with a lock held.

24 years agoPPC update - add preempt_count to the ppc thread_info, add
Paul Mackerras [Tue, 19 Mar 2002 09:37:54 +0000 (20:37 +1100)]
PPC update - add preempt_count to the ppc thread_info, add
SI_DETHREAD, plus a couple of minor fixes.

24 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Mon, 18 Mar 2002 02:06:55 +0000 (18:06 -0800)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoSwitch cramfs and zisofs from zlib_fs to common zlib.
David Woodhouse [Sun, 17 Mar 2002 20:02:32 +0000 (20:02 +0000)]
Switch cramfs and zisofs from zlib_fs to common zlib.
Remove remnants of zlib_fs.

24 years agoRemove jffs2_sb from struct super_block union.
David Woodhouse [Sun, 17 Mar 2002 15:38:00 +0000 (15:38 +0000)]
Remove jffs2_sb from struct super_block union.
Remove FS_REQUIRES_DEV from JFFS2. We never really used the block device anyway.

24 years agoMake wanpipe build again after struct sock cleanups.
David S. Miller [Sun, 17 Mar 2002 12:03:52 +0000 (04:03 -0800)]
Make wanpipe build again after struct sock cleanups.
From Arnaldo Carvalho de Melo.

24 years agoFix netfilter IPv4 conntrack build.
David S. Miller [Sun, 17 Mar 2002 11:55:42 +0000 (03:55 -0800)]
Fix netfilter IPv4 conntrack build.

24 years agoUSB printer patch
Taisuke Yamada [Sun, 17 Mar 2002 02:48:38 +0000 (18:48 -0800)]
USB printer patch

added NEC printer to quirks list

24 years agoUSB HID driver
Vojtech Pavlik [Sun, 17 Mar 2002 02:38:43 +0000 (18:38 -0800)]
USB HID driver

Workaround for the ATEN switches

24 years agoUSB serial drivers
Ganesh Varadarajan [Sun, 17 Mar 2002 02:31:22 +0000 (18:31 -0800)]
USB serial drivers

Several functions in the serial drivers can be called from bottom
half or interrupt context. They must use the GFP_ATOMIC flag for
calls to kmalloc() and usb_submit_urb().

Functions which must use GFP_ATOMIC:
1. All *_callback() functions.
2. Any code which is inside a spinlock.
3. write(), throttle(), unthrottle(), which may be called by
   the line discipline in bottom half context.

Functions which can use GFP_KERNEL:
1. open(), close(), startup(), shutdown(), set_termios().

24 years agoUSB catc driver
Simon Evans [Sun, 17 Mar 2002 02:29:11 +0000 (18:29 -0800)]
USB catc driver

Here is a patch to add support for F5U011 to catc.c driver. The
patch has been compile tested against 2.5.6 and 2.5.7pre1
(and tested against 2.5.5-dj1) and should apply cleanly.

24 years agoUSB Urefs for hid-core/hiddev
Paul Stewart [Sun, 17 Mar 2002 02:14:24 +0000 (18:14 -0800)]
USB Urefs for hid-core/hiddev

  I've written a patch Vojtech and I discussed for enhancing the
hiddev code to optionally provide more detailed output on read().
The old functionality is still supported by default, and in
situations where HID usage codes are unique across reports, the
old method is still preferable due to its terseness.

  The new method provides the ability to determine exactly which
value has changed, in cases where the HID usage codes are not
unique.  It also provides a means to optionally receive notification
when input reports are received from the device, whether or not
any of the values in the report have changed.

  The details of the changes are as follows:

  - All current code behaves identically

  - A new ioctl pair HIDIOCGFLAG/HIDIOCSFLAG gets and clears
    flags on the hiddev device.

  - If you set the flag HIDDEV_FLAG_UREF, the read() call switches
    from reading hiddev_event structures to hiddev_usage_ref
    structures.  The change takes effect immediately, even to
    already queued events that haven't been read() yet.  Here's
    an example of enabling FLAG_UREF:

    {
        int flag = HIDDEV_FLAG_UREF;
        if (ioctl(fd, HIDIOCSFLAG, &flag) != 0) {
                perror("ioctl");
                exit(1);
        }
    }

  - With the HIDDEV_FLAG_REPORT set (which is only allowed if
    HIDDEV_FLAG_UREF is also set), there is a special uref that
    will be read() in addition to the ones corresponding to
    changes in the device state: when uref.field_index is set to
    HID_FIELD_INDEX_NONE, this uref is a notification that the
    report referred to by report_type and report_id has been
    received from the device.  This can be useful in situations
    when the notification of the arrival of a report is useful
    even if there is no change in state.

24 years agoUSB printer update
David Paschal [Sun, 17 Mar 2002 02:07:21 +0000 (18:07 -0800)]
USB printer update

- bind to 7/1/2 alternate setting by default, to fix printing with HP
  LaserJet 1200 and 2200
- ioctls needed by the GPL user-mode IEEE 1284.4 driver which is part of
  the HP OfficeJet Linux driver (http://hpoj.sourceforge.net):
  - dynamic switching between 7/1/[123] alternate settings
  - sending HP vendor-specific channel-change-request to support
    memory card readers on HP PhotoSmart printers
  - inquire more information about the peripheral, including
    /proc/bus/usb/xx/yy linkage to get even more information
- fix apparent array overflow (by 1 entry) in usblp_probe when more than
  the maximum number of USB printers are connected
- for the 2.2 version, added MODULE_{INC,DEC}_USE_COUNT to prevent rmmoding
  of printer.o (and subsequent OOPSes) while a USB printer device is open
- cleaned up the code in a few places by consolidating duplicated code

24 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.misc
Linus Torvalds [Sat, 16 Mar 2002 08:03:06 +0000 (00:03 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.misc
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Sat, 16 Mar 2002 08:02:34 +0000 (00:02 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoDescend into drivers/hotplug only if CONFIG_HOTPLUG_PCI is set.
Kai Germaschewski [Sat, 16 Mar 2002 11:47:49 +0000 (05:47 -0600)]
Descend into drivers/hotplug only if CONFIG_HOTPLUG_PCI is set.

24 years agoDescend into drivers/parport only if CONFIG_PARPORT is set.
Kai Germaschewski [Sat, 16 Mar 2002 11:45:45 +0000 (05:45 -0600)]
Descend into drivers/parport only if CONFIG_PARPORT is set.

24 years agoLink drivers/fc4/fc4.a only once.
Kai Germaschewski [Sat, 16 Mar 2002 11:43:26 +0000 (05:43 -0600)]
Link drivers/fc4/fc4.a only once.

24 years agoFix up ACPI so that it seems to work in the new world order:
Linus Torvalds [Sat, 16 Mar 2002 07:58:39 +0000 (23:58 -0800)]
Fix up ACPI so that it seems to work in the new world order:
make driverfs initialize early, so that ACPI can come alive
in a world where you can register devices.

24 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.config_sound
Kai Germaschewski [Fri, 15 Mar 2002 17:04:34 +0000 (11:04 -0600)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.config_sound
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.config_sound.x

24 years agoupdate v2.5.7-pre2
Linus Torvalds [Fri, 15 Mar 2002 09:46:28 +0000 (01:46 -0800)]
update

24 years agoUpdate kernel version
Linus Torvalds [Fri, 15 Mar 2002 09:44:59 +0000 (01:44 -0800)]
Update kernel version

24 years agoMake sk_flags unsigned long, since we do bit operations on it
Linus Torvalds [Fri, 15 Mar 2002 09:44:42 +0000 (01:44 -0800)]
Make sk_flags unsigned long, since we do bit operations on it

24 years agoFix up ACPI device breakage.
Linus Torvalds [Fri, 15 Mar 2002 09:43:33 +0000 (01:43 -0800)]
Fix up ACPI device breakage.

For some reason the ACPI people continue to make the mistake
of thinking that they are the root of the system.  Disabuse
them of that notion.

24 years ago[PATCH] 2.5.7-pre1 Code cleanup for BSD accounting.
Bob Miller [Fri, 15 Mar 2002 08:15:08 +0000 (00:15 -0800)]
[PATCH] 2.5.7-pre1 Code cleanup for BSD accounting.

Clean up BSD accounting locking code..

24 years agoTrivial compile fix
Linus Torvalds [Fri, 15 Mar 2002 08:06:42 +0000 (00:06 -0800)]
Trivial compile fix

24 years ago[PATCH] sync shmem.c in 2.5 to 2.4
Christoph Rohland [Fri, 15 Mar 2002 08:00:39 +0000 (00:00 -0800)]
[PATCH] sync shmem.c in 2.5 to 2.4

The appended patch brings the fixes applied in 2.4 to shmem.c to 2.5.

In Detail:
- Add needed checks for shmem_file_write and shmem_symlink
- Add Documentation/filesystems/tmpfs.txt and adjust Config.help
- Add uid and gid mount options
- Make the error messages more user friendly

24 years ago[PATCH] binfmt_elf.c: do SET_PERSONALITY() for static binaries
David Mosberger [Fri, 15 Mar 2002 07:45:32 +0000 (23:45 -0800)]
[PATCH] binfmt_elf.c: do SET_PERSONALITY() for static binaries

Pick up binfmt_elf.c SET_PERSONALITY() fix from 2.4.18.

24 years agoFix overenthusiastic ia64 merge.
Linus Torvalds [Fri, 15 Mar 2002 07:43:42 +0000 (23:43 -0800)]
Fix overenthusiastic ia64 merge.

That preempt_count really is supposed to be unconditional,
architectures please take note and add to your thread info.

24 years agoMerge bk://lia64.bkbits.net/to-linus-2.5/
Linus Torvalds [Fri, 15 Mar 2002 07:35:12 +0000 (23:35 -0800)]
Merge bk://lia64.bkbits.net/to-linus-2.5/
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years ago[PATCH] ACPI patch 9/9
Andy Grover [Fri, 15 Mar 2002 07:28:59 +0000 (23:28 -0800)]
[PATCH] ACPI patch 9/9

If you could only review one of the 9 patches, this would be the one.

- removes acpitable.c vestiges
- adds ACPI IRQ routing support to PCI (disableable via pci=noacpi option)
- adds code to get a <1MB page for sleep, and ACPI boot to setup.c
- allocates another page in the fixmap for ACPI
- changes driverfs a little to work better with ACPI.

24 years ago[PATCH] ACPI patch 8/9
Andy Grover [Fri, 15 Mar 2002 07:28:54 +0000 (23:28 -0800)]
[PATCH] ACPI patch 8/9

This patch removes arch/i386/kernel/acpitable.c. As mentioned previously,
the new ACPI code integrates this, so it's no longer needed.

24 years ago[PATCH] ACPI patch 7/9
Andy Grover [Fri, 15 Mar 2002 07:28:50 +0000 (23:28 -0800)]
[PATCH] ACPI patch 7/9

This updates the Configure.help, both in arch/i386, and in drivers/acpi.

24 years ago[PATCH] ACPI patch 6/9
Andy Grover [Fri, 15 Mar 2002 07:28:46 +0000 (23:28 -0800)]
[PATCH] ACPI patch 6/9

This removes the old OSPM code. It lived under drivers/acpi/ospm/*, but
the new code just lives in drivers/acpi, and removes some unnecessary
abstraction that this old code had.

24 years ago[PATCH] ACPI patch 5/9
Andy Grover [Fri, 15 Mar 2002 07:28:40 +0000 (23:28 -0800)]
[PATCH] ACPI patch 5/9

This is the update to the core interpreter code.

24 years ago[PATCH] ACPI patch 4/9
Andy Grover [Fri, 15 Mar 2002 07:28:32 +0000 (23:28 -0800)]
[PATCH] ACPI patch 4/9

This is the config.in and makefile changes for the latest code. The most
(only) interesting thing probably is ACPI is no longer flagged experimental.

24 years ago[PATCH] ACPI patch 3/9
Andy Grover [Fri, 15 Mar 2002 07:28:27 +0000 (23:28 -0800)]
[PATCH] ACPI patch 3/9

This patch updates the acpi IA32 arch-specific files. Part of this is
taking what was acpitable.c and implementing it with better integration
with the rest of the ACPI code.

24 years ago[PATCH] ACPI patch 2/9
Andy Grover [Fri, 15 Mar 2002 07:28:23 +0000 (23:28 -0800)]
[PATCH] ACPI patch 2/9

This patch adds in the new drivers.

- Support for driverfs
- File/code layout more in the Linux style
- improvements to battery, processor, and thermal support

24 years ago[PATCH] ACPI patch 1/9
Andy Grover [Fri, 15 Mar 2002 07:28:19 +0000 (23:28 -0800)]
[PATCH] ACPI patch 1/9

This is the first of 9 patches. We did a complete rewrite of the
Linux-specific code, so we wait for things to stabilize before submitting.
There will be more updates, but *much* smaller.

#1 - this updates the header file.