]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.0-test5 v2.6.0-test5
Linus Torvalds [Mon, 8 Sep 2003 05:45:46 +0000 (22:45 -0700)]
Linux 2.6.0-test5

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 8 Sep 2003 04:56:23 +0000 (21:56 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[SERIAL] Make SA11x0 serial driver build.
Russell King [Mon, 8 Sep 2003 20:28:05 +0000 (21:28 +0100)]
[SERIAL] Make SA11x0 serial driver build.

Update the SA11x0 serial driver for the removal of system devices
from the driver model.  The driver becomes a platform device driver.
The driver is now known to the driver model and resource subsytems
as "sa11x0-uart".

21 years ago[PATCH] Fix noop elevator request merging
Jens Axboe [Mon, 8 Sep 2003 04:09:12 +0000 (21:09 -0700)]
[PATCH] Fix noop elevator request merging

From: Oleg Drokin <green@namesys.com>

Without this, if elv_try_last_merge() returns nonzero, we do not
initialise *req.  That results in a subsequent BUG_ON() in
__make_request() because req is NULL (or is just uninitialised).

21 years ago[PATCH] sdla non-module build fix.
Stephen Hemminger [Mon, 8 Sep 2003 03:42:56 +0000 (20:42 -0700)]
[PATCH] sdla non-module build fix.

Last round of changes broke sdla build if not a module.

21 years agoArnd's new-and-improved _IOx() argument checking showed two sound
Linus Torvalds [Mon, 8 Sep 2003 02:12:58 +0000 (19:12 -0700)]
Arnd's new-and-improved _IOx() argument checking showed two sound
drivers whose microcode load ioctl's used types with sizes that
overflow the ioctl number. Mark them _IOx_BAD() to document the fact.

21 years ago[PATCH] Verify proper usage of ioctl macros
Arnd Bergmann [Mon, 8 Sep 2003 01:20:02 +0000 (18:20 -0700)]
[PATCH] Verify proper usage of ioctl macros

This new version works with all compiler versions, and also catches the
case where somebody tries to pass in an array as an argument to the
ioctl macros.  Thus we verify that only proper types are used.

I have checked now that the object code for arch/s390/kernel/compat_ioctl.o
remains identical and that the whole kernel compiles for s390 and i386,
after fixing the broken ioctl numbers.

21 years agoFix more ioctl _IOR/_IOW misusage.
Linus Torvalds [Sun, 7 Sep 2003 15:12:49 +0000 (08:12 -0700)]
Fix more ioctl _IOR/_IOW misusage.

21 years ago[PATCH] modprobe -q: quieter when modules missing
Rusty Russell [Sun, 7 Sep 2003 13:46:30 +0000 (06:46 -0700)]
[PATCH] modprobe -q: quieter when modules missing

The kernel invokes "modprobe" on modules which might not exist:
rightfully, modprobe complains by default when this happens.  So the
correct response is to invoke "modprobe -q", which is silent on such
errors (but still reports other errors such as config errors).

Also, use MODULE_NAME_LEN from module.h instead of inventing our own.

21 years ago[PATCH] Modules: Be stricter recognizing init&exit sesections
Rusty Russell [Sun, 7 Sep 2003 13:46:23 +0000 (06:46 -0700)]
[PATCH] Modules: Be stricter recognizing init&exit sesections

Someone pointed out that -ffunction-sections can cause a function called
"init<something>" to be put in the init section, and discarded.  This
hurts PARISC badly.  Get more fussy with identifying them.

21 years ago[PATCH] CONFIG_64BIT
Matthew Wilcox [Sun, 7 Sep 2003 13:43:41 +0000 (06:43 -0700)]
[PATCH] CONFIG_64BIT

This adds CONFIG_64BIT to allow us to disable non-64-bit safe drivers on
64-bit platforms and converts the I2O driver to use it.

21 years ago[PATCH] x86-64 update
Andi Kleen [Sun, 7 Sep 2003 13:41:29 +0000 (06:41 -0700)]
[PATCH] x86-64 update

Nothing too exciting, just some minor new features and bug fixes.
The IOMMU code should now not BUG again without CONFIG_IOMMU_DEBUG/iommu=force

 - Compiles now with -funit-at-a-time
 - Fix up ioctl 32bit tables following Andrew's change.
 - Fix __SI_POLL siginfo_t passing to user space
 - Add 32bit emulation for fadvise64_64
 - Remove unneeded sys32_utimes
 - Various merges with i386 (ACPI, APIC etc.)
 - Port cpuid patching infrastructure from i386
 - Use it to provide better copy_*_user/memcpy/memset/clear/copy_page for
   C stepping K8. String instructions are faster now that unrolled loops.
 - Don't try to merge unforced PCI mappings that don't exceed the device's
   DMA mask.
 - Discard .exit.data/.exit.text at runtime like i386
 - Don't use NTI stores for clear_user
 - Convert bitops.h bitmap functions to use unsigned long * pointers instead
   of void *
 - Fix some warnings in kernel headers.
 - Fix PDA comments

21 years ago[PATCH] arm26 updates
Ian Molton [Sun, 7 Sep 2003 09:53:07 +0000 (02:53 -0700)]
[PATCH] arm26 updates

Not much to write home about. mostly tidying, some debug, and XIP support.

just keeping arm26 up to date really.

21 years agoFix various scripts to be marked executable.
Linus Torvalds [Sun, 7 Sep 2003 08:51:20 +0000 (01:51 -0700)]
Fix various scripts to be marked executable.

From carbonated beverage <ramune@net-ronin.org>.

[ "carbonated beverage"? WTF? I think I need a cool handle too ;]

21 years ago[PATCH] Fixes to allow ARM to build in the standard tree
Russell King [Sun, 7 Sep 2003 08:48:13 +0000 (01:48 -0700)]
[PATCH] Fixes to allow ARM to build in the standard tree

In addition to the MODULE_ALIAS_LDISC patch, the following changes to
generic code are needed to allow ARM to build in Linus' tree.

The first is to add PT_SINGLESTEP to ptrace.h so we do the right thing
when adding/removing breakpoint instructions into processes (see
arch/arm/kernel/{signal.c,ptrace.c} for usage.)

The second is needed because pmd_clear() needs to flush the pmd.
However, we can't include tlbflush.h into pgtable.h without causing
a circular dependency (tlbflush.h needs vm_area_struct and mm_struct
which are in mm.h, which needs pgtable.h.)  swapfile.c seems to be the
only file affected.

21 years ago[PATCH] next fixes
Karsten Keil [Sun, 7 Sep 2003 06:54:07 +0000 (23:54 -0700)]
[PATCH] next fixes

here are the next fixes, sorry for the delay, but one of bugs was a really
odd one.

Note:
- here are lot of bugs left, so ISDN is not stable yet but
  I think it's really time to fix it, even if it need some cycles
  to get it right (normally I'm only send patches if it works 100% for
  me).
- I add some additional #warnings to address places which need fixing
  (I hope that some of the other ISDN developer jump in)

21 years agoMark drivers that can't be built stand-alone in the configuration
Linus Torvalds [Sun, 7 Sep 2003 06:50:54 +0000 (23:50 -0700)]
Mark drivers that can't be built stand-alone in the configuration
files.

21 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Sun, 7 Sep 2003 06:45:13 +0000 (23:45 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoUndo static on ide_probe_for_pdc4030: it can (and will) be called
Linus Torvalds [Sun, 7 Sep 2003 04:54:38 +0000 (21:54 -0700)]
Undo static on ide_probe_for_pdc4030: it can (and will) be called
from the IDE init code when compiled-in.

21 years agoFix over-eager ioctl number fix. _IOC() does want the sizeof().
Linus Torvalds [Sun, 7 Sep 2003 03:42:30 +0000 (20:42 -0700)]
Fix over-eager ioctl number fix. _IOC() does want the sizeof().

21 years agoFix PCMCIA typo (extra 'R') that broke the compile.
Linus Torvalds [Sun, 7 Sep 2003 03:14:46 +0000 (20:14 -0700)]
Fix PCMCIA typo (extra 'R') that broke the compile.

21 years ago[PATCH] use size_t for the broken ioctl numbers
Matthew Wilcox [Sun, 7 Sep 2003 02:43:46 +0000 (19:43 -0700)]
[PATCH] use size_t for the broken ioctl numbers

The ioctl number-generating macros should be used like

#define XXXX _IOR(n,x,type-of-arg)

which generates an ioctl number that has the size of the argument
encoded within it.  But there are a number of ioctl #defines that look
like

#define XXXX _IOR(n,x,sizeof(type-of-arg))

which is very wrong: the _IO/_IOR/_IOW/_IOWR macros will do the sizeof()
on the argtype themselves, so the end result is that we will be doing a
sizeof(sizeof(argtype)), ie a sizeof(size_t).

In other words, the argtype didn't matter at all, and ended up totally
pointless.

Clearly it's too late to change the ioctl definitions, but we can at
least stop people from copying them and making the same mistake.

21 years agokbuild: genksyms, add explicit reference to include dir
Sam Ravnborg [Sat, 6 Sep 2003 23:26:51 +0000 (01:26 +0200)]
kbuild: genksyms, add explicit reference to include dir

genksyms references .h files in the genksyms directory from a
generated .c file. Explicit tell kbuild to search the genksyms
directory in the kernel src tree for .h files.

21 years agokbuild/eisa: Makefile update
Sam Ravnborg [Sat, 6 Sep 2003 23:24:41 +0000 (01:24 +0200)]
kbuild/eisa: Makefile update

- Nice output when generating devlist.h
- Defer DEVICE_NAME_SIZE assignment until needed
No funtional changes

21 years agokbuild/isdn: Defer md5sum calculation until needed
Sam Ravnborg [Sat, 6 Sep 2003 23:13:18 +0000 (01:13 +0200)]
kbuild/isdn: Defer md5sum calculation until needed

Replacing ':=' assignment with '=' assignment defers md5sum calculation until
required. The pevious implementation actually calculated the md5sum during
a make clean

21 years agokbuild/ieee1394: Makefile update
Sam Ravnborg [Sat, 6 Sep 2003 23:10:51 +0000 (01:10 +0200)]
kbuild/ieee1394: Makefile update

Use full path to script in oui.c build rule.
Take advantage of kbuild checking command-line arguments,
by adding FORCE as prerequisite, and by use of targets=

21 years agokbuild: arch/i386/boot*, use kbuild syntax when descending into compressed
Sam Ravnborg [Sat, 6 Sep 2003 23:08:53 +0000 (01:08 +0200)]
kbuild: arch/i386/boot*, use kbuild syntax when descending into compressed

Use proper kbuild syntax when descending into compressed.
The use of $(Q)$(MAKE) $(build)=... is the preferred method

21 years agokbuild: Do not duplicate A/CFLAGS
Sam Ravnborg [Sat, 6 Sep 2003 23:04:12 +0000 (01:04 +0200)]
kbuild: Do not duplicate A/CFLAGS

This solves 1193 in bugme as reported by ak@suse.de
AFLAGS and CFLAGS contained duplicate entries, both generic and
architecture specific flags

21 years ago[PATCH] more keyboard stuff
Andries E. Brouwer [Sat, 6 Sep 2003 07:38:43 +0000 (00:38 -0700)]
[PATCH] more keyboard stuff

I looked a bit more at the keyboard code and find a bug
and a probable bug.

(i) In case a synaptics touchpad has been detected, the comment says
    "disable AUX".  But we do not set the disable bit, but instead .and.
    with the bit - no doubt getting zero.  This must be a bug.

(ii) Directly above this is the suspicious comment "keyboard translation
     seems to be always off".  But every machine comes always up in
     translated scancode 2.  Translation is never off.  But wait! by
     mistake the above .and.  cleared the XLATE bit.

So, I think bug (i) explains mystery (ii).

However, note that this is code reading only.  I do not have the
hardware, so cannot test.

21 years ago[PATCH] jffs2: add linux/version.h as needed
Randy Dunlap [Sat, 6 Sep 2003 07:37:21 +0000 (00:37 -0700)]
[PATCH] jffs2: add linux/version.h as needed

include linux/version.h in files that use its defines;

21 years ago[PATCH] rename make check* targets, add versioncheck
Randy Dunlap [Sat, 6 Sep 2003 07:37:13 +0000 (00:37 -0700)]
[PATCH] rename make check* targets, add versioncheck

rename make check* targets to make *check (per Sam) since 'make
checkconfig' currently doesn't work; add versioncheck and
scripts/checkversion.pl;

21 years ago[PATCH] janitor: x86_64/sys_ia32
Randy Dunlap [Sat, 6 Sep 2003 07:37:05 +0000 (00:37 -0700)]
[PATCH] janitor: x86_64/sys_ia32

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

21 years ago[PATCH] janitor: qla1280 pci alloc/free consistent checking
Randy Dunlap [Sat, 6 Sep 2003 07:36:57 +0000 (00:36 -0700)]
[PATCH] janitor: qla1280 pci alloc/free consistent checking

Ports previous qla1280.c patch to 2.6.0-test2.  Fixes incorrect if
statement.  Inserts pci_free_consistent on error.

From: Leann Ogasawara <ogasawara@osdl.org>

21 years ago[PATCH] janitor: paride: better return codes
Randy Dunlap [Sat, 6 Sep 2003 07:36:49 +0000 (00:36 -0700)]
[PATCH] janitor: paride: better return codes

From: Domen Puncer <domen@coderock.org>

21 years ago[PATCH] janitor: oss/forte copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:36:40 +0000 (00:36 -0700)]
[PATCH] janitor: oss/forte copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

21 years ago[PATCH] janitor: more init/exit cleanups
Randy Dunlap [Sat, 6 Sep 2003 07:36:32 +0000 (00:36 -0700)]
[PATCH] janitor: more init/exit cleanups

From: Domen Puncer <domen@coderock.org>
and Randy Dunlap

Release (in fact all) functions shouldn't be __init or __exit, if they
are called from __init and __exit functions.

21 years ago[PATCH] janitor: fix copy*user in tc/zs
Randy Dunlap [Sat, 6 Sep 2003 07:36:23 +0000 (00:36 -0700)]
[PATCH] janitor: fix copy*user in tc/zs

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

21 years ago[PATCH] janitor: oss/au1000 copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:36:15 +0000 (00:36 -0700)]
[PATCH] janitor: oss/au1000 copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

