]> git.hungrycats.org Git - linux/log
linux
23 years agoUpdate defconfig and version v2.5.6
Linus Torvalds [Thu, 7 Mar 2002 09:50:57 +0000 (01:50 -0800)]
Update defconfig and version

23 years agoRemove circular header file dependency
Linus Torvalds [Thu, 7 Mar 2002 09:50:14 +0000 (01:50 -0800)]
Remove circular header file dependency

23 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Thu, 7 Mar 2002 09:13:15 +0000 (01:13 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] matroxfb compile fix
Petr Vandrovec [Thu, 7 Mar 2002 09:00:08 +0000 (01:00 -0800)]
[PATCH] matroxfb compile fix

* Make matroxfb compilable with Mystique, but without G450 support.

Petr Vandrovec

23 years agoMerge bk://are.twiddle.net:8080/axp-2.5
Linus Torvalds [Thu, 7 Mar 2002 08:59:10 +0000 (00:59 -0800)]
Merge bk://are.twiddle.net:8080/axp-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] cramfs updates for 2.5.6-pre2
Daniel Quinlan [Thu, 7 Mar 2002 08:58:46 +0000 (00:58 -0800)]
[PATCH] cramfs updates for 2.5.6-pre2

Documentation/filesystems/cramfs.txt
  - remove comment about ROM size limit
  - fix up magic
  - update location of tools

fs/cramfs/README
  - add note about sorted directory entries
  - mkcramfs compile-time DO_HOLES option replaced by run-time -z option
  - update tools section
  - add note about PAGE_CACHE_SIZE possibly changing on arm and ia64

fs/cramfs/inode.c
  - statfs->f_namelen = CRAMFS_MAXPATHLEN

include/linux/cramfs_fs.h
  - add CRAMFS_MAXPATHLEN (252)
  - clarify CRAMFS_SUPPORTED_FLAGS definition

scripts/cramfs
  - directory removed, the cramfs user-space tools are now located at
    <http://sourceforge.net/projects/cramfs/>.

23 years ago[PATCH] Two small compile fixes for x86-64
Andi Kleen [Thu, 7 Mar 2002 08:57:13 +0000 (00:57 -0800)]
[PATCH] Two small compile fixes for x86-64

Here are two small compile fixes for x86-64 in 2.5.6pre2.
- Remove call to schedule_tail.
- Fix inline assembly of semaphores to work with latest gcc 3.1.

23 years ago[PATCH] smbfs unicode support
Urban Widmark [Thu, 7 Mar 2002 08:55:56 +0000 (00:55 -0800)]
[PATCH] smbfs unicode support

This patch adds unicode support and wants to be applied on top of the LFS
one. It uses a fake nls module to do the (little endian) unicode
translation.

23 years ago[PATCH] smbfs LFS
Urban Widmark [Thu, 7 Mar 2002 08:55:51 +0000 (00:55 -0800)]
[PATCH] smbfs LFS

This patch adds LFS and moves some smb operations into per-protocol level
structs. It wants the nls patch to applied already.

23 years ago[PATCH] smbfs nls oops fix
Urban Widmark [Thu, 7 Mar 2002 08:55:46 +0000 (00:55 -0800)]
[PATCH] smbfs nls oops fix

Fixes smbfs oopsing on failed nls translations and maps unknown chars to
:#### strings. Also PATHLEN vs NAMELEN mixups.

23 years ago[PATCH] forward port of NUMA-Q pci patch from 2.4.19-pre2
Martin J. Bligh [Thu, 7 Mar 2002 08:54:03 +0000 (00:54 -0800)]
[PATCH] forward port of NUMA-Q pci patch from 2.4.19-pre2

This patch enables PCI buses on nodes above node 0 for
the NUMA-Q architecture. It also enables node-directed
port/IO, and cleans up a couple of tiny things that only
affect CONFIG_MULTIQUAD.

23 years agoAutomerge
Linus Torvalds [Thu, 7 Mar 2002 08:51:47 +0000 (00:51 -0800)]
Automerge

23 years agoAutomerge
Linus Torvalds [Thu, 7 Mar 2002 08:51:20 +0000 (00:51 -0800)]
Automerge

23 years agoUSB Pegasus driver patch
Petko Manolov [Thu, 7 Mar 2002 08:48:22 +0000 (00:48 -0800)]
USB Pegasus driver patch

the patch is against 2.5.6-pre3 and contains:
        - ethtool support;
        - using mii.h for the MII registers and constants;
        - 2 more device/vendor IDs added;

23 years ago[PATCH] SCSI cdrom cleanup
Christoph Hellwig [Thu, 7 Mar 2002 08:47:49 +0000 (00:47 -0800)]
[PATCH] SCSI cdrom cleanup

This is one of the very early steps on cleaning up the SCSI cdrom
driver.  It gets rid of directly accessing the scsi_CDs array in favour
of using the handle we get from the generic cdrom layer.  Also uses
local vars instead of many grouped scsi_CDs accesses in other places.

The gain is to get rid of the global, static array of CDROMS
in the end.

