]> git.hungrycats.org Git - linux/log
linux
23 years agoRefix broken bitop target that got re-broken by the CVS merge v2.5.11
Linus Torvalds [Sun, 28 Apr 2002 12:52:10 +0000 (05:52 -0700)]
Refix broken bitop target that got re-broken by the CVS merge

23 years agoMissing function declaration
Linus Torvalds [Sun, 28 Apr 2002 12:51:43 +0000 (05:51 -0700)]
Missing function declaration

23 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Sun, 28 Apr 2002 12:29:37 +0000 (05:29 -0700)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] minor cleanup in ext3 code
Andreas Dilger [Sun, 28 Apr 2002 12:28:40 +0000 (05:28 -0700)]
[PATCH] minor cleanup in ext3 code

The following patch is a _very minor_ cleanup in the ext3 code for
ext3_prepare_write().  It simply removes the setting of "handle" from
the current transaction handle, because "handle" is actually set again
a couple of lines later, where it properly allocates a new transaction
handle for this write.  The code removed in this patch is probably left
over from some development version of ext3 where the transaction handle
was started before ext3_prepare_write was called.

The only reason I saw this was because I was trying to find where the
handle was allocated for an ext3 file write, and at first glance it
didn't appear to be allocated anywhere...

23 years agoAutomerge
Linus Torvalds [Sun, 28 Apr 2002 12:27:32 +0000 (05:27 -0700)]
Automerge

23 years agoMerge http://fbdev.bkbits.net/fbdev-2.5
Linus Torvalds [Sun, 28 Apr 2002 12:22:43 +0000 (05:22 -0700)]
Merge http://fbdev.bkbits.net/fbdev-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] gdb/strace fix for 2.5.x
Ivan Kokshaysky [Sun, 28 Apr 2002 12:20:42 +0000 (05:20 -0700)]
[PATCH] gdb/strace fix for 2.5.x

Yes, gdb and strace are broken on alpha since 2.5.6, IIRC.
Some necessary 'thread_info' changes still are missing in ptrace.c.

Fixed thus.

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Sun, 28 Apr 2002 12:17:41 +0000 (05:17 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] 2.5.10 BKL not always released in sem_exit()
Chris Wright [Sun, 28 Apr 2002 12:17:09 +0000 (05:17 -0700)]
[PATCH] 2.5.10 BKL not always released in sem_exit()

The patch below fixes sem_exit() so that the BKL is always released.

23 years ago[PATCH] BTTV .text.exit link fix with newer binutils
Sebastian Dröge [Sun, 28 Apr 2002 12:16:15 +0000 (05:16 -0700)]
[PATCH] BTTV .text.exit link fix with newer binutils

Here's a simple patch to allow the bttv driver to be build with newer
binutils...

23 years ago[PATCH] vsnprintf returns incorrect length
Benjamin LaHaise [Sun, 28 Apr 2002 12:15:46 +0000 (05:15 -0700)]
[PATCH] vsnprintf returns incorrect length

In conjunction with some of the earlier problems found in /proc code,
now it turns out that snprintf doesn't work correctly in the kernel...
Without the following patch, snprintf can return lengths greater than
the size argument passed.  The net effect is that code using the return
value from snprintf can still buffer overrun.  This is fixed by not
updating the pointer in the buffer unless there is actually space.

23 years ago[PATCH] drop obsolete stat/waitpid/s(sg)etmask/signal from ARM build
Russell King [Sun, 28 Apr 2002 12:15:14 +0000 (05:15 -0700)]
[PATCH] drop obsolete stat/waitpid/s(sg)etmask/signal from ARM build

The following patch drops the above functions from the ARM port; we've
already removed them from the syscall table on ARM, so we can safely
remove these from the ARM build.

23 years agoMerge bk://linux-ntfs.bkbits.net/ntfs-tng-2.5
Linus Torvalds [Sun, 28 Apr 2002 12:10:38 +0000 (05:10 -0700)]
Merge bk://linux-ntfs.bkbits.net/ntfs-tng-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] BKL documentation update change
Dave Hansen [Sun, 28 Apr 2002 12:08:39 +0000 (05:08 -0700)]
[PATCH] BKL documentation update change

I added ->readdir(), and a new section referring to the sb_op BKL shift
as well.

23 years ago[PATCH] scsi mid to lower level api documentation
Douglas Gilbert [Sun, 28 Apr 2002 12:07:55 +0000 (05:07 -0700)]
[PATCH] scsi mid to lower level api documentation

Here is some documentation to describe the interface of lower level
drivers (e.g.  aic7xxx) in the scsi subsystem.