21 years ago[PATCH] janitor: coda delete version.h
Randy Dunlap [Sat, 6 Sep 2003 07:36:07 +0000 (00:36 -0700)]
[PATCH] janitor: coda delete version.h

Test compiled on x86.

From: Randy Hron <rwhron@earthlink.net

21 years ago[PATCH] janitor: saa7134 pci alloc/free consistent checking
Randy Dunlap [Sat, 6 Sep 2003 07:35:58 +0000 (00:35 -0700)]
[PATCH] janitor: saa7134 pci alloc/free consistent checking

From: Leann Ogasawara <ogasawara@osdl.org>

Patch to insert ioremap() error checking and missing iounmap()'s.  Also
updated error handling to have only one return statement on error.
Finally, in saa7134_finidev() on line 954 there was a duplicate
saa7134_i2c_unregister().

21 years ago[PATCH] janitor: fix oss/swarm copy*user
Randy Dunlap [Sat, 6 Sep 2003 07:35:50 +0000 (00:35 -0700)]
[PATCH] janitor: fix oss/swarm copy*user

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

21 years ago[PATCH] janitor: fix blk_init_queue() comments
Randy Dunlap [Sat, 6 Sep 2003 07:35:43 +0000 (00:35 -0700)]
[PATCH] janitor: fix blk_init_queue() comments

