]> git.hungrycats.org Git - linux/log
linux
23 years ago[ARM] Clean up ARM cache handling interfaces (part 1)
Russell King [Sun, 27 Apr 2003 21:28:25 +0000 (22:28 +0100)]
[ARM] Clean up ARM cache handling interfaces (part 1)

This starts to move the ARM cache handling interface towards a
purpose-defined rather than functionality-defined interface.
This is necessary so we are able to support a wide range of ARM
CPUs.

23 years ago[ARM] Inline PMD entry cache handling
Russell King [Sun, 27 Apr 2003 18:51:24 +0000 (19:51 +0100)]
[ARM] Inline PMD entry cache handling

The common case is building a kernel for one CPU type, and we are
able to allow GCC to optimise any the PMD entry cache handling
assembly which will never be used.

23 years ago[ARM] Make tlb_start_vma() flush the cache
Russell King [Sun, 27 Apr 2003 18:30:54 +0000 (19:30 +0100)]
[ARM] Make tlb_start_vma() flush the cache

23 years ago[ARM] Fix includes
Russell King [Sun, 27 Apr 2003 18:24:23 +0000 (19:24 +0100)]
[ARM] Fix includes

fault-common.c included unnecessary headers.
mach-integrator.c needed list.h included.

23 years ago[ARM] Fix integrator cpufreq build errors
Russell King [Sun, 27 Apr 2003 18:07:00 +0000 (19:07 +0100)]
[ARM] Fix integrator cpufreq build errors

23 years ago[ARM] Ensure gcc does not assume asm() is conditional.
Russell King [Sun, 27 Apr 2003 17:57:01 +0000 (18:57 +0100)]
[ARM] Ensure gcc does not assume asm() is conditional.

Prevent all gcc's from assuming that assembly within asm() may be
conditional.

23 years ago[ARM] lock up() functions should be memory barriers.
Russell King [Sun, 27 Apr 2003 17:41:57 +0000 (18:41 +0100)]
[ARM] lock up() functions should be memory barriers.

23 years ago[ARM] Provide more early command line parsing.
Russell King [Sun, 27 Apr 2003 17:36:49 +0000 (18:36 +0100)]
[ARM] Provide more early command line parsing.

We need to parse the command line arguments not only for the memory
parameters, but also CPU cache policies.  Rather than extending the
early parsing in arch/arm/kernel/setup.c, we make this a generic
feature.  The parameters and their parsing function can now be
placed along side the code which makes use of the parsed information.

23 years ago[ARM] Fix another case of looking at task_struct instead of thread_info
Russell King [Sun, 27 Apr 2003 16:40:55 +0000 (17:40 +0100)]
[ARM] Fix another case of looking at task_struct instead of thread_info

23 years ago[ARM] Bypass cache cleaning if cache/mmu was disabled.
Russell King [Sun, 27 Apr 2003 16:32:16 +0000 (17:32 +0100)]
[ARM] Bypass cache cleaning if cache/mmu was disabled.

23 years ago[ARM] Fix two makefile problems
Russell King [Sun, 27 Apr 2003 16:23:25 +0000 (17:23 +0100)]
[ARM] Fix two makefile problems

Saner selection of architecture build flags (for Xscale)
Make asm-offsets.s depend on the selected platform

23 years ago[ARM PATCH] 1518/1: Shark: cyberpro broken by machine_is_netwinder
Alexander Schulz [Sun, 27 Apr 2003 16:06:59 +0000 (17:06 +0100)]
[ARM PATCH] 1518/1: Shark: cyberpro broken by machine_is_netwinder

Patch from Alexander Schulz

I cannot compile the file cyber2000fb.c because of an undifined
reference to machine_is_netwinder(). This patch makes it compile again.

23 years ago[ARM PATCH] 1517/1: Shark: new defconfig
Alexander Schulz [Sun, 27 Apr 2003 16:02:51 +0000 (17:02 +0100)]
[ARM PATCH] 1517/1: Shark: new defconfig

Patch from Alexander Schulz

This updates the defconfig for the Shark