23 years agoUSB
David Brownell [Thu, 7 Mar 2002 08:47:41 +0000 (00:47 -0800)]
USB
ehci-0306, iso, philips, speedups

      - adds preliminary highspeed ISO support
      - tweaks the driver to support the Philips EHCI
      - does less in the IRQ handler
      - avoids accessing one immutable PCI register

The ISO support should be enough to start writing
drivers, not that I know of any ISO devices that are
really available yet, but it's not fully cooked yet.

As a functional milestone, this means Linux now
handles all kinds of highspeed device I/O.  (But it
doesn't yet handle split periodic transactions, to
full or low speed devices through USB 2.0 hubs.)

Thanks to Rory Bolt for the non-ISO bits here!

23 years ago[PATCH] execve TGID dethreading bug fix
David Howells [Thu, 7 Mar 2002 08:46:44 +0000 (00:46 -0800)]
[PATCH] execve TGID dethreading bug fix

kill all subsidiary threads in a thread group when the main thread
exits.

Features:

 - It sends the subsidiary threads SIGKILL with SI_DETHREAD.

 - Subsidiary threads doing an execve() just leave the thread group (rather
   than forcing the master thread to do an execve() which would be more POSIX
   like).

23 years agoUSB
David Brownell [Thu, 7 Mar 2002 08:46:43 +0000 (00:46 -0800)]
USB
hcd-0305, periodic and pci fixup

      - removes the pci dependency you mentioned in the
        rh_string code (friendlier to non-PCI HCs)
      - makes code match doc (8859-1 chars, not just ascii)
      - adds sanity checking for the periodic transfer interval,
        and forces it to a power-of-two (code can leave HCDs)
      - facilitates better IRQ sharing

23 years agoUSB ir-usb.c driver
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:45:54 +0000 (00:45 -0800)]
USB ir-usb.c driver
- removed dependancy on net/irda header files from the driver.

23 years agoUSB
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:44:59 +0000 (00:44 -0800)]
USB
 - changed printer.c to use dynamic urbs, as that is now necessary.

23 years ago[PATCH] misc_register/request_region
Rusty Russell [Thu, 7 Mar 2002 08:44:55 +0000 (00:44 -0800)]
[PATCH] misc_register/request_region

These are the small subset which were obviously correct.

Evgeniy Polyakov <johnpol@2ka.mipt.ru>:
Patches check return values for request_region() and misc_register().
This patches make janitorial project TODO list a bit smaller.

23 years ago[PATCH] 2.5.6-pre3. APM idle fix.
Rusty Russell [Thu, 7 Mar 2002 08:44:50 +0000 (00:44 -0800)]
[PATCH] 2.5.6-pre3. APM idle fix.

Stephen Rothwell <sfr@canb.auug.org.au>: [PATCH] APM idleing fix:

This bug slipped back in with the need_resched() macro substitution.

23 years ago[PATCH] 2.5.6-pre3. Documentation
Rusty Russell [Thu, 7 Mar 2002 08:44:45 +0000 (00:44 -0800)]
[PATCH] 2.5.6-pre3. Documentation

atomic ops are *not* barriers any more.

Sebastian Wilhelmi <wilhelmi@ira.uka.de>: Re: Question on your "Unreliable Guide To Locking":
  > Yes, this is no longer true.  The modern assumptions are that they are
  > not barriers.

23 years agochanged drivers/usb/Config.in to not display any USB items if CONFIG_USB is not
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:44:07 +0000 (00:44 -0800)]
changed drivers/usb/Config.in to not display any USB items if CONFIG_USB is not
set.

23 years agochanged maintainer of USB Keyspan drivers from Hugh to me.
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:43:17 +0000 (00:43 -0800)]
changed maintainer of USB Keyspan drivers from Hugh to me.

23 years ago[PATCH] pnpbios compilation warning fix
Kai Germaschewski [Thu, 7 Mar 2002 08:40:19 +0000 (00:40 -0800)]
[PATCH] pnpbios compilation warning fix

Declare pnpbios_init as returning int, as __initcalls are supposed to.

23 years ago[PATCH] init/do_mounts compilation warning fix
Kai Germaschewski [Thu, 7 Mar 2002 08:40:14 +0000 (00:40 -0800)]
[PATCH] init/do_mounts compilation warning fix

The compiler warns about about crd_load being defined but never used with
my config. The appended patch avoids compiling in the unused code in this
case.

23 years ago[PATCH] Use phys_to_virt instead of bus_to_virt in vesafb
Kai Germaschewski [Thu, 7 Mar 2002 08:40:09 +0000 (00:40 -0800)]
[PATCH] Use phys_to_virt instead of bus_to_virt in vesafb

Several people (including Alan Cox) on lkml claimed that the BIOS
returns CPU addresses, so using phys_to_virt is actually correct -
and it makes my kernel compile again.

As vesafb only compiles on i386, using a more portable API isn't useful,
anyway.

23 years ago[PATCH] make irtty.c compile again
Anders Gustafsson [Thu, 7 Mar 2002 08:38:51 +0000 (00:38 -0800)]
[PATCH] make irtty.c compile again