blk_init_queue() has changed (it now returns queue), but the
comments were the same.

Also fixed a comment in blk_queue_end_tag.

From: Domen Puncer <domen@coderock.org>

21 years ago[PATCH] janitor: fix input serport register failure
Randy Dunlap [Sat, 6 Sep 2003 07:35:34 +0000 (00:35 -0700)]
[PATCH] janitor: fix input serport register failure

From: Daniele Bellucci <bellucda@tiscali.it>

21 years ago[PATCH] janitor: cdrom module owner
Randy Dunlap [Sat, 6 Sep 2003 07:35:26 +0000 (00:35 -0700)]
[PATCH] janitor: cdrom module owner

From: Daniele <bellucda@tiscali.it>

OK-ed by Jens.

21 years ago[PATCH] janitor: fix oss/harmony copy*user
Randy Dunlap [Sat, 6 Sep 2003 07:35:17 +0000 (00:35 -0700)]
[PATCH] janitor: fix oss/harmony copy*user

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

21 years ago[PATCH] janitor: adfs: add/remove version.h
Randy Dunlap [Sat, 6 Sep 2003 07:35:09 +0000 (00:35 -0700)]
[PATCH] janitor: adfs: add/remove version.h

From: Randy Hron <rwhron@earthlink.net>

Put version.h in the file that needs it.
Remove version.h where it isn't needed.
Tested as module/non-module on x86.