23 years ago[ARM PATCH] 1514/1: iq80321 MTD C99 fix
Eli Carter [Sun, 27 Apr 2003 15:58:17 +0000 (16:58 +0100)]
[ARM PATCH] 1514/1: iq80321 MTD C99 fix

Patch from Eli Carter

# Tue Apr 22 14:28:13 CDT 2003 ejc@rnd-linux-c84
# e45-iq80321-mtd-c99-fix
#
# I didn't test my C99 fix for the iq80321 MTD mapping.  "If you didn't test it,
# it's broken."  This fixes that (embarrasing) blunder.
#
# Diffed against linux-2.5.68-rmk1+1513
#
#  drivers/mtd/maps/iq80321.c |   22 +++++++++++-----------
#  1 files changed, 11 insertions(+), 11 deletions(-)
#

23 years ago[ARM PATCH] 1513/1: iq80310 fix missing header
Eli Carter [Sun, 27 Apr 2003 15:55:02 +0000 (16:55 +0100)]
[ARM PATCH] 1513/1: iq80310 fix missing header

Patch from Eli Carter

# Tue Apr 22 10:26:15 CDT 2003 ejc@rnd-linux-c84
# e42-fix-missing-iop-header
#
# Add in the missing iop310-irq.h header file.
#
# Diffed against linux-2.5.59-rmk1-ec0
# Applies cleanly to 2.5.67-rmk1, 2.5.68-rmk1
#
#  include/asm-arm/arch-iop3xx/iop310-irqs.h |   80 ++++++++++++++++++++++++++++++
#  1 files changed, 80 insertions(+)
#

23 years ago[PATCH] Remove unused function from fs/isofs/rock.c
René Scharfe [Fri, 25 Apr 2003 07:18:43 +0000 (00:18 -0700)]
[PATCH] Remove unused function from fs/isofs/rock.c

find_rock_ridge_relocation() has been unused since 2.4.0-test11 -- time
to bury it.

Acked by Peter Anvin.

23 years ago[PATCH] Fix mxb.c stack usage
Michael Hunold [Thu, 24 Apr 2003 17:19:18 +0000 (10:19 -0700)]
[PATCH] Fix mxb.c stack usage

This does the following:
 - make initialization data for helper chipsets (saa7111 and saa7740)
   static and with file scope

Additionally fixes:
 - don't use irq driven i2c transfer when saa7740 is present (this screws
   up the i2c bus and may hang the computer)
 - add MODULE_DEVICE_TABLE to allow /sbin/hotplug to handle the device

23 years ago[PATCH] jiffy type warning fixes
Andrew Morton [Thu, 24 Apr 2003 15:59:36 +0000 (08:59 -0700)]
[PATCH] jiffy type warning fixes

Fix various places which aren't using unsigned long for jiffies.

Also other warnings and compilation errors as encountered.

23 years ago[PATCH] bttv warning fix
Andrew Morton [Thu, 24 Apr 2003 15:59:28 +0000 (08:59 -0700)]
[PATCH] bttv warning fix

Fix a bttv compile warning

23 years ago[PATCH] watchdog driver compile fixes
Andrew Morton [Thu, 24 Apr 2003 15:59:20 +0000 (08:59 -0700)]
[PATCH] watchdog driver compile fixes

The header file cleanups bite.  All these watchdog drivers need fs.h for
struct inode, struct file, etc.

23 years ago[PATCH] parkbd.c jiffies fix
Andrew Morton [Thu, 24 Apr 2003 15:59:11 +0000 (08:59 -0700)]
[PATCH] parkbd.c jiffies fix

- jiffies is unsigned long

- don't zero-init BSS.

23 years ago[PATCH] various irqreturn_t fixes
Andrew Morton [Thu, 24 Apr 2003 15:59:05 +0000 (08:59 -0700)]
[PATCH] various irqreturn_t fixes

Basically a mop-up of missed bits.  Also fix various warnings and compilation
errors.

23 years ago[PATCH] CPU flags fixes
Andrew Morton [Thu, 24 Apr 2003 15:58:56 +0000 (08:58 -0700)]
[PATCH] CPU flags fixes

teach various drivers that the CPU flags require unsigned long