The patch is made up of a text file: drivers/scsi/scsi_mid_low_api.txt
and some Documentation/DocBook additions to enable html, ps and pdf
renderings.

23 years ago[PATCH] Re: [patch] change mempool to not alter managed elements
Andrew Morton [Sun, 28 Apr 2002 12:07:20 +0000 (05:07 -0700)]
[PATCH] Re: [patch] change mempool to not alter managed elements

Here's an array-based implementation.

23 years ago[PATCH] Removing SYMBOL_NAME part 5
Brian Gerst [Sun, 28 Apr 2002 12:04:30 +0000 (05:04 -0700)]
[PATCH] Removing SYMBOL_NAME part 5

ARM arch

23 years ago[PATCH] Removing SYMBOL_NAME part 4
Brian Gerst [Sun, 28 Apr 2002 12:04:21 +0000 (05:04 -0700)]
[PATCH] Removing SYMBOL_NAME part 4

m68k arch

23 years ago[PATCH] Removing SYMBOL_NAME part 3
Brian Gerst [Sun, 28 Apr 2002 12:04:10 +0000 (05:04 -0700)]
[PATCH] Removing SYMBOL_NAME part 3

SuperH arch

23 years ago[PATCH] Removing SYMBOL_NAME part 2
Brian Gerst [Sun, 28 Apr 2002 12:04:01 +0000 (05:04 -0700)]
[PATCH] Removing SYMBOL_NAME part 2

CRIS and x86-64 arches

23 years ago[PATCH] Removing SYMBOL_NAME part 1
Brian Gerst [Sun, 28 Apr 2002 12:03:00 +0000 (05:03 -0700)]
[PATCH] Removing SYMBOL_NAME part 1

The SYMBOL_NAME macro (and variations) have been obsolete since 2.1.0,
when the option to compile the kernel in a.out format was removed.  This
patch starts the process of removing these macros, starting with x86.

23 years ago[PATCH] get rid of some blk.h cruft
Dave Jones [Sun, 28 Apr 2002 11:58:26 +0000 (04:58 -0700)]
[PATCH] get rid of some blk.h cruft

Originally by Christoph Hellwig back in February.
It recieved no objections when posted to l-k & Jens.

o remove DEVICE_REQUEST definitions - never used in blk.h itself.
o remove DEVICE_ON() - never used at all.
o define LOCAL_END_REQUEST when we do not want end_request() instead
  of other hacks.
o remove DEVICE_OFF() - only used in floppy driver, thus one now has
  a private end_request().
o use private end_request() functions for drivers not providing
  randomness.
o remove TIMEOUT_VALUE - only ever used in hd.c

23 years ago[PATCH] missing cris config.help entries
Dave Jones [Sun, 28 Apr 2002 11:58:15 +0000 (04:58 -0700)]
[PATCH] missing cris config.help entries

Some that got lost along the way...

23 years ago[PATCH] Missing include.
Dave Jones [Sun, 28 Apr 2002 11:57:56 +0000 (04:57 -0700)]
[PATCH] Missing include.

Uses the error codes, but doesn't include err.h

23 years ago[PATCH] broken comment in cris driver
Dave Jones [Sun, 28 Apr 2002 11:57:45 +0000 (04:57 -0700)]
[PATCH] broken comment in cris driver

23 years ago[PATCH] Dynamic LDT sizing.
Dave Jones [Sun, 28 Apr 2002 11:57:35 +0000 (04:57 -0700)]
[PATCH] Dynamic LDT sizing.

Originally from Manfred Spraul.

* dynamically grow the LDT
Every app that's linked against libpthread right now allocates a full 64
kB LDT, without proper error handling, and always from the vmalloc area

23 years ago[PATCH] iphase bits
Dave Jones [Sun, 28 Apr 2002 11:57:26 +0000 (04:57 -0700)]
[PATCH] iphase bits

- Nuke unnecessary include.
- More infortmational debug info

23 years ago[PATCH] MAINTAINERS update
Dave Jones [Sun, 28 Apr 2002 11:57:15 +0000 (04:57 -0700)]
[PATCH] MAINTAINERS update

Various bits mostly from 2.4
Also fix indentation of various entries to match the rest of the file.

23 years ago[PATCH] New synclink multiport driver.
Dave Jones [Sun, 28 Apr 2002 11:57:05 +0000 (04:57 -0700)]
[PATCH] New synclink multiport driver.

Posted multiple times to l-k by Paul Fulghum

23 years ago[PATCH] New synclink_cs driver.
Dave Jones [Sun, 28 Apr 2002 11:56:55 +0000 (04:56 -0700)]
[PATCH] New synclink_cs driver.