21 years ago[PATCH] janitor: jffs2 add/delete version.h
Randy Dunlap [Sat, 6 Sep 2003 07:35:02 +0000 (00:35 -0700)]
[PATCH] janitor: jffs2 add/delete version.h

From: Randy Hron <rwhron@earthlink.net>

21 years ago[PATCH] janitor: remove __SMP__
Randy Dunlap [Sat, 6 Sep 2003 07:34:53 +0000 (00:34 -0700)]
[PATCH] janitor: remove __SMP__

Three small 1-line patches to get rid of any remaining __SMP__
references in the 2.6 kernel.

From: Ron Gage  <ron@rongage.org>

21 years ago[PATCH] janitor: skfddi copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:44 +0000 (00:34 -0700)]
[PATCH] janitor: skfddi copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

This patch audits some copy_from/to_user in the SysKonnect FDDI device
driver.

21 years ago[PATCH] janitor: oss/ite8172 copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:36 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ite8172 copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

21 years ago[PATCH] janitor: oss/ali copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:27 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ali copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

21 years ago[PATCH] janitor: sc520_wdt
Randy Dunlap [Sat, 6 Sep 2003 07:34:19 +0000 (00:34 -0700)]
[PATCH] janitor: sc520_wdt

Insert ioremap error check and adjust cleanup path accordingly.