23 years ago[PATCH] sound driver fixes
Andrew Morton [Thu, 24 Apr 2003 15:58:48 +0000 (08:58 -0700)]
[PATCH] sound driver fixes

All these drivers have a return hidden in a macro and I missed the lot in the
first pass due to some config option not begin set.

23 years ago[PATCH] irqs: scsi
Andrew Morton [Thu, 24 Apr 2003 15:58:39 +0000 (08:58 -0700)]
[PATCH] irqs: scsi

Update SCSI drivers for the new IRQ API.  Also fix warnings and compilation
errors as encountered.

23 years ago[PATCH] irqs: char drivers
Andrew Morton [Thu, 24 Apr 2003 15:58:29 +0000 (08:58 -0700)]
[PATCH] irqs: char drivers

Fix up various char drivers for the IRQ API change.  Also IDE, ISDN and i2o
bits.  Fix various warnings and compilation errors.

23 years ago[PATCH] irqs: drivers/block
Andrew Morton [Thu, 24 Apr 2003 15:58:21 +0000 (08:58 -0700)]
[PATCH] irqs: drivers/block

Mop up various block and cdrom drivers.  Also fix a bunch of warnings and
compilation failures.

23 years ago[PATCH] irqs: ATM
Andrew Morton [Thu, 24 Apr 2003 15:58:13 +0000 (08:58 -0700)]
[PATCH] irqs: ATM

Update ATM drivers to new IRQ API

23 years ago[PATCH] Fix IRQ_NONE clash
Andrew Morton [Thu, 24 Apr 2003 15:58:04 +0000 (08:58 -0700)]
[PATCH] Fix IRQ_NONE clash

Several scsi drivers are already using an IRQ_NONE.  Rename that to
SCSI_IRQ_NONE.

23 years ago[PATCH] fix mismatched access_ok() checks in sg_io()
Bartlomiej Zolnierkiewicz [Thu, 24 Apr 2003 15:42:51 +0000 (08:42 -0700)]
[PATCH] fix mismatched access_ok() checks in sg_io()

I found this while doing bio_map_user() changes.

Acked by Jens.

23 years ago[PATCH] cleanup bio_map_user and helper
Jens Axboe [Thu, 24 Apr 2003 15:42:43 +0000 (08:42 -0700)]
[PATCH] cleanup bio_map_user and helper

Bart did this patch, I changed it a bit. Basically it cleans the mapping
interface up a bit, and adds a little helper to set up the request from
the bio.

In addition, it fixes a long standing bug where bio_map_user() would
call blk_queue_bounce() without the direction bit being set, auch.

 - Abstract out bio request preparation
 - Have bio_map_user() set data direction (fixes bug where blk_queue_bounce()
   is called without it set)
 - Split bio_map_user() in two

23 years ago[PATCH] use file->private_data in ide-tape
Christoph Hellwig [Thu, 24 Apr 2003 15:41:11 +0000 (08:41 -0700)]
[PATCH] use file->private_data in ide-tape

So we don't have to lookup the private data everytime.

23 years ago[PATCH] kill <linux/wrapper.h>
Christoph Hellwig [Thu, 24 Apr 2003 15:41:01 +0000 (08:41 -0700)]
[PATCH] kill <linux/wrapper.h>

Kill one user of mem_map_reserve/mem_map_unreserve I missed the
last time and it can go away.

23 years ago[PATCH] ppc64 needs setup-bus.c
Anton Blanchard [Thu, 24 Apr 2003 15:39:58 +0000 (08:39 -0700)]
[PATCH] ppc64 needs setup-bus.c

23 years ago[PATCH] ppc boot device selection cleanup
Alexander Viro [Thu, 24 Apr 2003 15:39:15 +0000 (08:39 -0700)]
[PATCH] ppc boot device selection cleanup

PPC logics for choice of default boot device number switched to
dev_t.  Rationale: it belongs to userland; we notice partitions with
certain properties and choose one of them as the best candidate for
being a root fs; then we put the resulting device number into ROOT_DEV,
which has only one use - it's passed to mknod(2) to create a device node
on rootfs and allow mount(2) get us the final root.