Posted multiple times to l-k by Paul Fulghum.

23 years ago[PATCH] x86-64 bluesmoke update
Dave Jones [Sun, 28 Apr 2002 11:56:46 +0000 (04:56 -0700)]
[PATCH] x86-64 bluesmoke update

- Drop Intel P4 bits
- Update other parts in line with latest i386 bluesmoke.c

23 years ago[PATCH] sf16fmi card detect thinko
Dave Jones [Sun, 28 Apr 2002 11:56:35 +0000 (04:56 -0700)]
[PATCH] sf16fmi card detect thinko

Missing loop increment.

23 years ago[PATCH] NCR53c810 PCI quirk
Dave Jones [Sun, 28 Apr 2002 11:56:26 +0000 (04:56 -0700)]
[PATCH] NCR53c810 PCI quirk

This device returns a wrong class code which we work around at boot up time.

23 years ago[PATCH] x86 pci-pc janitor work
Dave Jones [Sun, 28 Apr 2002 11:56:15 +0000 (04:56 -0700)]
[PATCH] x86 pci-pc janitor work

- printk loglevels
- request region checks.

23 years ago[PATCH] Also look in /boot for .config
Dave Jones [Sun, 28 Apr 2002 11:56:05 +0000 (04:56 -0700)]
[PATCH] Also look in /boot for .config

Try to get config file distro placed in boot.

23 years ago[PATCH] recognise P4 Xeon in mptable.
Dave Jones [Sun, 28 Apr 2002 11:55:56 +0000 (04:55 -0700)]
[PATCH] recognise P4 Xeon in mptable.

23 years ago[PATCH] PCI access method fallback.
Dave Jones [Sun, 28 Apr 2002 11:55:46 +0000 (04:55 -0700)]
[PATCH] PCI access method fallback.

Some SiS boards won't boot without pci=bios forcing their method.
The reason for this is in the probe method, we try the BIOS method, and it
succeeds and we store the pci_ops. We then try the direct access, it fails
and we trash the old pci_ops.
The patch stores the pci_ops when BIOS method succeeds and restores it
if the direct hardware access method fails.

23 years ago[PATCH] sonypi update.
Dave Jones [Sun, 28 Apr 2002 11:55:35 +0000 (04:55 -0700)]
[PATCH] sonypi update.

From Stelian, already in 2.4

23 years ago[PATCH] fix xconfig.
Dave Jones [Sun, 28 Apr 2002 11:55:26 +0000 (04:55 -0700)]
[PATCH] fix xconfig.

We now have so many CONFIG_ options we overflow a buffer in xconfig.
Doubling the size should see us until someone either writes a replacement,
or can be bothered to make it dynamically allocate.

23 years ago[PATCH] help texts for patch-kernel
Dave Jones [Sun, 28 Apr 2002 11:55:16 +0000 (04:55 -0700)]
[PATCH] help texts for patch-kernel

23 years ago[PATCH] Jiffies wrap fixes.
Dave Jones [Sun, 28 Apr 2002 11:55:06 +0000 (04:55 -0700)]
[PATCH] Jiffies wrap fixes.

23 years ago[PATCH] bluesmoke update.
Dave Jones [Sun, 28 Apr 2002 11:54:56 +0000 (04:54 -0700)]
[PATCH] bluesmoke update.