From: Leann Ogasawara <ogasawara@osdl.org>

21 years ago[PATCH] janitor: add static to comx
Randy Dunlap [Sat, 6 Sep 2003 07:34:10 +0000 (00:34 -0700)]
[PATCH] janitor: add static to comx

From: Daniele Bellucci <bellucda@tiscali.it>

add 'static' to a function

21 years ago[PATCH] janitor: remove unneeded version.h #includes
Randy Dunlap [Sat, 6 Sep 2003 07:34:01 +0000 (00:34 -0700)]
[PATCH] janitor: remove unneeded version.h #includes

From: Randy Hron <rwhron@earthlink.net>

remove unneeded linux/version.h usage & some duplicate
#includes;

21 years ago[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:18 +0000 (00:30 -0700)]
[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT

Dmasound: Use try_module_get()/module_put() instead of methods calling
MOD_{IN,DE}C_USE_COUNT (from Christoph Hellwig)

21 years ago[PATCH] dmasound core fixes
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:09 +0000 (00:30 -0700)]
[PATCH] dmasound core fixes

Dmasound core fixes from Christoph Hellwig:
  - Some exported symbols are declared __init - in the modular case this is
    freed before the other modules can call it..
  - dmasound.lock is initialized too late, do it at compile time

21 years ago[PATCH] Futex-fd error return fix
Rusty Russell [Sat, 6 Sep 2003 07:22:21 +0000 (00:22 -0700)]
[PATCH] Futex-fd error return fix

Hugh Dickins caught this confusion between the ret variable in outer
scope (holding the fd) and the return value of f_setown.  Rename inner
"ret".