IOW, all that code has nothing whatsoever with kernel internals
of any description - the value we are generating will be passed to
mknod(2) anyway.  Switched to dev_t.

Note: that code should eventually be moved to early userland.

23 years ago[PATCH] invalidate_device()/check_disk_change() fixes
Alexander Viro [Thu, 24 Apr 2003 15:39:06 +0000 (08:39 -0700)]
[PATCH] invalidate_device()/check_disk_change() fixes

* bogus calls of invalidate_buffers() gone from floppy_open()
* invalidate_buffers() killed.

* new helper - __invalidate_device(bdev, do_sync).  invalidate_device()
is calling it.

* fixed races between floppy_open()/floppy_open and
floppy_open()/set_geometry():
a) floppy_open()/floppy_release() is done under a semaphore.  That
closes the races between simultaneous open() on /dev/fd0foo and /dev/fd0bar.
b) pointer to struct block_device is kept as long as floppy is
opened (per-drive, non-NULL when number of openers is non-zero, does not
contribute to block_device refcount).
c) set_geometry() grabs the same semaphore and invalidates the
devices directly instead of messing with setting fake "it had changed"
and calling __check_disk_change().

* __check_disk_change() killed - no remaining callers
* full_check_disk_change() killed - ditto.

23 years ago[PATCH] capifs cleanup
Alexander Viro [Thu, 24 Apr 2003 15:38:58 +0000 (08:38 -0700)]
[PATCH] capifs cleanup

capifs switched to ramfs-style tree and cleaned up; it's the same
changes that had been done its prototype (devpts) + stuff needed to
deal with unload (devpts is non-modular and always internally mounted).

23 years ago[PATCH] fbdev cleanup
Alexander Viro [Thu, 24 Apr 2003 15:38:50 +0000 (08:38 -0700)]
[PATCH] fbdev cleanup

fbdev.node converted from kdev_t to int - all of its users
have register_framebuffer() which sets .node to mk_kdev(FB_MAJOR, index)
already called and all of them start with applying minor().  IOW, what
they actually want is framebuffer number.

* type of ->node changed to int
* register_framebuffer() sets it to index instead of mk_kdev(...)
* users converted from minor(foo.node) to foo.node
* useless assignments (typically to NODEV) removed - we never
look at that field before register_framebuffer() overwrites it and thus
any assignments prior to register_framebuffer() call are dead code.

23 years ago[PATCH] console cleanup (2/2)
Alexander Viro [Thu, 24 Apr 2003 15:38:39 +0000 (08:38 -0700)]
[PATCH] console cleanup (2/2)

Console drivers cleanup.  In current tree interaction between
console and tty layer sits in the ->device() method of struct console.
It takes a pointer to console and returns device number of its tty
device.  open(2) on /dev/console goes through the list of registered
consoles, picks the first one that has ->device() and remaps the device
number to console->device(console).  Then it proceeds with normal
opening of tty.  This is the only caller of ->device().

Cleanup: let ->device() return a pair (pointer to tty_driver, index
of tty in question) instead of device number.  Note that
a) the first thing tty_open() does with remapped device number is
conversion to such pair.
b) console driver _knows_ which tty_driver we want - one that
implements tty interface to the same physical device (i.e. the part of
the same driver).
c) current code expects the result of ->device() to be a device
number of tty device - anything else is immediate -ENODEV from tty_open();
might as well have NULL ->device in that driver.

Console drivers converted, (the only) caller updated.

23 years ago[PATCH] console cleanup (1/2)
Alexander Viro [Thu, 24 Apr 2003 15:38:30 +0000 (08:38 -0700)]
[PATCH] console cleanup (1/2)

Preparation to console->device() cleanup: serial drivers converted
to common helper for their ->device() methods.

23 years ago[PATCH] Minor 32bit Opteron fixes
Andi Kleen [Thu, 24 Apr 2003 15:34:58 +0000 (08:34 -0700)]
[PATCH] Minor 32bit Opteron fixes

Don't disable the Northbridge Machine Check.