irtty.c includes irqueue.h which includes linux/cache.h (via
asm/processor.h <- asm/thread_info.h <- linux/thread_info.h <-
linux/spinlock.h)

both irqueue.h and cache.h defines a ALIGN (for different
purposes).

This patch renames ALIGN in irqueue.h to IRDA_ALIGN.

23 years agoMerge bk://bcrlbits.bkbits.net/linux-2.5
Linus Torvalds [Thu, 7 Mar 2002 08:37:25 +0000 (00:37 -0800)]
Merge bk://bcrlbits.bkbits.net/linux-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoFix a bug in fs/inode.c that would result in inodes not being properly synced for...
Benjamin LaHaise [Thu, 7 Mar 2002 10:15:45 +0000 (05:15 -0500)]
Fix a bug in fs/inode.c that would result in inodes not being properly synced for O_SYNC writes

23 years agoext2 minor cleanup: ext2_fsync_inode is only used from ext2_fsync_file, so merge it
Benjamin LaHaise [Thu, 7 Mar 2002 10:13:16 +0000 (05:13 -0500)]
ext2 minor cleanup: ext2_fsync_inode is only used from ext2_fsync_file, so merge it

23 years agoA bit too much cut-and-paste in the newly added e100 driver
Linus Torvalds [Thu, 7 Mar 2002 08:37:04 +0000 (00:37 -0800)]
A bit too much cut-and-paste in the newly added e100 driver
makefile rules..

23 years agoFix type mismatch in min()
Linus Torvalds [Thu, 7 Mar 2002 08:36:32 +0000 (00:36 -0800)]
Fix type mismatch in min()

23 years agoMake sure no user level thing can trigger debug breakpoints
Linus Torvalds [Thu, 7 Mar 2002 08:36:03 +0000 (00:36 -0800)]
Make sure no user level thing can trigger debug breakpoints
inside the kernel on x86 (TF is writable)

23 years agoFix up arch/i386/kernel/time.c symbol export breakage
Linus Torvalds [Thu, 7 Mar 2002 08:35:10 +0000 (00:35 -0800)]
Fix up arch/i386/kernel/time.c symbol export breakage

23 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Thu, 7 Mar 2002 02:31:24 +0000 (18:31 -0800)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoMerge http://gkernel.bkbits.net/hdlc-2.5
Linus Torvalds [Thu, 7 Mar 2002 02:29:24 +0000 (18:29 -0800)]
Merge http://gkernel.bkbits.net/hdlc-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoMerge http://gkernel.bkbits.net/misc-2.5
Linus Torvalds [Thu, 7 Mar 2002 02:28:58 +0000 (18:28 -0800)]
Merge http://gkernel.bkbits.net/misc-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoMove OSS documentation files into their own subdirectory
Linus Torvalds [Thu, 7 Mar 2002 02:27:10 +0000 (18:27 -0800)]
Move OSS documentation files into their own subdirectory

23 years ago[PATCH] ALSA patch for 2.5.6pre2
Jaroslav Kysela [Thu, 7 Mar 2002 02:10:05 +0000 (18:10 -0800)]
[PATCH] ALSA patch for 2.5.6pre2

Hello,

this recent ALSA patch includes:

- added initial version of Config.help files
- moved /proc/asound/sndstat to /proc/asound/oss/sndstat
- moved /proc/asound/oss-devices to /proc/asound/oss/devices
- snd-rtctimer updates (blocking of RTC driver change)
- added ioctl conversion code for 32-bit applications running on 64-bit kernels
- fixed dependencies in makefiles
- wavefront driver cleanups (removed LOOPS_PER_SEC)
- created Documentation/sound/alsa directory

Jaroslav

23 years agoMove dmfe, winbond-840, xircom_cb, xircom_tulip_cb, de2104x and de4x5
Jeff Garzik [Thu, 7 Mar 2002 00:35:22 +0000 (19:35 -0500)]
Move dmfe, winbond-840, xircom_cb, xircom_tulip_cb, de2104x and de4x5
net drivers to drivers/net/tulip directory.

23 years agoUpdate starfire and tulip net drivers to use new PCI API functions
Jeff Garzik [Wed, 6 Mar 2002 23:41:44 +0000 (18:41 -0500)]
Update starfire and tulip net drivers to use new PCI API functions
pci_set_mwi and pci_clear_mwi.

23 years agoRevert to older xircom_cb net driver. This older one is far
Jeff Garzik [Wed, 6 Mar 2002 23:22:59 +0000 (18:22 -0500)]
Revert to older xircom_cb net driver.  This older one is far
more reliable in testing, and works for all cases as near as
everyone can tell.

Contributor: Arjan @ RedHat

23 years agoMerge Intel EtherExpress PRO/100 net driver "e100" from Intel,
Jeff Garzik [Wed, 6 Mar 2002 22:48:44 +0000 (17:48 -0500)]
Merge Intel EtherExpress PRO/100 net driver "e100" from Intel,
version 2.0.19, plus boolean cleanups.
Bump version to 2.0.20-pre1.

Contributors: Eli Kupermann @ Intel, Amir Noam @ Intel

