- 14 Aug, 2004 16 commits
-
-
Brian King authored
This fixes ipr to only allow eh initiated start_unit commands following erp to disk devices. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
The following patch fixes a hang in i/o that could occur if an adapter was ever declared "dead" by the ipr driver due to repeated failed attempts to revive the card. The patch now allows ipr to fail new commands when in this state rather than endlessly return SCSI_MLQUEUE_HOST_BUSY. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
From: Mika Kukkonen <mika@osdl.org> The following patch fixes some sparse warnings. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
This patch correctly enables tagged command queuing for the ipr driver. I had misinterpreted scsi_mid_low_api.txt. The following patch has the appropriate scsi_activate_tcq/scsi_deactivate_tcq calls. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
From: Alan Cox <alan@redhat.com> Subject: PATCH: Fix assorted dma_addr_t typing errors in ipr driver Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
Add a couple new devices supported by the ipr device driver. This patch has already been sent to pciids-devel@lists.sourceforge.net. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
The following patch adds my email address to the block comment at the start of each file of the ipr driver to make it easier to find. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
The following patch converts ipr to use a kref rather than a kobject to do reference counting on an internal data structure. The added overhead of a kobject is not needed. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
From: Francois Romieu <romieu@fr.zoreil.com> Subject: [PATCH 2.6.7-mm3] ipr: minor fixes and assorted nit - balance pci_enable_device() with pci_disable_device() where appropriate; - pci_release_regions() replaces release_mem_region(); - ipr_alloc_mem() can not simply issue a call to ipr_free_mem() when something goes wrong as it would lead to pci_free_consistent() of unset data. Let ipr_alloc_mem() carefully release whatever it has allocated instead; - no need to memset(..., 0, ...) an area returned by pci_alloc_consistent; - ipr_probe_ioa: + DMA_32BIT_MASK for all; + error path rework (includes bug fix when ipr_alloc_mem fails); - ipr_init() can fail: return adequate status code. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
This patch adds support for 2 new ipr adapters. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
The ipr device driver runs tagged queuing with QERR=1. When a check condition occurs on a device running tagged queuing, the other queued commands get aborted by the ipr driver and will be returned by the adapter with the IPR_IOASC_ABORTED_CMD_TERM_BY_HOST response. These commands should be retried by the midlayer and their retry counter not decremented. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
Bump driver version. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
Currently, ABORT_TASK does not work properly on ipr adapters. It results in timeouts and eh ends up getting escalated to eh_host_reset to recover. The adapters are supposed to be fixed to properly handle this at some point in the future, but until that updated microcode is available, we need to send a cancel all to the device instead. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Brian King authored
From: Pawel Sikora <pluto@pld-linux.org> The first parameter for sector_div must be sector_t rather than int. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Guennadi Liakhovetski authored
I might be wrong, but it looks like the attached patch has still not been applied, although it is pretty important - it fixes error handling in tmscsim. E.g., it was reported, that this patch fixes a problem with tmscsim in 2.6.7 with a SCSI-3 scanner, that doesn't support REPORT LUNS command. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Christian Borntraeger authored
Two scsi drivers do not compile on systems without ISA/PCI. Therefore allyesconfig breaks on hardware like s390. Signed-off-by: Christian Bornträger <linux-kernel@borntraeger.net> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 13 Aug, 2004 4 commits
-
-
Randy Dunlap authored
Use correct __setup function type and parameters. Return result from __setup function. Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Randy Dunlap authored
Use correct __setup function type and parameters. Return result from __setup function. Don't confuse <ints> and <interrupts>. Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
The SCSI tree as included in 2.6.8-rc2-mm2 only removes the inline's from the functions prototypes, but the part of my original patch that also removes the inline's from the functions was lost. Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Randy Dunlap authored
Fix imm for IMM_DEBUG (changed device id struct). Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 01 Aug, 2004 2 commits
-
-
Adrian Bunk authored
The patch below lets AIC7{9,X}XX_BUILD_FIRMWARE depend on !PREVENT_FIRMWARE_BUILD. Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Morton authored
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 29 Jul, 2004 3 commits
-
-
Andrew Morton authored
From: "J.A. Magallon" <jamagallon@able.es> This allows to build aic with db4. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Morton authored
From: Joe Korty <joe.korty@ccur.com> Fix occasional PCI bus parity errors on the Dell PowerEdge 4600 during boot. Symptoms: The LCD display would turn orange and display "PCI SYSTEM E13F5", and the following message would appear in /var/log/dmesg: "Uhhuh. NMI received. Dazed and confused, but trying to continue". By inserting a PCI card with a PDC20268 IDE controller and attaching to that a Sony DRU-510A DVD RW burner with an unloaded tray, the failure can be made to happen on every boot. Cause: The aic7xxx driver was resetting the onboard AIC7891 SCSI controller while waiting for a previous reset to complete. This second reset confuses the controller causing it to put bad data onto the PCI bus. This is a backport of a RedHat 2.4.21-15.ELsmp fix. A letter discussing this problem, or one very close to it, may be found at: http://lists.us.dell.com/pipermail/linux-poweredge/2003-May/025010.htmlSigned-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Morton authored
From: Andi Kleen <ak@muc.de> Trivial gcc-3.5 build fixes. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 28 Jul, 2004 14 commits
-
-
James Bottomley authored
-
Nishanth Aravamudan authored
Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Matt Domsch authored
On Thu, Jul 22, 2004 at 01:28:23PM +0100, Matthew Wilcox wrote: > > +#define SYM_VERSION "2.1.18j" > > +#define SYM_DRIVER_NAME "sym-" SYM_VERSION > > Umm. No. This is ridiculous. I'm not having a 51 line copyright message > with 2 lines of #define. It's not even clear to me that these two lines > have artisitic merit. How about putting these defines in sym_defs.h, > at the top? It's already included in both sym_glue.c and sym_hipd.c by > being included by sym_glue.h. Indeed, point well taken. Done, they're now at the top of defines in sym_defs.h, and I've updated my BK tree accordingly. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Matt Domsch authored
Set MODULE_VERSION for drivers/scsi for Adaptec SCSI, megaraid qla1280, qla2x00 Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Dave Boutcher authored
Based on comments from hch and jejb, an update to the ibmvscsi driver patch. Primarily style issues, though the removal of gratuitous casting lead to some significant refactoring of functions. - Moved #include <asm/...> after #include <linux/...> - removed the map_direct_data and map_indirect_data and moved the function inline - Fixed function declaration style issues (static on a line by itself) - Removed bogus cast from dma_map_single - Moved setting of data transfer direction to a single helper function - Fixed up some gratuitous casting of types - Collapsed a couple of other functions inline - Removed bogus check for NULL from remove - Removed the "evt_struct_for" routine as being needlessly obfuscatory Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Guennadi Liakhovetski authored
Original Patch From: Adrian Bunk <bunk@fs.tum.de> I looked at those 3 functions. dc390_EnableMsgOut_Abort is called 5 times in the code and is 0x30 bytes long (as compiled with 3.3.2), so, uninlining it, probably, makes most sense. The other 2 functions are called only ones each and from the interrupt, so, I applied the "alternative approach" to them - moved above the calling functions. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Guennadi Liakhovetski authored
add new maintainer Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
Trying to compile drivers/scsi/nsp32.c in 2.6.8-rc1-mm1 using gcc 3.4 results in compile errors starting with the following: <-- snip --> ... CC drivers/scsi/nsp32.o drivers/scsi/nsp32.c: In function `nsp32_prom_start': drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3348: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3349: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3350: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3351: sorry, unimplemented: called from here drivers/scsi/nsp32.c:270: sorry, unimplemented: inlining failed in call to 'nsp32_prom_set': function body not available drivers/scsi/nsp32.c:3353: sorry, unimplemented: called from here make[2]: *** [drivers/scsi/nsp32.o] Error 1 <-- snip --> The patch below removes the inlines from nsp32_prom_{get,set}. An alternative approach would be to move the functions above the place where they are called the first time. Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
Trying to compile drivers/scsi/dc395x.c in 2.6.8-rc1-mm1 using gcc 3.4 results in compile errors starting with the following: <-- snip --> ... CC drivers/scsi/dc395x.o drivers/scsi/dc395x.c: In function `dc395x_handle_interrupt': drivers/scsi/dc395x.c:388: sorry, unimplemented: inlining failed in call to 'enable_msgout_abort': function body not available drivers/scsi/dc395x.c:1740: sorry, unimplemented: called from here make[2]: *** [drivers/scsi/dc395x.o] Error 1 <-- snip --> The patch below moves enable_msgout_abort above the place where it is called the first time and removes the bogus inline from the prototype of set_xfer_rate (the function itself isn't marked as inline). An alternative approach would be to remove the inline from enable_msgout_abort. Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Adrian Bunk authored
[patch] kill local sg_ms_to_jif/sg_jif_to_ms functions and use msecs_to_jiffies/jiffies_to_msecs instead Signed-off-by: Adrian Bunk <bunk@fs.tum.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Update version number to 8.00.00b15-k. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Correct usage of tag-command-queueing methods: o Properly call scsi_activate_tcq() rather than scsi_adjust_queue_depth(). o Properly retrieve tag message from command via scsi_populate_tag_msg(). Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Fix issue where firmware options were not properly being set before firmware initialization. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
Andrew Vasquez authored
Fix issue where host-reset would incorrectly return a FAILED status. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-
- 26 Jul, 2004 1 commit
-
-
Alexander Viro authored
Wrong ifdef around ppc nvram_read_byte() - it should be CONFIG_GENERIC_NVRAM. [that's it for today; there's more (fb stuff), but I'd rather make that a separate series] Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-