- 25 Mar, 2003 1 commit
-
-
Adam Belay authored
This patch fixes the MODULE_DEVICE_TABLE problems, the correct code was accidentally lost a few merges back. It is from Daniel Ritz <daniel.ritz@gmx.ch>, below is the original message. hello adam, jaroslav, list this patch does: - rename struct pnp_card_id to pnp_card_device_id - fix all references to it this is needed for the MODULE_DEVICE_TABLE() macro to work with pnp_card's. jaroslav did this a while ago (changeset 1.879.79.1), but adam undid it a bit later (changeset 1.889.202.3). but why? w/o the patch gcc dies when compiling als100.c with the message 'storage size of __mod_pnp_card_device_table unknown' (this is from the macro). any reasons why i should not send this to linus? against 2.5.65-bk rgds -daniel
-
- 24 Mar, 2003 35 commits
-
-
Adam Belay authored
This trivial patch adds a missing kfree, the leak occurs when pnp_activate_dev fails.
-
Adam Belay authored
- Prevents calling the node_info call more than necessary in order to take load off the pnpbios - intregrates the proc registration code with the device scanning code - adds human readable error messages instead of number codes - other small cleanups
-
Adam Belay authored
Moves probing code to a central location and matches when new cards are added instead of only when new drivers are added.
-
Linus Torvalds authored
-
Dave Jones authored
Still pretty ugly debug macro, but this at least makes it do the right thing when used in if/else blocks Fix from Joe Perches <joe@perches.com>
-
Dave Jones authored
-
Davide Libenzi authored
This patch adds selectable EdgeTriggered/LevelTriggered behaviour to epoll. It has been widely discussed on lkml about two weeks ago and everyone very welcome the change. It has been even more widely discussed through private emails with application developers, that do not feel confortable posting on lkml. The great value of the patch is that selecting the LT behaviour, applications using poll/select can be ported very easily to epoll, making existing apps to benefit from epoll scalability with very short ETA's. The API remains the same with the addition of a EPOLLET event flag that sets the LT/ET behaviour for that fd.
-
Christoph Hellwig authored
Many usb drivers use the usb_devfs_handle variable instead of just adding the usb/ prefix directly to their devfs_register calls. Fix that and make usb_devfs_handle static and unexported.
-
Christoph Hellwig authored
.. by moving a bunch of devfs-related code from fs/partition/check.c to fs/devfs/base.c. Also has the nice sideffect of getting rid of a bunch of ugly ifdefs. [This is the new and improved, rediffed, applying and compilable version. In short it's perfect]
-
Andrew Morton authored
From: Nikita Danilov, Maneesh Soni d_lookup() is forgetting to release the lock when the rename race happens.
-
Linus Torvalds authored
by having a cast followed by an initializer. It seems even gcc can't do it right anyway in some versions (as reported by Jens Axboe).
-
Linus Torvalds authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
+ C99 struct initialisers
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
Another brought forward from 2.4.
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
Spotted by Oleg Drokin
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
A proper PCI_DEVICE_ID... would have been nice, but for now, this syncs with 2.4
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Jens Axboe authored
It could be negative.
-
Stephen Rothwell authored
This is the other part of the missing bits of the compat_ptr patch pointed out to me by Andrew Morton and Dave Miller. This is just the architectures I have permission to send you. Dave has sent you his own already.
-
- 23 Mar, 2003 4 commits
-
-
Jonathan Corbet authored
FYI, I have gotten some most strange results with the equivalent of: request_queue_t *q = kmalloc(...); blk_init_queue(q, ...) The problem turns out to be that q->backing_dev_info.memory_backed is not initialized, leaving it to be whatever was there before. The end result is that my "driver" never saw write requests, but reads came through fine. Took a while to figure out that one... Here's the fix, for what it's worth. (I had, BTW, tried just zeroing the whole structure in blk_init_queue(), but that makes IDE oops at boot - it sets q->queuedata early).
-
Ingo Molnar authored
This is a pure identity cleanup: - coding style fixes (whitespace, code, comment, line length cleanups) - remove dead code - simplify constructs, make code more readable
-
Andrew Morton authored
asm-generic/tlb.h needs swap.h for free_page_and_swap_cache().
-
Christoph Hellwig authored
Avoid a bunch of non-NULL first arguments.
-