o   P4 thermal throttling is now compile time option
o   ifdefs cleaned up due to above
o   Only poke the LVT if thermal throttling is enabled.
o   Remove bogus cache flushing as per previous discussion.
o   Replace hard coded timer values with MCE_RATE
o   Change default polling frequency from 5 to 15 seconds
o   SMP fixes. (Don't readd timer)
o   Compile time warning fixes.
o   Add config helptext

23 years ago[PATCH] Recognise extra TV card
Dave Jones [Sun, 28 Apr 2002 11:54:45 +0000 (04:54 -0700)]
[PATCH] Recognise extra TV card

23 years ago[PATCH] ALI 1644 AGP/DRM support.
Dave Jones [Sun, 28 Apr 2002 11:54:35 +0000 (04:54 -0700)]
[PATCH] ALI 1644 AGP/DRM support.

23 years ago[PATCH] A20 tweak for AMD Elan
Dave Jones [Sun, 28 Apr 2002 11:54:25 +0000 (04:54 -0700)]
[PATCH] A20 tweak for AMD Elan

The A20 code needs a slight tweak to work on AMD Elans.
Original patch from Robert Schwebel

23 years ago[PATCH] xattr locking
Nathan Scott [Sun, 28 Apr 2002 11:46:35 +0000 (04:46 -0700)]
[PATCH] xattr locking

This is a patch from Andreas Gruenbacher (the ext2/ext3 EA patch
maintainer) which converts the extended attribute VFS code from
using the BKL to instead use the inode semaphore; please apply.

23 years ago[PATCH] Report Luns for scsi devices 2.5.10
Douglas Gilbert [Sun, 28 Apr 2002 11:45:21 +0000 (04:45 -0700)]
[PATCH] Report Luns for scsi devices 2.5.10

Here's a patch for SCSI REPORT LUN scanning, including Douglas Gilbert's
recent changes to support a short INQUIRY followed by a longer INQUIRY.

Please apply, or let me know if you think it needs any modifications.

It's against linux-2.5.4. It does _not_ change the size of the linux lun.

A description of the 8 byte LUN layout can be found on page 35 of:

ftp://ftp.t10.org/t10/drafts/scc2/scc2r04.pdf

The above is a draft, but matches the layout seen on most disk arrays
(including EMC, IBM, LSI, and Hitachi). Later drafts (post SCSI-3) have
this information in the SCSI Architectural Model.

Patch description:

Adds REPORT LUN scanning.

Adds Douglas Gilbert's INQUIRY modification so broken devices that cannot handlean INQUIRY
of more than 36 bytes can be black-listed, plus saving the INQUIRY
result in Scsi_Device.

Adds scan_scsis_target function, replacing code in scan_scsis and parts
of scan_scsis_single. This cleans up the scanning code, and removes a
really ugly for loop. It would be difficult to add REPORT LUN scanning
without this change.

Adds missing scsi_release_commandblocks().

No longer sets max_dev_lun out of bounds for BLIST_FORCELUN devices.

Fixes scanning past LUN 7 for SCSI-3 devices (the patch in 2.4.17
for that fix will not cleanly apply against this code).

-- Patrick Mansfield

23 years ago[PATCH] scsi generic (sg) driver 2.5.10
Douglas Gilbert [Sun, 28 Apr 2002 11:45:10 +0000 (04:45 -0700)]
[PATCH] scsi generic (sg) driver 2.5.10

    Changes since 3.5.24 (20020319)
        - use Scsi_Request::upper_private_data
        - zero buffers for non-root users
    Changes since 3.5.23 (20011231)
        - change EACCES to EPERM when O_RDONLY is insufficient
        - suppress newlines in host string
        - fix xfer direction, old interface, short reply_len [Travers Carter]

23 years ago[PATCH] ALSA PATCH against ChangeSet 1.567
Jaroslav Kysela [Sun, 28 Apr 2002 11:24:45 +0000 (04:24 -0700)]
[PATCH] ALSA PATCH against ChangeSet 1.567

Hello,

this ALSA patch contains:

- fixed sound_core.c - devfs names
- added ARM driver for H3x00 iPaq handhelds from Compaq
- added RME Digi32 driver
- increased number of RawMidi devices per card to 8
- removed unimplemented IPC definitions from asequencer.h
- compilation fixes for snd_printk/snd_printd
- added snd_midi_event_no_status() function to seq_midi_event.c
  - used in OSS emulation code to follow OSS/Lite behaviour
- fixed snd_pcm_playback_silence() function (possible memory leak)
- fixed endless loop in snd_pcm_playback_drain()
  - OSS applications using mmap() should end correctly now
- fixed autoloading of sequencer clients (oops)
- fixed virmidi code (emu10k1)
- improved OPL4 chip detection
- fixed deadlock in sound/i2c.h
- improved cs8427 chip support (proper initialization)
- improved CMI8330 detection
- improved S/PDIF detection in ENS1371 driver
- fixed possible NULL pointer dereference in FM801 driver
- added ICH4 to intel8x0 driver
- fixed port names allocation in intel8x0 driver
- fixed rate detection in intel8x0 driver
- AC97 code
  - better initialization for wolfson codecs
  - improved CS4205 support (special S/PDIF handling)
- emu10k1/audigy updates

Jaroslav

23 years ago[PATCH] 2.5.10 IDE 44
Martin Dalecki [Sun, 28 Apr 2002 04:18:09 +0000 (21:18 -0700)]
[PATCH] 2.5.10 IDE 44

Reduce the "rain forest" of pointers a bit.

- Use the channel info from the drive instead of from hwgroup where possible.
   Since we have now a direct association between a channel and irq, we can fix
   the handler for unexpected interrupts to don't have to iterate over multiple
   possibilities.

- Finally it was just possible to remove the circular list of channels
   associated with a hwif. The hwif member of struct hwgroup_s as well as
   next member if struct ata_channel are gone.

- Unify ide_build_sglist() and raw_build_sglist() in to one function.  Use the
   queue associated with a request in the case of a CMD request there instead of
   referencing the device minor number. This will be pushed even further later.

23 years ago[PATCH] 2.5.10 IDE 43
Martin Dalecki [Sun, 28 Apr 2002 03:21:49 +0000 (20:21 -0700)]
[PATCH] 2.5.10 IDE 43

Some of the following is a bit of sensitive... but anyway it has to be done.

- Scarp "portability" macros ide_request_irq() and ide_free_irq().  What a
   great of a surprise in the face of a kernel nowadays ported to nearly any
   major CPU out there, but apparently no platform needs something special here.
   All of them are just using the normal request_irq() and free_irq(). If some
   unusual platform (read obsolete door blocker) I have overlooked intentionally
   needs something special - please just hack the platform specific
   request_irq() and free_irq()-  they are *far off* from being performance
   relevant. (Hint: You could use cooked default irq values to detect there
   whatever the caller was the ATA driver to decide what to do about it.)

- Kill ide_check_region() ide_request_region() and ide_release_region()
   altogether. Add comments explaining the code there.  Same arguments as above
   apply. Additionally we want to be able at some time to do for example mmapped
   PCI address space access on IA32 instead of port IO.

- Rewrite the initialization code to don't use check_region at all. Add some
   comments there, which explain what's actually happening.

- Fix creeping in of a c99 construct.

- Make the main interrupt handler take a channel as data instead of the
   hwgroup. This is the entity an interrupt is physically associated with. PCI
   interrupt sharing is handled in a generically anyway. Analogously the main
   data entity of a device request queue (q->queuedata) is the device and not
   the hwgroup.  However right now we are only able to push it down to the
   channel level. The intention is to advance the choose_drive() function to
   just check for equal interrupt values for serialization of request and
   thus to get rid of the hwgroup altogether.

23 years agoNTFS: 2.0.4 - Cleanups and updates for kernel 2.5.11.
Anton Altaparmakov [Sat, 27 Apr 2002 16:27:58 +0000 (17:27 +0100)]
NTFS: 2.0.4 - Cleanups and updates for kernel 2.5.11.

- Add documentation on how to use the MD driver to be able to use NTFS
stripe and volume sets in Linux and generally cleanup documentation
a bit.

Remove all uses of kdev_t in favour of struct block_device *:
- Change compress.c::ntfs_file_read_compressed_block() to use sb_getblk()
instead of getblk().
- Change super.c::ntfs_fill_suoer() to use bdev_hardsect_size() instead
of get_hardsect_size().
- No need to get old blocksize in super.c::ntfs_fill_super() as
fs/super.c::get_sb_bdev() already does this.
- Set bh->b_bdev instead of bh->b_dev throughout aops.c.

23 years agoMerge bk://linuxvm.bkbits.net/linus-2.5 into cantab.net:/usr/src/tng
Anton Altaparmakov [Sat, 27 Apr 2002 13:09:01 +0000 (14:09 +0100)]
Merge bk://linuxvm.bkbits.net/linus-2.5 into cantab.net:/usr/src/tng

23 years agoNTFS 2.0.3: Small bug fixes, cleanups, and performance improvements.
Anton Altaparmakov [Fri, 26 Apr 2002 14:11:12 +0000 (15:11 +0100)]
NTFS 2.0.3: Small bug fixes, cleanups, and performance improvements.
- Remove some dead code from mft.c.
- Optimize readpage and read_block functions throughout aops.c so that
  only initialized blocks are read. Non-initialized ones have their
  buffer head mapped, zeroed, and set up to date, without scheduling
  any i/o. Thanks to Al Viro for advice on how to avoid the device i/o.
Thanks go to Andrew Morton for spotting the below:
- Fix buglet in allocate_compression_buffers() error code path.
- Call flush_dcache_page() after modifying page cache page contents in
  ntfs_file_readpage().
- Check for existence of page buffers throughout aops.c before calling
  create_empty_buffers(). This happens when an I/O error occurs and the
  read is retried. (It also happens once writing is implemented so that
  needed doing anyway but I had left it for later...)
- Don't BUG_ON() uptodate and/or mapped buffers throughout aops.c in
  readpage and read_block functions. Reasoning same as above (i.e. I/O
  error retries and future write code paths.)

23 years agoUSB core
Greg Kroah-Hartman [Fri, 26 Apr 2002 08:57:44 +0000 (01:57 -0700)]
USB core

added check for num_minors at registration time to catch buggy drivers.

23 years agoUSB core
Greg Kroah-Hartman [Fri, 26 Apr 2002 08:52:19 +0000 (01:52 -0700)]
USB core

document the return value of usb_register_dev() better.

23 years ago[PATCH] One more buggy KVM switch to be blacklisted.
Vojtech Pavlik [Fri, 26 Apr 2002 08:08:32 +0000 (01:08 -0700)]
[PATCH] One more buggy KVM switch to be blacklisted.

USB hid driver

This adds a blacklist entry for another KVM switch
which chokes on get_request().

23 years agoFix migration task boot hang for machines with different physical
James Bottomley [Fri, 26 Apr 2002 05:43:28 +0000 (00:43 -0500)]
Fix migration task boot hang for machines with different physical
and logical CPU numberings.

23 years ago[PATCH] 2.5.10 IDE 42
Martin Dalecki [Fri, 26 Apr 2002 05:37:03 +0000 (22:37 -0700)]
[PATCH] 2.5.10 IDE 42

- Streamline the usage of sector_t over the strategy routines in question a
   bit. Streamline the do_request code in ide-disk.c.

- Improve the readability of start_request in ide.c.

- Remove obsolete/nowhere used stuff from hdreg.h.

- Splitup special_t into classical flag field.

- Use only a single field to determine the capacity of a drive.  Make this
   field and the code paths it follows as far as possible use the sector_t
   instead of a hard coded integer types.  This increases the chances that at
   some distant point in time we will indeed be able to use 64 bit wide sector_t
   entities. (Disks are getting huge those times now...)

23 years agoUse the correct inode for read-ahead trashing/
Linus Torvalds [Fri, 26 Apr 2002 05:35:46 +0000 (22:35 -0700)]
Use the correct inode for read-ahead trashing/

23 years ago[PATCH] permit zero-length readahead, and tidy up readahead
Andrew Morton [Fri, 26 Apr 2002 05:19:30 +0000 (22:19 -0700)]
[PATCH] permit zero-length readahead, and tidy up readahead

- Initialise the per-request_queue readahead parameter properly,
  rather than the dopey "if it's zero you get the deafult"
  approach.

- Permit zero-length readahead.

- 80-columnify mm/readahead.c

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.export-usb
Greg Kroah-Hartman [Fri, 26 Apr 2002 05:19:29 +0000 (22:19 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.export-usb
into kroah.com:/home/greg/linux/BK/work-2.5

23 years agoProperly export drivers/usb/media video interface
Kai Germaschewski [Fri, 26 Apr 2002 08:56:47 +0000 (03:56 -0500)]
Properly export drivers/usb/media video interface

Mark the API functions accessed by other drivers with EXPORT_SYMBOL() and
make the remaining functions static.

23 years ago[PATCH] PATCH 2.5.10 ehci.txt
David Brownell [Fri, 26 Apr 2002 05:14:02 +0000 (22:14 -0700)]
[PATCH] PATCH 2.5.10 ehci.txt

USB ehci documentation update

It mostly updates the description of the EHCI driver to point out
that several non-NEC implementations are now expected to work,
and that (high speed) ISO is supported.

23 years ago[PATCH] PATCH 2.5.10 usbnet, check_connect updates
David Brownell [Fri, 26 Apr 2002 05:13:18 +0000 (22:13 -0700)]
[PATCH] PATCH 2.5.10 usbnet, check_connect updates

USB usbnet driver update

The patch cleans up the handling of connection checking to
match the truth that it's effectively tristate (connected, not,
and can't know) vs binary ("connected" and "can't know"
as the same value, since it was OK to ifup).  Since ethtool
supports the tristate semantics, it matters now.

23 years agoia64: Another set of do_csum() cleanups by Ken Chen.
David Mosberger [Fri, 26 Apr 2002 05:11:31 +0000 (22:11 -0700)]
ia64: Another set of do_csum() cleanups by Ken Chen.

23 years agoMerge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/tng
Anton Altaparmakov [Thu, 25 Apr 2002 19:48:42 +0000 (20:48 +0100)]
Merge cantab.net:/usr/src/bklinux-2.5 into cantab.net:/usr/src/tng

23 years agoMerge wailua.hpl.hp.com:/bk/vanilla/linux-2.5 lia64-v2.5.10
David Mosberger [Thu, 25 Apr 2002 16:29:00 +0000 (09:29 -0700)]
Merge wailua.hpl.hp.com:/bk/vanilla/linux-2.5
into wailua.hpl.hp.com:/bk/lia64/to-linus-2.5

23 years agoia64: Fix merge errors in do_csum().
David Mosberger [Thu, 25 Apr 2002 16:28:08 +0000 (09:28 -0700)]
ia64: Fix merge errors in do_csum().

23 years agoia64: Revert compile-time optimization for bzero().
David Mosberger [Thu, 25 Apr 2002 11:47:34 +0000 (04:47 -0700)]
ia64: Revert compile-time optimization for bzero().

23 years agoia64: Add missing .prologue directive to ip_fast_csum().
David Mosberger [Thu, 25 Apr 2002 09:39:24 +0000 (02:39 -0700)]
ia64: Add missing .prologue directive to ip_fast_csum().

23 years agoia64: Add IA64_ISR_CODE_* macros from Ken's patch.
David Mosberger [Thu, 25 Apr 2002 09:25:07 +0000 (02:25 -0700)]
ia64: Add IA64_ISR_CODE_* macros from Ken's patch.

23 years agoUSB keyspan driver patch that fixes lots of different problems.
Greg Kroah-Hartman [Thu, 25 Apr 2002 09:20:39 +0000 (02:20 -0700)]
USB keyspan driver patch that fixes lots of different problems.

- Modified port open, port close, and send setup() logic to fix various data and endpoint
  synchronization bugs and device LED status bugs.
- Changed keyspan_write_room() to accurately return transmit buffer availability.
- Changed forwardingLength from 1 to 16 for all adapters.

23 years agoia64: Treat lfetch.fault like speculative loads as is required by the
David Mosberger [Thu, 25 Apr 2002 09:02:31 +0000 (02:02 -0700)]
ia64: Treat lfetch.fault like speculative loads as is required by the
architecture definition.  Patch by Ken Chen.

23 years agoia64: Change "McKinley" to "Itanium 2" for user-visible strings.
David Mosberger [Thu, 25 Apr 2002 08:57:36 +0000 (01:57 -0700)]
ia64: Change "McKinley" to "Itanium 2" for user-visible strings.

23 years agoMerge
James Simmons [Thu, 25 Apr 2002 08:27:58 +0000 (01:27 -0700)]
Merge

23 years agoadded support for USB_DYNAMIC_MINORS to the usb drivers that can use it.
Greg Kroah-Hartman [Thu, 25 Apr 2002 08:13:02 +0000 (01:13 -0700)]
added support for USB_DYNAMIC_MINORS to the usb drivers that can use it.

23 years agoadded CONFIG_USB_DYNAMIC_MINORS to the Config.in file :)
Greg Kroah-Hartman [Thu, 25 Apr 2002 08:12:28 +0000 (01:12 -0700)]
added CONFIG_USB_DYNAMIC_MINORS to the Config.in file :)