21 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Linus Torvalds [Sat, 6 Sep 2003 07:21:09 +0000 (00:21 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[WATCHDOG] Documentation
Wim Van Sebroeck [Sat, 6 Sep 2003 14:43:57 +0000 (16:43 +0200)]
[WATCHDOG] Documentation

move all watchdog documentation into Documentation/watchdog/

21 years agoMerge bk://kernel.bkbits.net/jgarzik/irda-2.5
Linus Torvalds [Sat, 6 Sep 2003 07:18:48 +0000 (00:18 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/irda-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
Linus Torvalds [Sat, 6 Sep 2003 07:17:24 +0000 (00:17 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] Fix futex hashing bugs
Hugh Dickins [Sat, 6 Sep 2003 05:28:20 +0000 (22:28 -0700)]
[PATCH] Fix futex hashing bugs

This fixes two buts that the glibc NPTL verification tests found, one
new and one old.

The new bug is that "offset" has been declared as an alternative in
the union, instead of as an element in the structures comprising it,
effectively eliminating it from the key: keys match which should not.

The old bug is that if futex_requeue were called with identical
key1 and key2 (sensible? tended to happen given the first bug),
it was liable to loop for a long time holding futex_lock: guard
against that, still respecting the semantics of futex_requeue.

While here, please let's also fix the get_futex_key VM_NONLINEAR
case, which was returning the 1 from get_user_pages, taken as an
error by its callers.  And save a few bytes and improve debuggability
by uninlining the top-level futex_wake, futex_requeue, futex_wait.

21 years ago[PATCH] ide: fix imbalance preempt count with taskfile PIO
Bartlomiej Zolnierkiewicz [Sat, 6 Sep 2003 05:28:13 +0000 (22:28 -0700)]
[PATCH] ide: fix imbalance preempt count with taskfile PIO

Noticed by Tejun Huh <tejun@aratech.co.kr>.

21 years ago[PCMCIA] Fix race condition causing cards to be incorrectly recognised
Russell King [Sat, 6 Sep 2003 20:08:46 +0000 (21:08 +0100)]
[PCMCIA] Fix race condition causing cards to be incorrectly recognised

This patch fixes a race condition between the pcmcia socket initial
insert processing, ds.c and cardmgr.  This allowed cardmgr to believe
that a card was inserted while the card is still in the process of
resetting itself, and it therefore tried to read the CIS while it
was unavailable.

We change the meaning of SOCKET_PRESENT slightly - it now means that
a card is present _and we have completed its initialisation_.  We
introduce SOCKET_INUSE to indicate that we have a reference count
against the module.

We also take the skt_sem to prevent clients from registering while
we're handling an insert/remove/suspend/resume.

21 years ago[PCMCIA] Use "yenta" instead of pci_name() when allocating irq.
Russell King [Sat, 6 Sep 2003 19:08:13 +0000 (20:08 +0100)]
[PCMCIA] Use "yenta" instead of pci_name() when allocating irq.

21 years ago[PCMCIA] Fix cs.c debugging.
Russell King [Sat, 6 Sep 2003 18:24:01 +0000 (19:24 +0100)]
[PCMCIA] Fix cs.c debugging.

socket references are pointers, not integers.

21 years ago[irda] Dongle module aliases
Jean Tourrilhes [Fri, 5 Sep 2003 17:09:09 +0000 (13:09 -0400)]
[irda] Dongle module aliases

<Patch from Rusty Russell>
o [FEATURE] Add module aliases to dongle drivers

21 years ago[irda] init failure cleanups
Jean Tourrilhes [Fri, 5 Sep 2003 17:09:03 +0000 (13:09 -0400)]
[irda] init failure cleanups

<Patch from Guennadi Liakhovetski>
o [FEATURE] Don't leak stuff in various failure paths
o [FEATURE] Properly initialise self->max_header_size in IrIAP

21 years ago[irda] connect watchdog fixes
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:56 +0000 (13:08 -0400)]
[irda] connect watchdog fixes

o [CRITICA] In case of connect watchdog, drop reference to the LAP
o [CORRECT] Prevent dumping LSAP after connect watchdog
o [CRITICA] Prevent dumping TSAP if dumping LSAP did fail
o [CORRECT] Only set connected bit on response if LSAP state is correct

21 years ago[irda] LAP close race
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:50 +0000 (13:08 -0400)]
[irda] LAP close race

o [CRITICA] Fix a race condition when closing the LAP
prevent the stack to open new LSAPs while we are killing them.

21 years ago[irda] irtty cleanup
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:43 +0000 (13:08 -0400)]
[irda] irtty cleanup

o [FEATURE] Finish removing traces of old irtty driver

21 years ago[irda] NSC 3839x probe fixes
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:37 +0000 (13:08 -0400)]
[irda] NSC 3839x probe fixes

<Patch from Jan Frey>
o [CORRECT] Make NSC 3839x probe and init *really* work
The new 3839x code was totally broken.
Won't affect code for regular 38108/38338 chips.

21 years ago[irda] IrCOMM mod refcount
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:30 +0000 (13:08 -0400)]
[irda] IrCOMM mod refcount

