19 Apr, 2005
38 commits
-
sysfs: allow changing the permissions for already created attributes
Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman -
On Tue, 2005-03-15 at 09:25 +0100, Hannes Reinecke wrote:
> The current implementation of the firmware class breaks a fundamental
> assumption in udevd: that the physical device can be initialised fully
> prior to executing the next event for that device.Here we add a TIMEOUT value to the hotplug environment of the firmware
requesting event. I will adapt udevd not to wait for anything else, if
it finds a TIMEOUT key.Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Greg Kroah-Hartman
-
Add some documentation for krefs.
Signed-off-by: Corey Minyard
Signed-off-by: Greg Kroah-Hartman -
This adds the missing arch/arm/lib/bitops.h file.
-
Like Alpha, sparc64's struct stat was defined before we had the
nanosecond et al. fields added. So like Alpha I have to cons up a
struct stat64 to get this stuff. I'll work on the glibc bits soon.Also, we were forgetting to fill in the nanosecond fields in the sparc
compat stat64 syscalls.Signed-off-by: David S. Miller
Signed-off-by: Linus Torvalds -
Signed-off-by: Russell King
-
Done with "git-pull-script rsync://www.parisc-linux.org/~jejb/scsi-rc-fixes-2.6.git"
together with an automated content merge. -
Now that we export all the parameters, this is easy to do.
It also means that we can dump about 2000 lines of code that
were dedicated to doing this internally.Additionally, this removes all the aic7xxx driver abuse
of SCSI timers which were embedded in the DV routines.Signed-off-by: James Bottomley
-
This is just a simplistic patch to export all of the
aic7xxx internal transport parameters via the SPI
transport class. It doesn't actually alter the way the
driver works at all.Signed-off-by: James Bottomley
-
CC [M] drivers/scsi/qla2xxx/qla_attr.o
drivers/scsi/qla2xxx/qla_attr.c: In function `qla2x00_sysfs_write_fw_dump':
drivers/scsi/qla2xxx/qla_attr.c:65: warning: implicit declaration of function `vfree'
drivers/scsi/qla2xxx/qla_attr.c:83: warning: implicit declaration of function `vmalloc'
drivers/scsi/qla2xxx/qla_attr.c:83: warning: cast to pointer from integer of different sizeAlso remove spurious inclusion of linux/version.h
Signed-off-by: James Bottomley
-
From: James.Smart@Emulex.Com
Modified for kernel import and
Signed-off-by: James Bottomley -
This patch contains the following cleanups:
- make some needlessly global functions static
- remove one more kernel 2.2 #ifdefSigned-off-by: Adrian Bunk
Signed-off-by: James Bottomley -
these have been wrappers for the generic dma direction bits since 2.5.x.
This patch converts the few remaining drivers and removes the macros.Arjan noticed there's some hunk in here that shouldn't. Updated patch
below:Signed-off-by: James Bottomley
-
Signed-off-by: Andrew Vasquez
Signed-off-by: James Bottomley -
Signed-off-by: Andrew Vasquez
Signed-off-by: James Bottomley -
Remove /proc support.
Signed-off-by: Andrew Vasquez
Signed-off-by: James Bottomley -
Don't use cmd->request->nr_hw_segments as it may not be initialized
(SG_IO in particular bypasses anything that initializes this and just
uses scsi_do_req to insert a scsi_request directly on the head of the
queue) and a bogus value here can trip up the checks to make sure that
the number of segments will fit in the queue ring buffer, resulting in
commands that are never completed.Fix up several issues with PCI DMA mapping and failure to check return
values on the mappings.Make the check for space in the ring buffer happen after the DMA mapping
is done since any checks done before the mapping has taken place are
bogus.Doug Ledford .
Signed-off-by: Andrew Vasquez
Signed-off-by: James Bottomley -
Remove internal lun discovery routines and support
structures.Signed-off-by: Andrew Vasquez
Signed-off-by: James Bottomley -
Add initial support for FC remote port infrastructure.
o Use fc_remote_port...() registration and block/unlock
functions.
o Consolidate 'attribute' (fc-remote/sysfs) helpers into
new qla_attr.c file.Signed-off-by: Andrew Vasquez
Signed-off-by: James Bottomley -
Remove internal command queuing from the driver. As is, this
driver cannot tolerate cable-pulls as I/Os will begin to fail
by the upper layers.o Should be used in conjuction with the
11-fc_rport_adds_2.diff patch.
o Removes qla_listops.h file -- no longer needed.Signed-off-by: Andrew Vasquez
Signed-off-by: James Bottomley -
Signed-off-by: Jesper Juhl
Signed-off-by: Ingo Molnar
Signed-off-by: Linus Torvalds -
This adds 32-bit compatibility for mounting an NFSv4 mount on a 64-bit
kernel (such as happens with PPC64).The problem is that the mount data for the NFS4 mount process includes
auxilliary data pointers, probably because the NFS4 mount data may
conceivably exceed PAGE_SIZE in size - thus breaking against the hard
limit imposed by sys_mount().Signed-Off-By: David Howells
Signed-off-by: Linus Torvalds -
This fixes a deadlock on the dcache lock detected during testing at IBM
by moving the logging of the current executable information from the
SELinux avc_audit function to audit_log_exit (via an audit_log_task_info
helper) for processing upon syscall exit.For consistency, the patch also removes the logging of other
task-related information from avc_audit, deferring handling to
audit_log_exit instead.This allows simplification of the avc_audit code, allows the exe
information to be obtained more reliably, always includes the comm
information (useful for scripts), and avoids including bogus task
information for checks performed from irq or softirq.Signed-off-by: Stephen Smalley
Signed-off-by: James Morris
Signed-off-by: Linus Torvalds -
Signed-off-by: Geert Uytterhoeven
Signed-off-by: Linus Torvalds -
Signed-off-by: Geert Uytterhoeven
Signed-off-by: Linus Torvalds -
This patch makes scsi_send_eh_cmnd() use sdev and shost instead of
referencing them through scmd-> everytime.Signed-off-by: Tejun Heo
Signed-off-by: James Bottomley -
This patch removes volatile qualifier from scsi_device->device_busy,
Scsi_Host->host_busy and ->host_failed as the volatile qualifiers
don't serve any purpose now. While at it, convert those fields from
unsigned short to unsigned int as suggested by Christoph.Signed-off-by: Tejun Heo
Signed-off-by: James Bottomley -
We have a DID_IMM_RETRY to require a retry at once, but we could do with
a DID_REQUEUE to instruct the mid-layer to treat this command in the
same manner as QUEUE_FULL or BUSY (i.e. halt the submission until
another command returns ... or the queue pressure builds if there are no
outstanding commands).Signed-off-by: James Bottomley
-
From: Andreas Herrmann
This patch mainly introduces support for point-2-point
topology.From: Heiko Carstens
From: Maxim Shchetynin
From: Andreas Herrmann
Signed-off-by: James Bottomley -
Also broken design in its compat handlers - CONFIG_COMPAT doesn't
mean that there should be no native ioctls.Signed-off-by: Andi Kleen
Reworked with comments from Markus Lidel by:
Christoph HellwigRejections fixed and
Signed-off-by: James Bottomley -
Fix up two drivers that incorrectly were using the old return values for
their new-style EH methods and kill off scsi_obsolete.h that defined the
constants. The initio driver has all these constansts defined locally
and uses them internally, I'll fix that up some time later.Signed-off-by: James Bottomley
-
scsi_cmnd->serial_number_at_timeout doesn't serve any purpose
anymore. All serial_number == serial_number_at_timeout tests
are always true in abort callbacks. Kill the field. Also, as
->pid always equals ->serial_number and ->serial_number
doesn't have any special meaning anymore, update comments
above ->serial_number accordingly. Once we remove all uses of
this field from all lldd's, this field should go.Signed-off-by: Tejun Heo
Signed-off-by: James Bottomley -
scsi_cmnd->internal_timeout field doesn't have any meaning
anymore. Kill the field.Signed-off-by: Tejun Heo
Signed-off-by: James Bottomley -
We have the scsi_print_* functions in the proper namespace for a long
time now and there weren't a lot users left.Signed-off-by: James Bottomley
-
Adapted from a patch in SuSE's kernel SRPM.
Signed-off-by: James Bottomley
18 Apr, 2005
2 commits
-
The recent acpi boot patch breaks for me: acpi_fadt needs CONFIG_ACPI_BUS.
Signed-off-By: Chris Wedgwood
Acked-by: Andi Kleen
Signed-off-by: Linus Torvalds -
The compat routine to copy over this data structure was not
handling SI_POLL correctly, breaking various fcntl() variants
in compat tasks.Signed-off-by: David S. Miller
Signed-off-by: Linus Torvalds