23 years agoMerge new tg3 version 0.96 gigabit ethernet driver.
Jeff Garzik [Wed, 6 Mar 2002 22:20:03 +0000 (17:20 -0500)]
Merge new tg3 version 0.96 gigabit ethernet driver.

23 years agoWAN drivers update 5/5:
François Romieu [Wed, 6 Mar 2002 21:48:02 +0000 (16:48 -0500)]
WAN drivers update 5/5:
New file and directory include/linux/hdlc/ioctl.h, containing
only WAN ioctl-related definitions.
Update include/linux/if.h to reference these structures, providing
us with complete type safety, including through ioctls.

23 years agoWAN driver update 4/5:
François Romieu [Wed, 6 Mar 2002 21:44:32 +0000 (16:44 -0500)]
WAN driver update 4/5:
Clean up WAN device protocol structure accesses to be type-safe,
and not have to store the data length of structures.

23 years agoWAN drivers update 3/5:
François Romieu [Wed, 6 Mar 2002 21:42:39 +0000 (16:42 -0500)]
WAN drivers update 3/5:
Clean up WAN driver ioctl handling to be more independent
of line settings structure changes.

23 years agoWAN drivers update 2/5:
François Romieu [Wed, 6 Mar 2002 21:40:16 +0000 (16:40 -0500)]
WAN drivers update 2/5:
s/SIOCDEVICE/SIOCWANDEV/

23 years agoWAN drivers update 1/5:
François Romieu [Wed, 6 Mar 2002 21:37:33 +0000 (16:37 -0500)]
WAN drivers update 1/5:
Add new HDLC interface, split up huge hdlc.c driver into
multiple files based on hardware type.  Convert WAN drivers
to new interface.

23 years agoUpdate pcnet32 net driver with the following changes:
Go Taniguchi [Wed, 6 Mar 2002 21:26:01 +0000 (16:26 -0500)]
Update pcnet32 net driver with the following changes:
v1.27   improved CSR/PROM address detection, lots of cleanups,
       new pcnet32vlb module option, HP-PARISC support,
       added module parameter descriptions,
       initial ethtool support - Helge Deller <deller@gmx.de>
v1.27a  Sun Feb 10 2002 Go Taniguchi <go@turbolinux.co.jp>
       use alloc_etherdev and register_netdev
       fix pci probe not increment cards_found
       FD auto negotiate error workaround for xSeries250
       clean up and using new mii module

23 years agoAdd dev->last_rx = jiffies at time of raw interface packet receive,
Dave Jones [Wed, 6 Mar 2002 21:18:29 +0000 (16:18 -0500)]
Add dev->last_rx = jiffies at time of raw interface packet receive,
for the following net drivers:

Several ham radio, several IrDA, lp4863, pcnet32, saa9730,
wireless orinoco.

23 years agoMODULE_DESC net drivers cleanup.
Paul Gortmaker [Wed, 6 Mar 2002 21:08:23 +0000 (16:08 -0500)]
MODULE_DESC net drivers cleanup.

Idea is that if there is a valid name in MODULE_DESCRIPTION("...")
then the name of the hardware/driver should not be also repeated
in each MODULE_PARM_DESC("...").  MODULE_DESCRIPTION has been
added to essentially all the 8390 drivers.

All of the drivers changed are 8390 based, with the exception of
eepro100 and 3c509.

23 years agoUpdate SysKonnect gigabit ethernet driver to support
Ken Brownfield [Wed, 6 Mar 2002 21:02:52 +0000 (16:02 -0500)]
Update SysKonnect gigabit ethernet driver to support
the second port on dual-port SK-9844 NICs.

23 years agoFix dmfe net driver build with newer binutils.
Sebastian Dröge [Wed, 6 Mar 2002 20:59:32 +0000 (15:59 -0500)]
Fix dmfe net driver build with newer binutils.

23 years agolanstreamer token ring driver update:
Kent Yoder [Wed, 6 Mar 2002 20:55:49 +0000 (15:55 -0500)]
lanstreamer token ring driver update:
08/15/01 - Added ioctl() functionality for debugging, changed netif_*_queue
           calls and other incorrectness - Kent Yoder <yoder1@us.ibm.com>
11/05/01 - Restructured the interrupt function, added delays, reduced the
           the number of TX descriptors to 1, which together can prevent
           the card from locking up the box - <yoder1@us.ibm.com>

23 years agoFix 3c505 net driver merge error:
Dave Jones [Wed, 6 Mar 2002 20:52:56 +0000 (15:52 -0500)]
Fix 3c505 net driver merge error:
Remove duplicated ethtool ioctl handling code, fixing build.

23 years agoFix PCI build when procfs is disabled.
Eric Sandeen [Wed, 6 Mar 2002 20:46:35 +0000 (15:46 -0500)]
Fix PCI build when procfs is disabled.

23 years agos/foo/DE4X5_foo/ in de4x5 net driver, to fix conflict
Jeff Garzik [Wed, 6 Mar 2002 16:47:46 +0000 (11:47 -0500)]
s/foo/DE4X5_foo/ in de4x5 net driver, to fix conflict
with public namespace.

