- 20 Nov, 2002 2 commits
-
-
Patrick Mansfield authored
On Sun, Nov 17, 2002 at 11:54:49PM +0100, Christoph Hellwig wrote: > --- 1.46/drivers/scsi/scsi_lib.c Thu Nov 14 18:09:17 2002 > +++ edited/drivers/scsi/scsi_lib.c Sun Nov 17 21:37:05 2002 > @@ -7,50 +7,18 @@ > * of people at Linux Expo. > */ > > -/* > - * The fundamental purpose of this file is to contain a library of utility > - * routines that can be used by low-level drivers. Ultimately the idea > - * is that there should be a sufficiently rich number of functions that it > - * would be possible for a driver author to fashion a queueing function for > - * a low-level driver if they wished. Note however that this file also > - * contains the "default" versions of these functions, as we don't want to > - * go through and retrofit queueing functions into all 30 some-odd drivers. > - */ > - > -#include <linux/module.h> > - > -#include <linux/sched.h> > -#include <linux/timer.h> > #include <linux/string.h> > #include <linux/slab.h> > #include <linux/bio.h> > -#include <linux/ioport.h> > #include <linux/kernel.h> > -#include <linux/stat.h> > #include <linux/blk.h> > -#include <linux/interrupt.h> > -#include <linux/delay.h> > -#include <linux/smp_lock.h> > #include <linux/completion.h> > > - > -#define __KERNEL_SYSCALLS__ > - > -#include <linux/unistd.h> I had to add back the smp_lock.h include to compile with CONFIG_PREEMPT, as kernel_locked was not defined and is used by in_atomic(). Patch against the latest scsi-misc-2.5:
-
James Bottomley authored
Fix is to only plug on prep deferral if the device queue is empty (otherwise we can rely on returning I/O to restart the queue)
-
- 19 Nov, 2002 14 commits
-
-
Patrick Mansfield authored
On Tue, Nov 19, 2002 at 10:45:25AM +1100, Douglas Gilbert wrote: > That directory (and all who sail in her, e.g. /proc/scsi/scsi) > seems to have disappeared. When the scsi_debug module is > loaded a /proc/scsi_debug/0 entry appears (that used to be > /proc/scsi/scsi_debug/0). > > Doug Gilbert It looks like the merge of Doug and Christoph's code dropped two calls (unless the exit devfs_unregister was supposed to be removed). Here's a patch for the addition of scsi_init_procfs, devfs_mk_dir and bus_unregister calls, and a small reordering so calls in exit_scsi match the reverse of those in init_scsi.
-
Douglas Gilbert authored
The scsi_debug version in lk 2.5.48 is the second last one I sent to this list. So this patch includes the changes from the last one I sent: - fix "in use" counting [hch] - clean up bios_param() code It also merges a sysfs re-organisation from Mike Anderson.
-
James Bottomley authored
On returning I/O, need to unplug the queue before we call the queue_fn. This fixes a problem in 2.5.48 where the aic7xxx driver hangs under e2fsck.
-
Christoph Hellwig authored
Some of that stuff might have been right for 2.4, but.. (and btw, scsi_lib is pretty misleading, what about reusing scsi_queue.c?)
-
Christoph Hellwig authored
-
Christoph Hellwig authored
Currently allocation and freeing of struct scsi_device is a mess. We have two nice functions in scsi_scan.c (scsi_allocate_sdev/ scsi_free_sdev) that are the right interfaces to deal with it, so I moved them to scsi and made them non-static. I've changed all functions allocation freeing them to use it.
-
Christoph Hellwig authored
*grr* - silly typedefs..
-
Linus Torvalds authored
sending routines don't set it up.
-
Linus Torvalds authored
from "write()" is an error condition, and hang retrying. Return EINVAL in sysfs instead.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
David Woodhouse authored
-
David Woodhouse authored
-
Andries E. Brouwer authored
-
Ben Fennema authored
-
- 18 Nov, 2002 24 commits
-
-
Andries E. Brouwer authored
These security_ops are declared like int (*inode_mknod) (struct inode *dir, struct dentry *dentry, int mode, dev_t dev); with a mode and a dev_t argument. But the users mistakenly had major, minor instead of mode, dev.
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
Trond Myklebust authored
Given Andi Kleen's patch that introduces of VFS-level support for nanosecond time resolutions, we should finally be able to export the existing NFS client level support to userland. In order to do so, the following patch will convert all NFS private 'raw u64' values into the kernel-supported struct timespec directly in the xdr_encode/xdr_decode routines. It adds support for the nanosecond field in NFS 'setattr' calls, and in nfs_refresh_inode(). Finally, there are a few cleanups in the nfs_refresh_inode code that convert multiple use of the NFS_*(inode) macros into a single dereference of NFS_I(inode).
-
Robert Love authored
Fix numerous ALSA core compiler warnings of the type "unused variable foo"
-
bk://are.twiddle.net/math-emuLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
was enabled, so split it up into "extable.c"
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Rusty Russell authored
Since I believe kallsyms is important, this reimplements it sanely, using the current module infrastructure, and not using an external kallsyms script. FYI, the previous interface was: int kallsyms_symbol_to_address( const char *name, /* Name to lookup */ unsigned long *token, /* Which module to start with */ const char **mod_name, /* Set to module name or "kernel" */ unsigned long *mod_start, /* Set to start address of module */ unsigned long *mod_end, /* Set to end address of module */ const char **sec_name, /* Set to section name */ unsigned long *sec_start, /* Set to start address of section */ unsigned long *sec_end, /* Set to end address of section */ const char **sym_name, /* Set to full symbol name */ unsigned long *sym_start, /* Set to start address of symbol */ unsigned long *sym_end /* Set to end address of symbol */ ); The new one is: /* Lookup an address. modname is set to NULL if it's in the kernel. */ const char *kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname);
-
James Morris authored
-
James Morris authored
-
Richard Henderson authored
-
http://linux-acpi.bkbits.net/linux-acpiLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Richard Henderson authored
-
David S. Miller authored
-
Alexey Kuznetsov authored
- Implement policy timeouts. - Make PF_KEY return proper error from KM acquire.
-
Chris Wilson authored
-
Eric Brower authored
-
James Morris authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-