o [FEATURE] Finish removing traces of old module refcount stuff

21 years agoMerge kroah.com:/home/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 5 Sep 2003 10:23:21 +0000 (03:23 -0700)]
Merge kroah.com:/home/linux/BK/bleed-2.5
into kroah.com:/home/linux/BK/gregkh-2.6

21 years ago[PATCH] unusual_devs.h entry
Joris Struyve [Fri, 5 Sep 2003 09:23:30 +0000 (02:23 -0700)]
[PATCH] unusual_devs.h entry

Hereby you may find my patch for a Medion digital camera along with the
/proc/bus/usb/devices output.

21 years ago[PATCH] USB: usb_epnum_to_ep_desc only look
David Brownell [Fri, 5 Sep 2003 09:23:05 +0000 (02:23 -0700)]
[PATCH] USB: usb_epnum_to_ep_desc only look

Original patch from oliverthered@oliverthered.com ... this
updates it:

  - usb_epnum_to_ep_desc() only looks at the active altsetting
  - docs clarified

It's possible some user mode drivers will have relied on the
previous buggy behavior, since usbfs uses this call.  The fix
will be for them to set the appropriate altsetting.

21 years agoMerge bk://kernel.bkbits.net//home/mochel/linux-2.5-core
Patrick Mochel [Fri, 5 Sep 2003 08:46:20 +0000 (01:46 -0700)]
Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-core
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

21 years ago[sysfs/kobject] Update documentation.
Patrick Mochel [Fri, 5 Sep 2003 08:31:35 +0000 (01:31 -0700)]
[sysfs/kobject] Update documentation.

From Randy Dunlap.

21 years ago[driver model] Add exports for sys devices.
Patrick Mochel [Fri, 5 Sep 2003 08:28:49 +0000 (01:28 -0700)]
[driver model] Add exports for sys devices.

From Dominik Brodowski:

A few missing exports -- even though the cpu_sysdev_class isn't strictly
needed now, I need it for a few ACPI-related patches I'll send out in a
minute.