23 years agoHand merge.
Jeff Garzik [Wed, 6 Mar 2002 16:38:57 +0000 (11:38 -0500)]
Hand merge.

23 years agoAdd new architecture PCI API function helper, pdev_set_mwi().
Jeff Garzik [Wed, 6 Mar 2002 16:23:59 +0000 (11:23 -0500)]
Add new architecture PCI API function helper, pdev_set_mwi().
Add new PCI API functions pci_set_mwi(), pci_clear_mwi().

23 years agoTypo fix for linux/compiler.h.
Jeff Garzik [Wed, 6 Mar 2002 14:56:34 +0000 (09:56 -0500)]
Typo fix for linux/compiler.h.
(a few csets later on this is auto-merged away)

23 years agoWell, duh!
Linus Torvalds [Wed, 6 Mar 2002 14:41:35 +0000 (06:41 -0800)]
Well, duh!

Initialize preempt count outside the spinlocks that can
themselves impact it on SMP.

23 years agostarfire net driver updates:
Ion Badulescu [Wed, 6 Mar 2002 12:15:35 +0000 (07:15 -0500)]
starfire net driver updates:
* Sparc64 support and fixes.
* Better stats and error handling.

23 years agos/kfree/kfree_skb/ in drivers/s390/net/ctctty.c.
Jeff Garzik [Wed, 6 Mar 2002 12:08:49 +0000 (07:08 -0500)]
s/kfree/kfree_skb/ in drivers/s390/net/ctctty.c.
Contributor forgotten :(

23 years agoMerge mandrakesoft.com:/spare/vanilla/linus-2.5
Jeff Garzik [Wed, 6 Mar 2002 11:34:35 +0000 (06:34 -0500)]
Merge mandrakesoft.com:/spare/vanilla/linus-2.5
into mandrakesoft.com:/spare/repo/net-drivers-2.5

23 years agoRemove VT8233 pci id, it is not fully supported by the old OSS
Jeff Garzik [Wed, 6 Mar 2002 11:30:00 +0000 (06:30 -0500)]
Remove VT8233 pci id, it is not fully supported by the old OSS
via82cxxx_audio driver.

23 years agoRemove duplicate code in jfs_dtree.c.
Dave Kleikamp [Wed, 6 Mar 2002 08:56:34 +0000 (02:56 -0600)]
Remove duplicate code in jfs_dtree.c.

It looks like I had applied a patch to the code twice, and both succeeded.

23 years agoJFS: Limit readdir offset to signed integer.
Dave Kleikamp [Wed, 6 Mar 2002 08:52:43 +0000 (02:52 -0600)]
JFS: Limit readdir offset to signed integer.

NFSv2 does not like negative values for the offset.

Submitted by Christoph Hellwig.

23 years ago[PATCH] IDE 17 (not just cleanup) v2.5.6-pre3
Martin Dalecki [Wed, 6 Mar 2002 08:49:05 +0000 (00:49 -0800)]
[PATCH] IDE 17 (not just cleanup)

This is actually an attempt to remove some stall code from
this driver. However if some *real* users complain (Not just
the usuall: "Hey - if someone!" but the "Hey I'm using this!")
I'm all open to reenable it. Since I prepared this patch
yerstoday it doesn't contain the ide_module.h fixup. This will
follow later.

- Don't use the convoluted byte type in ide-pci.c. Just use the proper
   u8instead.

- Move ide_get_or_set_dma_base to the only place where it's used and
   reorganize the code there by killing the unnecessary
   CONFIG_BLK_DEV_IDEDMA_FORCED configuration option.

- Remove unfunctional CONFIG_PKT_TASK_IOCTL code.

- Kill unused ALTSTAT_SCREW_UP code.

- Tons of dead code removed from ide-taskfile.c (#if 0 #endif and
   friends)

- Remove unused IDE_DEBUG macro as well as lots of other name space
   pollution from ide.h.

- Start using the ide_lock spin-lock for protecting access to data
   structures instead of the excessive interrupt disabling games.

- Shorten the proc ouput of the piix initialization module.

- Remove special /proc tape "name" output from ide-tape.c. This was
   redundant data which should only show up on syslog anyway.

- Kill the REALLY_FAST_IO undef from the ide.h. This was a mistake
   present since far too many years in this driver. The proper way to
   deal with broken systems is to define REALLY_SLOW_IO in system
   dependent headers or particular driver files.  We can always
   reintroduce it easy if real users will complain, since OUT_BYTE() and
   similar can be used as hooks. But I don't expect anybody reporting
   about this. Even on the most broken IDE chip in the world (cmd640
   at VLB) undefining this *always* worked for me. Nearly all the code
   pieces in the ide driver code *reverted* it's effects explicitly
   anyway.

- Remove the obsolete CONFIG_BLK_DEV_4DRIVES support. This was supposed
   to support 4 drivers attached at one channel on some older chipsets,
   in esp. Tekram 690CD, in the last century. They where all supposed to
   work at a register set starting at the base address 0x1f0.  Before
   complaining that this is removing functionality, please note that this
   must have been broken for already quite a long time, since the ide
   driver didn't contain the special device selection methods implicated
   by this any longer.  It didn't scan   this port too if PCI host chip
   support was enabled (as it is in all those distributions around
   there).  On the other hand this is the most prominent case of
   incoherent use of the mate member in the struct hwif_s. And please
   think about how big the probability is, that there are systems out
   there, where there are actually 4 drivers on such a channel?

- Streamline module initialization code by removing one shoot functions.

- Make the WAIT_READY value used in case of CONFIG_APM or
   CONFIG_APM_MODULE the default, since this is what really reflects the
   behavior of modern drives. It won't hurt any other case and finally
   removing it is reducing the necessary coverage for overall driver code
   testing/analysis.

- Move the IDE_LARGE_SEEK macro to the only place where it's actually
   used. Replace the IDE_MIN() and IDE_MAX() drivers with the obvious.
   Remove unused SPLIT_WORD and MAKE WORD from the local header.

- Remove CMD640_DUMP_REGS from global scope, since there is no
   development done on this any longer. Finally, the way the host chip
   initialization routines are called changed in the time between allows
   this to remain fully local to the host chip driver in question.

- Some spell checking of comments in the code. (Yeep I have extended my
   Vim to do this the "Word" way with nice undercurl lines... mozilla
   remains to be fixed...)

23 years agoMerge bk://linuxvm.bkbits.net/linux-2.5-vmtidbits
Linus Torvalds [Wed, 6 Mar 2002 08:46:23 +0000 (00:46 -0800)]
Merge bk://linuxvm.bkbits.net/linux-2.5-vmtidbits
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] Re: "rename" breakage?
Alexander Viro [Wed, 6 Mar 2002 08:27:20 +0000 (00:27 -0800)]
[PATCH] Re: "rename" breakage?