Use the unrolled "INTEL_USERCOPY" too.

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
Linus Torvalds [Thu, 24 Apr 2003 15:28:25 +0000 (08:28 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Thu, 24 Apr 2003 09:27:39 +0000 (02:27 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/i2c-2.5

23 years ago[PATCH] tty: let tiocmset pass TIOCM_LOOP changes to the tty drivers.
Greg Kroah-Hartman [Thu, 24 Apr 2003 09:14:59 +0000 (02:14 -0700)]
[PATCH] tty: let tiocmset pass TIOCM_LOOP changes to the tty drivers.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Thu, 24 Apr 2003 09:02:13 +0000 (02:02 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

23 years ago[PATCH] USB: add error reporting functionality to the pl2303 driver.
Greg Kroah-Hartman [Thu, 24 Apr 2003 07:54:09 +0000 (00:54 -0700)]
[PATCH] USB: add error reporting functionality to the pl2303 driver.

23 years ago[PATCH] i2c: remove a lot of dupliated macros from i2c-sensor.h and use the current...
Greg Kroah-Hartman [Thu, 24 Apr 2003 06:38:03 +0000 (23:38 -0700)]
[PATCH] i2c: remove a lot of dupliated macros from i2c-sensor.h and use the current values in i2c.h

23 years ago[USB INPUT]: hiddev.c needs dev_fs_kernel.h
David S. Miller [Thu, 24 Apr 2003 06:25:58 +0000 (23:25 -0700)]
[USB INPUT]: hiddev.c needs dev_fs_kernel.h

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Thu, 24 Apr 2003 05:34:26 +0000 (22:34 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years ago[PATCH] i2c: removed unneeded typedef from i2c-sensor.h
Greg Kroah-Hartman [Thu, 24 Apr 2003 04:14:26 +0000 (21:14 -0700)]
[PATCH] i2c: removed unneeded typedef from i2c-sensor.h

23 years ago[PATCH] i2c: fix up the media drivers due to removing flags paramater of callback...
Greg Kroah-Hartman [Thu, 24 Apr 2003 04:14:04 +0000 (21:14 -0700)]
[PATCH] i2c: fix up the media drivers due to removing flags paramater of callback function

23 years ago[PATCH] i2c: removed unused flags paramater in found_proc callback.
Greg Kroah-Hartman [Thu, 24 Apr 2003 04:13:08 +0000 (21:13 -0700)]
[PATCH] i2c: removed unused flags paramater in found_proc callback.

23 years ago[PATCH] i2c: fix up it87.c check_region mess.
Greg Kroah-Hartman [Thu, 24 Apr 2003 03:26:56 +0000 (20:26 -0700)]
[PATCH] i2c: fix up it87.c check_region mess.

23 years ago[PATCH] Fix devfs botch in IDE naming
Christoph Hellwig [Thu, 24 Apr 2003 03:10:50 +0000 (20:10 -0700)]
[PATCH] Fix devfs botch in IDE naming

Linus, could you please apply this patch so all thos poor devfs
users get their disks back?

23 years ago[PATCH] fix init_irq
Bartlomiej Zolnierkiewicz [Thu, 24 Apr 2003 03:07:04 +0000 (20:07 -0700)]
[PATCH] fix init_irq

The patch is obviously correct and has been floating on lkml for some time.

From Manfred Spraul:
 "My init_irq cleanup introduced a bug: on error, the function must return 1."

23 years ago[PATCH] i2c: added it87 driver
Florin Iucha [Thu, 24 Apr 2003 02:57:20 +0000 (19:57 -0700)]
[PATCH] i2c: added it87 driver

23 years ago[BRIDGE]: Bridge confuses kernel user HZ.
Stephen Hemminger [Wed, 23 Apr 2003 17:32:52 +0000 (10:32 -0700)]
[BRIDGE]: Bridge confuses kernel user HZ.

23 years ago[BRIDGE]: Missing unlocks in ioctl error paths.
Stephen Hemminger [Wed, 23 Apr 2003 17:31:25 +0000 (10:31 -0700)]
[BRIDGE]: Missing unlocks in ioctl error paths.

23 years ago[PATCH] fix typo in m68k mm code
Andrew Morton [Wed, 23 Apr 2003 11:32:58 +0000 (04:32 -0700)]
[PATCH] fix typo in m68k mm code

Looks like my finger fell off the control key..

23 years ago[PATCH] warning fixes
Andrew Morton [Wed, 23 Apr 2003 11:32:50 +0000 (04:32 -0700)]
[PATCH] warning fixes

Fix some warnings from the new code-patching stuff.

23 years ago[PATCH] print IRQ handler addresses
Andrew Morton [Wed, 23 Apr 2003 11:32:42 +0000 (04:32 -0700)]
[PATCH] print IRQ handler addresses

- Fix printk bug in the diagnostic code.

- If an error occurs, print the address of all the offending action
  handlers.  Also the symbol name if CONFIG_KALLSYMS.

23 years ago[PATCH] fix dasd open/release
Christoph Hellwig [Wed, 23 Apr 2003 11:28:28 +0000 (04:28 -0700)]
[PATCH] fix dasd open/release

The invalidate_buffers in ->release is wrong, get a reference to the
discipline in the beginning of ->open.

23 years ago[PATCH] remove a wrong invalidate_bdev from ide-disk.c
Christoph Hellwig [Wed, 23 Apr 2003 11:28:20 +0000 (04:28 -0700)]
[PATCH] remove a wrong invalidate_bdev from ide-disk.c

This one probably crept in during an ide merge from 2.4..

23 years ago[PATCH] update s390 tape_block for 2.5 APIs
Christoph Hellwig [Wed, 23 Apr 2003 11:28:12 +0000 (04:28 -0700)]
[PATCH] update s390 tape_block for 2.5 APIs

It looks like no one even tried to use it on 2.5..

23 years ago[PATCH] fix devfs_mk_dir prototype
Christoph Hellwig [Wed, 23 Apr 2003 11:28:03 +0000 (04:28 -0700)]
[PATCH] fix devfs_mk_dir prototype

Return an error code instead of a devfs_handle_t.  The handle isn't
useful for anything and the !CONFIG_DEVFS_FS stub in fact returned
NULL which made it entirely useless.  Thus only one driver is actually
checking the retval in the current tree..

23 years ago[PATCH] don't include devfs_fs_kernel.h in global headers
Christoph Hellwig [Wed, 23 Apr 2003 11:27:54 +0000 (04:27 -0700)]
[PATCH] don't include devfs_fs_kernel.h in global headers

Now that devfs_handle_t is gone from all structs there is no
reason to include it in headers.

Fix the fallout by including previously implicit headers and fixing
the drivers that didn't include devfs_fs_kernel.h explicitly.

23 years ago[PATCH] don't use mem_map_reserve/mem_map_unreserve
Christoph Hellwig [Wed, 23 Apr 2003 11:27:45 +0000 (04:27 -0700)]
[PATCH] don't use mem_map_reserve/mem_map_unreserve

They are obsfucating aliases for SetPageReserved/ClearPageReserved.
And once they're gone we can nuke <linux/wrapper.h>

23 years ago[PATCH] kill LOCAL_END_REQUEST
Christoph Hellwig [Wed, 23 Apr 2003 11:27:34 +0000 (04:27 -0700)]
[PATCH] kill LOCAL_END_REQUEST

And uninline end_request - it's calling to many functions to be useful
inline.

23 years ago[PATCH] split initrd from ramdisk driver
Christoph Hellwig [Wed, 23 Apr 2003 11:27:26 +0000 (04:27 -0700)]
[PATCH] split initrd from ramdisk driver

They don't have any code in common, so the initrd support can
go into a separate file and not require ramdisk support.

Lots of ifdefs gone and smaller kernel images for initrd users.

23 years agoSince "apply_alternatives()" also runs at module load time it must
Linus Torvalds [Wed, 23 Apr 2003 11:21:46 +0000 (04:21 -0700)]
Since "apply_alternatives()" also runs at module load time it must
not be marked __init.

Noted by Petr Vandrovec

23 years ago[PATCH] tty cleanups (12/12)
Alexander Viro [Wed, 23 Apr 2003 11:19:54 +0000 (04:19 -0700)]
[PATCH] tty cleanups (12/12)

* we allow tty_driver to cover more than 256 devices
* pty.c cleaned up - now we only one driver for UNIX98 masters and
only one driver for UNIX98 slaves, so a lot of ugliness can be killed.
* get_tty_driver() became an analog of get_gendisk() - it does
a lookup by device number and gives (pointer to tty_driver,index).
* registration/unregistration of tty_driver updated
* /proc/tty/drivers code updated (now one structure can be responsible
for several lines)

23 years ago[PATCH] tty cleanups (11/12)
Alexander Viro [Wed, 23 Apr 2003 11:19:46 +0000 (04:19 -0700)]
[PATCH] tty cleanups (11/12)

tty->device switched to dev_t
There are very few uses of tty->device left by now; most of
them actually want dev_t (process accounting, proc/<pid>/stat, several
ioctls, slip.c logics, etc.) and the rest will go away shortly.

23 years ago[PATCH] tty cleanups (10/12)
Alexander Viro [Wed, 23 Apr 2003 11:19:36 +0000 (04:19 -0700)]
[PATCH] tty cleanups (10/12)

Preparations to cleanup:
* call of get_tty_driver() moved from init_dev() to its callers
* instead of kdev_t dev we pass struct tty_struct *driver and int index

23 years ago[PATCH] tty cleanups (9/12)
Alexander Viro [Wed, 23 Apr 2003 11:19:27 +0000 (04:19 -0700)]
[PATCH] tty cleanups (9/12)

* drivers/char/rio/* supports up to 4 boards, each with up to 128
lines.  It used to share termios for 1st/3rd and 2nd/4th boards,  Fixed.
* cleanups and kdev_t removals - we pass tty instead of tty->device
in a couple of helper functions and instead of comparisons on major(tty->device)
we check where does tty->driver point to.

23 years ago[PATCH] tty cleanups (8/12)
Alexander Viro [Wed, 23 Apr 2003 11:19:18 +0000 (04:19 -0700)]
[PATCH] tty cleanups (8/12)

* generic_serial.c typo fix (->driver used instead of correct
->driver_data)
* tubio cleaned up

23 years ago[PATCH] tty cleanups (7/12)
Alexander Viro [Wed, 23 Apr 2003 11:19:08 +0000 (04:19 -0700)]
[PATCH] tty cleanups (7/12)

sanitized driver->driver_name initialization and use

23 years ago[PATCH] tty cleanups (6/12)
Alexander Viro [Wed, 23 Apr 2003 11:18:59 +0000 (04:18 -0700)]
[PATCH] tty cleanups (6/12)

tty->tty_index added; we initialize it with minor(tty->device) -
tty->driver->minor_start.  Majority of remaining tty->device uses had
that form and are switched to use of tty->index.

23 years ago[PATCH] tty cleanups (5/12)
Alexander Viro [Wed, 23 Apr 2003 11:18:48 +0000 (04:18 -0700)]
[PATCH] tty cleanups (5/12)

new field - tty->tty_name;
initialized to <driver->name><tty index+driver->base_name>
when we allocate tty_struct.  Drivers code switched to use of that
beast (in debugging printks, mostly).  Large, but trivial.

23 years ago[PATCH] tty cleanups (4/12)
Alexander Viro [Wed, 23 Apr 2003 11:18:37 +0000 (04:18 -0700)]
[PATCH] tty cleanups (4/12)

Instead of registering "drivers" for /dev/tty, /dev/vc/0, /dev/ptmx
and /dev/console (they are never looked up since tty_open() special-cases
them and they should not be looked up - these devices are remapped on open)
we register corresponding chrdev ranges and devfs nodes directly.
/proc/tty/drivers code updated to keep the contents unchanged

23 years ago[PATCH] tty cleanups (3/12)
Alexander Viro [Wed, 23 Apr 2003 11:18:28 +0000 (04:18 -0700)]
[PATCH] tty cleanups (3/12)

/proc/tty/drivers converted to seq_file

23 years ago[PATCH] tty cleanups (2/12)
Alexander Viro [Wed, 23 Apr 2003 11:18:18 +0000 (04:18 -0700)]
[PATCH] tty cleanups (2/12)

Instead of copying tty_driver into tty_struct we put a reference
in there.  tty->driver turned into a pointer, users updated.  Large, but
trivial

23 years ago[PATCH] tty cleanups (1/12)
Alexander Viro [Wed, 23 Apr 2003 11:18:07 +0000 (04:18 -0700)]
[PATCH] tty cleanups (1/12)

Christoph's fix for devfs problems with pty.

23 years ago[PATCH] C99 initializers for fs/proc/proc_misc.c
Art Haas [Wed, 23 Apr 2003 11:09:04 +0000 (04:09 -0700)]
[PATCH] C99 initializers for fs/proc/proc_misc.c

23 years ago[PATCH] Fix C99 initializers in fs/nfs/nfs4proc.c
Art Haas [Wed, 23 Apr 2003 11:08:57 +0000 (04:08 -0700)]
[PATCH] Fix C99 initializers in fs/nfs/nfs4proc.c

23 years ago[PATCH] C99 initializers for drivers/block/genhd.c
Art Haas [Wed, 23 Apr 2003 11:08:48 +0000 (04:08 -0700)]
[PATCH] C99 initializers for drivers/block/genhd.c

23 years ago[PATCH] Avast there ye swabs, prepare to fire a broadside!
Steven Cole [Wed, 23 Apr 2003 11:08:40 +0000 (04:08 -0700)]
[PATCH] Avast there ye swabs, prepare to fire a broadside!

Chuck Ebbert notes that kernel developers are apparently pirates in the
_original_ meaning of the word, and like to "cannonicalize".

I prepared a patch in case anyone cares enough about this.  I tested on
i386 by building and booting.

23 years ago[PATCH] Fix SWSUSP & !SWAP
Pavel Machek [Wed, 23 Apr 2003 11:08:30 +0000 (04:08 -0700)]
[PATCH] Fix SWSUSP & !SWAP

Swsusp without swap makes no sense, and leads to compilation
failure.  So make the dependency clear in the config files.

23 years ago[PATCH] IEEE1394/Firewire updates
Ben Collins [Wed, 23 Apr 2003 10:50:15 +0000 (03:50 -0700)]
[PATCH] IEEE1394/Firewire updates

- Workaround possible reset loop trying to get IRM sanity
- Logical Unit DIrectory (LUN) support for sbp2(scsi) devices.
- Fix hostnum allocation.
- Whitespace and formatting sync with 2.4 branch.
- Make pcilynx return IRQ_NONE for no interrupts to handle.

23 years ago[PATCH] USB: whiteheat: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:49:06 +0000 (03:49 -0700)]
[PATCH] USB: whiteheat: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: pl2303: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:48:48 +0000 (03:48 -0700)]
[PATCH] USB: pl2303: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: mct_u232: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:48:28 +0000 (03:48 -0700)]
[PATCH] USB: mct_u232: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: kobil_sct: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:48:10 +0000 (03:48 -0700)]
[PATCH] USB: kobil_sct: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: kl5kusb105: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:47:50 +0000 (03:47 -0700)]
[PATCH] USB: kl5kusb105: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: keyspan_pda: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:47:05 +0000 (03:47 -0700)]
[PATCH] USB: keyspan_pda: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: ftdi_sio: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:38:41 +0000 (03:38 -0700)]
[PATCH] USB: ftdi_sio: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: digi_acceleport: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:37:29 +0000 (03:37 -0700)]
[PATCH] USB: digi_acceleport: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: belkin_sa: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:36:29 +0000 (03:36 -0700)]
[PATCH] USB: belkin_sa: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: usb-serial core: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:35:42 +0000 (03:35 -0700)]
[PATCH] USB: usb-serial core: add support for new tty tiocmget and tiocmset functions.

23 years ago[PATCH] USB: cdc-acm: add support for new tty tiocmget and tiocmset functions.
Greg Kroah-Hartman [Wed, 23 Apr 2003 10:35:11 +0000 (03:35 -0700)]
[PATCH] USB: cdc-acm: add support for new tty tiocmget and tiocmset functions.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
Linus Torvalds [Wed, 23 Apr 2003 08:35:33 +0000 (01:35 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
into home.transmeta.com:/home/torvalds/v2.5/linux