21 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Fri, 5 Sep 2003 07:17:55 +0000 (00:17 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

21 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Patrick Mochel [Fri, 5 Sep 2003 07:06:46 +0000 (00:06 -0700)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/mochel/linux-2.5-core

21 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Fri, 5 Sep 2003 05:50:48 +0000 (22:50 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[AGPGART] Fix up missing brackets on defines.
Dave Jones [Fri, 5 Sep 2003 21:47:15 +0000 (22:47 +0100)]
[AGPGART] Fix up missing brackets on defines.

21 years ago[AGPGART] Remove unneeded string from AMD64 GART driver.
Dave Jones [Fri, 5 Sep 2003 16:46:42 +0000 (17:46 +0100)]
[AGPGART] Remove unneeded string from AMD64 GART driver.

21 years ago[PATCH] New version of jfsutils needed
Dave Kleikamp [Fri, 5 Sep 2003 05:38:49 +0000 (22:38 -0700)]
[PATCH] New version of jfsutils needed

A recent change to the 2.6.0 kernel has changed the behavior of opening a
block device with the O_EXCL flag.  This can cause fsck.jfs to fail to
replay the journal when a file system is mounted read-only.

The JFS utilities have been fixed, and it is recommended that any users of
JFS update the utilities to version 1.1.3.

21 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Fri, 5 Sep 2003 05:17:30 +0000 (22:17 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Fri, 5 Sep 2003 05:15:37 +0000 (22:15 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[CPUFREQ] Print out CPU name in debug info.
Dave Jones [Fri, 5 Sep 2003 16:38:20 +0000 (17:38 +0100)]
[CPUFREQ] Print out CPU name in debug info.
Add template for Nehemiah.

21 years ago[CPUFREQ] Print out FSB in longhaul debug info
Dave Jones [Fri, 5 Sep 2003 16:19:00 +0000 (17:19 +0100)]
[CPUFREQ] Print out FSB in longhaul debug info

21 years agoFix mprotect() to do proper PROT_xxx -> VM_xxx translation.
Linus Torvalds [Fri, 5 Sep 2003 05:05:07 +0000 (22:05 -0700)]
Fix mprotect() to do proper PROT_xxx -> VM_xxx translation.

This also fixes the bug with MAP_SEM being potentially
interpreted as VM_SHARED.

21 years ago[PATCH] Common PROT_xxx -> VM_xxx mapping
Jamie Lokier [Fri, 5 Sep 2003 04:42:15 +0000 (21:42 -0700)]
[PATCH] Common PROT_xxx -> VM_xxx mapping

This moves the mapping of PROT_* bits to VM_* bits from mmap.c to the
common header file <linux/mman.h>.  The mapping is needed for mprotect
too.

21 years ago[PATCH] large dev_t - second series (15/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:21 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (15/15)

old_decode_dev()/old_encode_dev() added where needed in other
filesystems.  Parts in different filesystems are independent, but IMO
it's not worse splitting into a dozen of half-kilobyte patches.

21 years ago[PATCH] large dev_t - second series (14/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:10 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (14/15)

nfs_fattr->rdev switched to dev_t; code that unpacks on-the-wire
attributes does explicit conversion now.

21 years ago[PATCH] large dev_t - second series (13/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:01 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (13/15)

HPFS code that uses EAs for storing i_rdev/i_mode/i_uid/i_gid
sanitized.

21 years ago[PATCH] large dev_t - second series (12/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:53 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (12/15)

Similar fix for UFS; touching device node (and they have 32bit
dev_t) ends up killing upper 16 bits, which makes for very unhappy
*BSD, since that turns /dev/ad0s1 into alias of /dev/ad0.  Again, for
now we store on-disk value in private part of inode and use it instead
of ->i_rdev in ->write_inode().

21 years ago[PATCH] large dev_t - second series (11/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:44 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (11/15)

Fix for JFS handling of device nodes; it has 32bit on-disk device
numbers, shoves them into 16bit (->i_rdev) when inode is read and writes
them back truncated when inode is written to disk.  For now (and 2.4 will
have to do the same permanently) we store the original value in private
part of inode and use it instead of ->i_rdev in ->write_inode(); mknod()
sets it at the same time as ->i_rdev.  It will become unnecessary when
dev_t becomes wider than 16 bits, but for now we need it.

21 years ago[PATCH] large dev_t - second series (10/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:36 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (10/15)

Fix for endianness bug in UDF: it writes major and minor as 32bit
host-endian and reads them as 32bit little-endian; obviously a bad idea
on big-endian boxen ;-)  Needed both for 2.4 and 2.6.

21 years ago[PATCH] large dev_t - second series (9/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:27 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (9/15)

beginning of fs side work:
* new helpers - old_valid_dev(), old_encode_dev() and old_decode_dev()
* old_valid_dev() checks if dev_t value is OK for old filesystems
(i.e. both major and minor are below 256).
* old_valid_dev() calls are added in ->mknod() instances that care
about dev_t values (disk-backed and network ones).
* old_encode_dev() and old_decode_dev() convert dev_t -> u16
and u16 -> dev_t resp; currently these are no-ops, places that use current
formar (minor in bits 0--7, major in bits 8--15) will switch to these before
we widen dev_t.

21 years ago[PATCH] large dev_t - second series (8/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:18 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (8/15)

kdev_t, to_kdev_t(), etc. are gone - there is no more objects
of that type and no remaining callers of these functions.

21 years ago[PATCH] large dev_t - second series (7/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:08 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (7/15)

the last kdev_t object is gone; ->i_rdev switched to dev_t.