The fix for rename broke "link()". Fixed.

23 years agoKernel lock exclusion is actually needed in the boot sequence,
Linus Torvalds [Wed, 6 Mar 2002 08:25:30 +0000 (00:25 -0800)]
Kernel lock exclusion is actually needed in the boot sequence,
so we need to make init_idle() aware of it so that it gets the
preempt_count initialization right.

23 years agoFix percpu patch breakage
Linus Torvalds [Wed, 6 Mar 2002 08:22:31 +0000 (00:22 -0800)]
Fix percpu patch breakage

23 years ago[PATCH] Re: "rename" breakage?
Alexander Viro [Tue, 5 Mar 2002 11:24:42 +0000 (03:24 -0800)]
[PATCH] Re: "rename" breakage?

I've found what's going on there.  Basically, we should not use
__user_walk() with LOOKUP_PARENT - nd->last.name is set to the last
component of the name and freeing that name before we are done is not a
good idea.

23 years agoupdate defconfig file
Linus Torvalds [Tue, 5 Mar 2002 07:29:30 +0000 (23:29 -0800)]
update defconfig file

23 years ago[PATCH] Re: [PATCH] idle task preempt_count fix
Robert Love [Tue, 5 Mar 2002 07:19:34 +0000 (23:19 -0800)]
[PATCH] Re: [PATCH] idle task preempt_count fix

On SMP systems, preempt_count is erroneously set to 1 for idle task's on
all CPU besides CPU0.  This patch sets preempt_count properly.

Robert Love

23 years ago[PATCH] BSD partition handling
Andries E. Brouwer [Tue, 5 Mar 2002 07:18:18 +0000 (23:18 -0800)]
[PATCH] BSD partition handling

I see that this is fixed now in 2.2 and 2.4, but 2.5 still has broken
BSD partition handling.  Here a fix.

Andries

23 years ago[PATCH] 3ware driver update for 2.5.6-pre3
Adam Radford [Tue, 5 Mar 2002 07:16:17 +0000 (23:16 -0800)]
[PATCH] 3ware driver update for 2.5.6-pre3

 - Fix bug in tw_aen_complete() where aen's could be lost.
   Fix tw_aen_drain_queue() to display useful info at init.
   Set tw_host->max_id for 12 port cards.
   Add ioctl support for raw command packet post from userspace
   with sglist fragments (parameter and io).
 - Fix read capacity to under report by 1 sector to fix get
   last sector ioctl.
 - Fix bug where more AEN codes weren't coming out during
   driver initialization.
   Improved handling of PCI aborts.
 - Fix bug in tw_findcards() where AEN code could be lost.
   Increase timeout in tw_aen_drain_queue() to 30 seconds.
 - Re-write raw command post with data ioctl method.
   Remove raid5 bounce buffers for raid5 for 6XXX for kernel 2.5
   Add tw_map/unmap_scsi_sg/single_data() for kernel 2.5
   Replace io_request_lock with host_lock for kernel 2.5
   Set max_cmd_len to 16 for 3dm for kernel 2.5
 - Set host->max_sectors back up to 256.
 - Modified pci parity error handling/clearing from config space
   during initialization.
 - Better handling of request sense opcode and sense information
   for failed commands.  Add tw_decode_sense().
   Replace all mdelay()'s with scsi_sleep().
 - Revert mdelay's and scsi_sleep's, this caused problems on
   some SMP systems.
 - Add pci_set_dma_mask(), rewrite kmalloc()/virt_to_bus() to
   pci_alloc/free_consistent().