23 years agoadded CONFIG_USB_DYNAMIC_MINORS support to the USB core
Greg Kroah-Hartman [Thu, 25 Apr 2002 08:11:42 +0000 (01:11 -0700)]
added CONFIG_USB_DYNAMIC_MINORS support to the USB core

Here's a patch that finishes off my previous patch that enabled us to
use less than 16 minor numbers per USB device that uses the USB major
number.  This patch allows all such devices to share all 256 minor
numbers at once, much like the usbserial core shares the USB serial
major with all usb-serial drivers.  This also solves Oliver's problem of
having 30 printers :)

23 years agoSynced to the latest changes in Linus BK tree.
James Simmons [Thu, 25 Apr 2002 07:48:04 +0000 (00:48 -0700)]
Synced to the latest changes in Linus BK tree.

23 years agoia64: Add optimized ip_fast_csum() by Ken Chen and merge his cleanups
David Mosberger [Thu, 25 Apr 2002 07:36:09 +0000 (00:36 -0700)]
ia64: Add optimized ip_fast_csum() by Ken Chen and merge his cleanups
to do_csum.S.

23 years agoUpdate kernel version to 2.5.11
Linus Torvalds [Thu, 25 Apr 2002 07:07:38 +0000 (00:07 -0700)]
Update kernel version to 2.5.11

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.isdn
Linus Torvalds [Thu, 25 Apr 2002 07:05:21 +0000 (00:05 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.isdn
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Thu, 25 Apr 2002 07:04:31 +0000 (00:04 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.export
Kai Germaschewski [Thu, 25 Apr 2002 10:46:07 +0000 (05:46 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.export
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make

23 years agoRules.make cleanup
Kai Germaschewski [Thu, 25 Apr 2002 10:31:20 +0000 (05:31 -0500)]
Rules.make cleanup

Get rid of traces of the old-style ALL_MOBJS variable.

This also fixes the following issue, which could cause a warning with
certain configs:

Makefiles (legally) do:

obj-$(CONFIG_SND_AD1848) += snd-pcm.o snd-timer.o snd.o
obj-$(CONFIG_SND_CS4231) += snd-pcm.o snd-timer.o snd.o snd-rawmidi.o

so when the first option is set to y, the second to m, we have e.g.
snd-pcm.o on both $(obj-y) and $(obj-m). We correctly don't build
the modular version in this case.

However, if snd-pcm.o was a multi-part object, we did automatically
generate a link rule for both the modular and the built-in version,
which caused a warning - that's now fixed.

23 years agoMerge
Kai Germaschewski [Thu, 25 Apr 2002 08:28:57 +0000 (03:28 -0500)]
Merge

23 years ago[PATCH] (15/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:51:23 +0000 (23:51 -0700)]
[PATCH] (15/15) big struct block_device * push (first series)

 - switch md_error() to struct block_device * - just cleaning up
   after ->bi_dev switch.

23 years ago[PATCH] (14/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:51:13 +0000 (23:51 -0700)]
[PATCH] (14/15) big struct block_device * push (first series)

 - bdevname() switched to struct block_device *.  Old variant (taking
   kdev_t) renamed to __bdevname() (very few callers remain).  This
   allow to drop ->b_dev conveniently - it's duplicated by ->b_bdev
   and most of remaining users were bdevname(bh->b_dev) in various
   places.

23 years ago[PATCH] (13/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:51:04 +0000 (23:51 -0700)]
[PATCH] (13/15) big struct block_device * push (first series)

 - *NOW* all places that (re)assign ->bi_dev have relevant struct
   block_device *.  ->bi_bdev (struct block_device * equivalent of
   ->bi_dev) introduced, ->bi_dev removed, users updated.

23 years ago[PATCH] (12/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:50:52 +0000 (23:50 -0700)]
[PATCH] (12/15) big struct block_device * push (first series)

 - block/loop.c - switch ->lo_device to struct block_device *.

23 years ago[PATCH] (11/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:50:44 +0000 (23:50 -0700)]
[PATCH] (11/15) big struct block_device * push (first series)

 - (JFS) removes ->dev from struct jfs_log - it's duplicated by
   ->bdev.  Old users of ->dev updated.

23 years ago[PATCH] (10/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:50:35 +0000 (23:50 -0700)]
[PATCH] (10/15) big struct block_device * push (first series)

 - md/linear.c - bring struct block_device * into private data.

23 years ago[PATCH] (9/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:50:28 +0000 (23:50 -0700)]
[PATCH] (9/15) big struct block_device * push (first series)

 - this one is interesting and will play in the next series as well;
   affected place is fs/block_dev.c::do_open().  We check if bdev is
   a partition (same way it is done in generic_make_request()) and
   if it is - open entire disk and put pointer to its bdev into a
   new field bdev->bd_contains.  Otherwise (non-partition) we
   set bdev->bd_contains to bdev.  Corresponding cleanup done in
   blkdev_put() (and failure path in do_open()) - when the last opener
   goes away we close bdev->bd_contains if bdev is a partition (i.e.
   not equal to its ->bd_contains) and set it to NULL.
   Immediate effect is that we can get from bdev of partition to
   bdev of disk when submitting a bio, but it also opens a way
   to handle partition-parsing in a sane way.  That will be done
   in the next series.

23 years ago[PATCH] (8/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:50:17 +0000 (23:50 -0700)]
[PATCH] (8/15) big struct block_device * push (first series)

 - md/raid1.c - bring struct block_device * into private data.

23 years ago[PATCH] (7/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:50:10 +0000 (23:50 -0700)]
[PATCH] (7/15) big struct block_device * push (first series)

 - md/multipath.c convert to bio, compile fixes, bring struct
   block_device * into private data.

23 years ago[PATCH] (6/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:50:03 +0000 (23:50 -0700)]
[PATCH] (6/15) big struct block_device * push (first series)

 - switch loop_set_fd() to struct block_device

23 years ago[PATCH] (5/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:49:55 +0000 (23:49 -0700)]
[PATCH] (5/15) big struct block_device * push (first series)

 - switch blk_{get,set}_readahead() to struct block_device *

23 years ago[PATCH] (4/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:49:42 +0000 (23:49 -0700)]
[PATCH] (4/15) big struct block_device * push (first series)

 - switch block_ioctl() to struct block_device *

23 years ago[PATCH] (3/15) big struct block_device * push (first series)
Alexander Viro [Thu, 25 Apr 2002 06:49:34 +0000 (23:49 -0700)]
[PATCH] (3/15) big struct block_device * push (first series)

 - new helpers: queue_hardsect_size() and bdev_hardsect_size().  Analogous
   to get_hardsect_size() for queue and struct block_device * respectively
   Most of get_hardsect_size() callers converted to these.