07 Jan, 2006
4 commits
-
Manual fixup for merge with Jens' "Suspend support for libata", commit
ID 9b847548663ef1039dd49f0eb4463d001e596bc3.Signed-off-by: Linus Torvalds
-
This patch adds suspend patch to libata, and ata_piix in particular. For
most low level drivers, they should just need to add the 4 hooks to
work. As I can only test ata_piix, I didn't enable it for more
though.Suspend support is the single most important feature on a notebook, and
most new notebooks have sata drives. It's quite embarrassing that we
_still_ do not support this. Right now, it's perfectly possible to
suspend the drive in mid-transfer.Signed-off-by: Jens Axboe
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Make drivers that use directly PC parport HW depend on PARPORT_PC rather than
HW independent PARPORT.Signed-off-by: Marko Kohtala
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X,
ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by
S390, 64BIT and COMPAT.Signed-off-by: Martin Schwidefsky
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
06 Jan, 2006
10 commits
-
Signed-off-by: Jens Axboe
-
Signed-off-by: Tejun Heo
Signed-off-by: Jens Axboe -
Reflect changes in SCSI midlayer and updated to use new
ordered request implementationSigned-off-by: Tejun Heo
Signed-off-by: Jens Axboe -
Add FUA support for barriers to SCSI disk.
Signed-off-by: Tejun Heo
Signed-off-by: Jens Axboe -
All ordered request related stuff delegated to HLD. Midlayer
now doens't deal with ordered setting or prepare_flush
callback. sd.c updated to deal with blk_queue_ordered
setting. Currently, ordered tag isn't used as SCSI midlayer
cannot guarantee request ordering.Signed-off-by: Tejun Heo
Signed-off-by: Jens Axboe -
add @uptodate argument to end_that_request_last() and @error
to rq_end_io_fn(). there's no generic way to pass error code
to request completion function, making generic error handling
of non-fs request difficult (rq->errors is driver-specific and
each driver uses it differently). this patch adds @uptodate
to end_that_request_last() and @error to rq_end_io_fn().for fs requests, this doesn't really matter, so just using the
same uptodate argument used in the last call to
end_that_request_first() should suffice. imho, this can also
help the generic command-carrying request jens is working on.Signed-off-by: tejun heo
Signed-Off-By: Jens Axboe -
Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified
probe() callback. As all in-kernel drivers are changed to this new
callback, there will be no temporary backwards-compatibility. Inside a
probe() function, each driver _must_ set struct pcmcia_device
*p_dev->instance and instance->handle correctly.With these patches, the basic driver interface for 16-bit PCMCIA drivers
now has the classic four callbacks known also from other buses:int (*probe) (struct pcmcia_device *dev);
void (*remove) (struct pcmcia_device *dev);int (*suspend) (struct pcmcia_device *dev);
int (*resume) (struct pcmcia_device *dev);Signed-off-by: Dominik Brodowski
-
The linked list of devices managed by each PCMCIA driver is, in very most
cases, unused. Therefore, remove it from many drivers.Signed-off-by: Dominik Brodowski
-
Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function.
Old functionality is preserved, for the moment.Signed-off-by: Dominik Brodowski
-
Move the suspend and resume methods out of the event handler, and into
special functions. Also use these functions for pre- and post-reset, as
almost all drivers already do, and the remaining ones can easily be
converted.Bugfix to include/pcmcia/ds.c
Signed-off-by: Andrew MortonSigned-off-by: Dominik Brodowski
05 Jan, 2006
6 commits
-
Trivial manual merge fixup for usb_find_interface clashes.
-
Leave the overloaded "hotplug" word to susbsystems which are handling
real devices. The driver core does not "plug" anything, it just exports
the state to userspace and generates events.Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman -
The distinction between hotplug and uevent does not make sense these
days, netlink events are the default.udev depends entirely on netlink uevents. Only during early boot and
in initramfs, /sbin/hotplug is needed. So merge the two functions and
provide only one interface without all the options.The netlink layer got a nice generic interface with named slots
recently, which is probably a better facility to plug events for
subsystem specific events.
Also the new poll() interface to /proc/mounts is a nicer way to
notify about changes than sending events through the core.
The uevents should only be used for driver core related requests to
userspace now.Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
03 Jan, 2006
1 commit
02 Jan, 2006
1 commit
-
Ignore all files generated from *_shipped files, plus a few others.
Signed-off-by: Brian Gerst
Signed-off-by: Sam Ravnborg
27 Dec, 2005
1 commit
-
The oops is characteristic of the underlying device being removed from
visibility before the class device, and sure enough we do device_del()
before transport_unregister() in the scsi_target_reap() routines. I've
no idea why this is suddenly showing up, since the code has been in
there since that function was first invented. However, I've confirmed
this fixes Andrew Vasquez's boot oops.Signed-off-by: James Bottomley
Signed-off-by: Linus Torvalds
25 Dec, 2005
1 commit
24 Dec, 2005
2 commits
-
The following patch prevents libata from incorrectly modifying inquiry
VPD pages and command support data from ATAPI devices. I have tested
the patch with a SATA ATAPI tape drive on an AHCI controller.Patch is against kernel 2.4.32 with 2.4.32-libata1.patch applied.
Anthony J. Battersby
CyberneticsSigned-off-by: Jeff Garzik
22 Dec, 2005
1 commit
19 Dec, 2005
1 commit
-
Miquel van Smoorenburg forwarded me this fix to
resolve a deadlock condition that occurs due to the API change in
2.6.13+ kernels dropping the host locking when entering the error
handling. They all end up calling adpt_i2o_post_wait(), which if you
call it unlocked, might return with host_lock locked anyway and that
causes a deadlock.Signed-off-by: Mark Salyzyn
Cc: James Bottomley
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
18 Dec, 2005
2 commits
-
Fix compile warnings with current scsi-misc git tree
Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
scsi_reap_target() was desgined to be called from any context.
However it must do a device_del() of the target device, which may only
be called from user context. Thus we have to reimplement
scsi_reap_target() via a workqueue.Signed-off-by: James Bottomley
17 Dec, 2005
3 commits
-
When the sym1 driver was in the tree, it used to share various parts of
its infrastructure with the ncr driver. Now it's gone, these files are
just an annoyance, so merge sym53c8xx_comm.h into ncr53c8xx.c and merge
sym53c8xx_defs.h into ncr53c8xx.h.Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
The ncr53c8xx driver had its own loop to print scsi messages. Use the
SPI one instead.Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
This update now allows this driver to be used on big endian bus
machines that aren't parisc. To do that, the driver must set a
CONFIG_53C700_BE_BUS in Kconfig to compile the right macro versions.Signed-off-by: James Bottomley
16 Dec, 2005
7 commits
-
In the scenario that a link was broken, the devloss timer for each
rport was expire at roughly the same time, causing lots of "delete"
workqueue items being queued. Depth is dependent upon the number of
rports that were on the link.The rport target remove calls were calling flush_scheduled_work(),
which would interrupt the stream, and start the next workqueue item,
which did the same thing, and so on until recursion depth was large.This fix stops the recursion in the initial delete path, and pushes it
off to a host-level work item that reaps the dead rports.Signed-off-by: James Bottomley
-
Introduce a new helper, print_nego() to handle SDTR/WDTR/PPR.
Split out the guts of show_spi_transport_period_helper() into period_to_str()
and use it in print_nego to get the period factor conversion right.Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
Replace the custom NO_*_MSGS definitions with uses of ARRAY_SIZE.
This fixes a bug in the definition of NO_EXTENDED_MSGS.Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
A missing comma meant that "Ordered Queue Tag" and "Ignore Wide Residue"
were being concatenated together.Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
Rename scsi_print_msg to spi_print_msg and move its prototype from
scsi_dbg.h to scsi_transport_spi.hSigned-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
scsi_print_msg() is an SPI-specific concept. This patch moves it from
constants.c to scsi_transport_spi.c and updates the Kconfig to link in
the SPI class for the drivers which use scsi_print_msg().Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
I forgot to do a git-update-cache on the merged files ...