23 years agoMerge bk://bcrlbits.bkbits.net/linux-2.5
Linus Torvalds [Tue, 5 Mar 2002 07:12:17 +0000 (23:12 -0800)]
Merge bk://bcrlbits.bkbits.net/linux-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] 2.4.18, 2.5.5: I/O APIC through-8259A mode IRQ 0 routing
Maciej W. Rozycki [Tue, 5 Mar 2002 07:11:20 +0000 (23:11 -0800)]
[PATCH] 2.4.18, 2.5.5: I/O APIC through-8259A mode IRQ 0 routing

 There is a problem with the through-8259A mode for IRQ 0 on I/O APIC
systems.  Depending on correctness of an MP table, IRQ 0 routing is either
not registered at all or registered at a wrong pin.  As a result the 8254
timer IRQ only works by an accident (it's edge-triggered and never
disabled/enabled so it happens to survive this incorrect configuration).
A visible effect is you can't change the affinity for IRQ 0.

 Following is a patch that fixes both cases referred to above.  The code
looks obvious but it was additionally run-time tested just in case.  The
issue is serious -- please apply the patch ASAP.  As no changes were done
to io_apic.c since the development fork, the patch applies cleanly both to
2.4 and to 2.5.

 Credit goes to Joe for discovering the affinity problem and providing a
fix proposal (incorporated in the final one).

  Maciej

23 years agoAutomerge
Linus Torvalds [Tue, 5 Mar 2002 07:09:11 +0000 (23:09 -0800)]
Automerge

23 years agoAutomerge
Linus Torvalds [Tue, 5 Mar 2002 07:07:35 +0000 (23:07 -0800)]
Automerge

23 years ago[PATCH] 2.5.6-pre2 IDE cleanup 16
Martin Dalecki [Tue, 5 Mar 2002 07:05:12 +0000 (23:05 -0800)]
[PATCH] 2.5.6-pre2 IDE cleanup 16

There is no such a thing like a ide-clean-15. Never was.  But here comes
what has been done in ide-clean-16:

- Apply a patch for the initialization of the second PIIX channel.
   Found by Daniel Quinlan <quinlan@transmeta.com>

- Apply a patch for the DMA initialization of the serverworks chip.
   Ken Brownfield <brownfld@irridia.com>

- Make the ata_operations methods immune against device type drivers,
   which donot provide them by separating the access to them out. Audit
   them all.

- Resynchronize with 2.5.6-pre1.

- Remove unused IDE_DRIVE_CMD, IDE_DRIVE_TASK, IDE_DRIVE_TASK_MASK,
   IDE_DRIVE_TASKFILE macros.

- Disable configuration of the task file stuff. It is going to go away
   and will be replaced by a truly abstract interface based on
   functionality and *not* direct mess-up of hardware.

- Resync with 2.5.6-pre2.

- Add HPT entries to the fall-back list, since otherwise the driver
   won'trecognize the drives. We will have to make this the default
   behavior for allnot recognized host chip types.

- Fix compilation with no PCI host chip support enabled.

- Apply the overflow fixes for HPT366 by Vojtech Pavlik.

- Kill the one-shoot functions ide_wait_cmd_taks() ide_wait_cmd() by
   moving them to the places where they are actually used. Fix a
   potential buffer overflow on the way.

- Fix usage of ide.c as module. Thanks to Adam J. Richter for figuring
   out what was wrong.

- Various cleanups all along as well as removal of TONS of
   unfinished/dead code.

I think it's sometimes better to remove stuff, which isn't there,
instead of hoping for a "magical day" where it will be finished.

23 years ago[PATCH] per-cpu areas
Rusty Russell [Tue, 5 Mar 2002 07:04:15 +0000 (23:04 -0800)]
[PATCH] per-cpu areas

This is the Richard Henderson-approved, cleaner, brighter per-cpu patch.

23 years ago[PATCH] Re: PPP and shared zlib code in 2.5
Corey Minyard [Tue, 5 Mar 2002 07:02:25 +0000 (23:02 -0800)]
[PATCH] Re: PPP and shared zlib code in 2.5

Ok, I found it.  The problem was in the decompression code.

In inflate.c, in the routine zlib_inflate(), it reuses the passed-in "f"
parameter as a return value, but the PPP packet compression stuff needs
that return value later.

23 years ago[PATCH] Better kmalloc effeciency
Brian Gerst [Tue, 5 Mar 2002 07:00:34 +0000 (23:00 -0800)]
[PATCH] Better kmalloc effeciency

This patch adds two intermediate general cache sizes, 96 and 192 bytes.
On my system this saves about 34k.

size-256              63    180    256    5   12    1
size-192              95    120    192    5    6    1
size-128             213    240    128    8    8    1
size-96             1080   1120     96   28   28    1

23 years ago[PATCH] 2.5: preempt on UP critical fix
Robert Love [Tue, 5 Mar 2002 06:59:06 +0000 (22:59 -0800)]
[PATCH] 2.5: preempt on UP critical fix

During 2.5.5-pre schedule_tail was optimized away under UP.  We need it
for preempt-kernel, too, since it decrements the preempt_count to 0
coming off do_fork.

Without this patch, CONFIG_PREEMPT + !CONFIG_SMP does not gain one very
much.

Robert Love

23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Tue, 5 Mar 2002 06:58:48 +0000 (22:58 -0800)]
Merge bk://bk.arm.linux.org.uk
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Tue, 5 Mar 2002 06:57:50 +0000 (22:57 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] Remove SWP_BLOCKDEV
Alexander Viro [Tue, 5 Mar 2002 06:56:52 +0000 (22:56 -0800)]
[PATCH] Remove SWP_BLOCKDEV

Below is a followup to bd_claim patch - it is the last one
from the current series.  Removes SWP_BLOCKDEV flag - it isn't needed
anymore.

23 years ago[PATCH] death of is_mounted() and aother fixes
Alexander Viro [Tue, 5 Mar 2002 06:56:47 +0000 (22:56 -0800)]
[PATCH] death of is_mounted() and aother fixes

* new functions - bd_claim(bdev, holder) and bd_release(bdev).
bd_claim(bdev, holder) fails is device is already claimed by
somebody else; bd_release(bdev) gives device up.

* get_sb_bdev() claims device for fs_type; it means that we don't need
to look through entire least of superblocks anymore - just through
the list of superblocks belonging to that type (i.e. the same thing
we do for non-block filesystems; that will allow to merge quite a
bit of code afterwards).

* sys_swapon claims device for itself;  free exclusion with mounting,
end of problems with bogus set_blocksize().

* is_mounted() and is_swap_partition() are gone - what we actually
wanted was "try to claim device for ourselves".  Which we can do
now - without races inherent to is_mounted()/is_swap_partition().

* RAID lock_rdev() claims device for itself.  I.e. we get rid of
is_mounted() in there (BTW, is_swap_partition() was missing) and
we get protection both ways - not only RAID won't take an already
mounted device, but mount won't stomp on a device claimed by RAID.

There are other places that would benefit from the same (e.g. ext3 with
external journal almost definitely wants to claim device for itself).

Notice that it's a cooperative thing - neither open() nor raw device stuff
claim the block device, so they don't care if device is mounted, etc.  So
we don't break fsck and friends - exclusion is between those who know that
they want that exclusion.

23 years ago[PATCH] (3/3) more kdev_t removals
Alexander Viro [Tue, 5 Mar 2002 06:56:42 +0000 (22:56 -0800)]
[PATCH] (3/3) more kdev_t removals

23 years ago[PATCH] (2/3) more kdev_t removals
Alexander Viro [Tue, 5 Mar 2002 06:56:37 +0000 (22:56 -0800)]
[PATCH] (2/3) more kdev_t removals

23 years ago[PATCH] (1/3) more kdev_t removals
Alexander Viro [Tue, 5 Mar 2002 06:56:31 +0000 (22:56 -0800)]
[PATCH] (1/3) more kdev_t removals

1. moves a bunch of generic ioctls from sr_dev_ioctl() to
cdrom_ioctl().
2. switches blk_ioctl() to struct block_device *
3. ditto for blkpg_ioctl()

23 years ago[PATCH] export for dparent_lock
Alexander Viro [Tue, 5 Mar 2002 06:56:26 +0000 (22:56 -0800)]
[PATCH] export for dparent_lock

Missing export for dparent_lock.

23 years ago[PATCH] : ir256_usb_cow_urballoc.diff
Jean Tourrilhes [Tue, 5 Mar 2002 06:53:24 +0000 (22:53 -0800)]
[PATCH] : ir256_usb_cow_urballoc.diff

ir256_usb_cow_urballoc.diff :
 ---------------------------
o [FEATURE] Don't use skb_cow() unless we really need to
o [CORRECT] Reorder URB init to avoid races
o [CORRECT] USB dealy adds processing time, not removes it
        <Following patch from Greg KH <greg@kroah.com> himself !!!>
o [CRITICA] Use dynamically allocated URBs (instead of statically)

23 years ago[PATCH] : ir256_lap_icmd_fix-4.diff
Jean Tourrilhes [Tue, 5 Mar 2002 06:53:19 +0000 (22:53 -0800)]
[PATCH] : ir256_lap_icmd_fix-4.diff

ir256_lap_icmd_fix-4.diff :
 -------------------------
o [CORRECT] Fix Tx queue handling (remove race, keep packets in order)
o [CORRECT] Synchronise window_size & line_capacity and make sure
  we never forget to increase them (would stall Tx queue)
o [FEATURE] Group common code out of if-then-else
o [FEATURE] Don't harcode LAP header size, use proper constant
o [FEATURE] Inline irlap_next_state() to decrease bloat

23 years ago[PATCH] : ir256_irnet_disc_ind.diff
Jean Tourrilhes [Tue, 5 Mar 2002 06:53:12 +0000 (22:53 -0800)]
[PATCH] : ir256_irnet_disc_ind.diff

ir256_irnet_disc_ind.diff :
 -------------------------
o [CORRECT] Fix IrNET disconnection to not reconnect but
  instead to hangup pppd