- 26 Sep, 2003 7 commits
-
-
Christoph Hellwig authored
Duh! The scsi_cmnd.flags removal broke qla1280. It checked for the flags beeing 0, which it always was for a long time. It looks a bit fishy thus, so if someone wants to audit srb.flags audit please do so.
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove unneeded version.h include. linux-260-t5bk12-kj-rddunlap/drivers/scsi/sym53c416.c | 1 - 1 files changed, 1 deletion(-)
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove unneccessary version.h #include. linux-260-t5bk12-kj-rddunlap/drivers/scsi/osst.c | 1 - 1 files changed, 1 deletion(-)
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove unneeded version.h include in megaraid. linux-260-t5bk12-kj-rddunlap/drivers/scsi/megaraid.h | 1 - 1 files changed, 1 deletion(-)
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove unneeded version.h include. linux-260-t5bk12-kj-rddunlap/drivers/scsi/a3000.c | 1 - 1 files changed, 1 deletion(-)
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove unneeded version.h include. linux-260-t5bk12-kj-rddunlap/drivers/scsi/in2000.h | 2 -- 1 files changed, 2 deletions(-)
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Remove doubled #includes. Add linux/version.h linux-260-t5bk12-kj-rddunlap/drivers/scsi/dpt/dpti_i2o.h | 7 +------ 1 files changed, 1 insertion(+), 6 deletions(-)
-
- 25 Sep, 2003 24 commits
-
-
Felipe Damasio authored
Patch frees a struct NCR_Q720_private before returning.
-
Felipe Damasio authored
If in the middle of loop a kmalloc failed, that means that the previous calls succeeded..so they must be also be freed (and removed from the dev_info_list).
-
James Bottomley authored
Delete: drivers/scsi/sym53c8xx.c
-
Matthew Wilcox authored
- Remove sym1 driver - Remove PCI stuff from sym53c8xx_comm.h - Remove PCI stuff from ncr53c8xx.c - Remove device_t typedef - Remove u_int32 and u_int64 - Remove first_host and the_template - Remove SPARC support (get back to me when someone puts a 720 in a Sparc :-P) Makefile | 1 NCR_Q720.c | 4 ncr53c8xx.c | 155 ncr53c8xx.h | 12 sym53c8xx.c |14543 ------------------------------------------------------- sym53c8xx.h | 82 sym53c8xx_comm.h | 666 -- sym53c8xx_defs.h | 52 zalon.c | 4 9 files changed, 76 insertions(+), 15443 deletions(-)
-
Andi Kleen authored
The mptctl module has had sparc64 32bit emulation support for some time. This patch generalizes it to use the generic compat infrastructure. This makes it work on x86-64 too. I also removed one special case for sparc in the locking that didn't make any sense to me.
-
Christoph Hellwig authored
- DEFINE_PER_CPU works in modules now, use it - rename done_q to scsi_done_q - in the kernel we prefer descriptive prefixes even for statics..
-
Patrick Mansfield authored
I got underflow warnings and failures when sending an INQUIRY page 0x83 via the SG_IO REQ_BLOCK_PC interface. The underflow field should only be set if we know for certain the size of the data being transfered, so fix this by leaving it at zero for scsi REQ_BLOCK_PC cases.
-
Christoph Hellwig authored
And while at it also fix the scsi_error_handler() prototype.
-
Christoph Hellwig authored
Looks like the merge error still isn't fixed..
-
Christoph Hellwig authored
We should try to keep all constants in include/scsi/scsi.h instead of drivers/scsi/scsi.h. Also tidy up include/scsi/scsi.h a bit.
-
Christoph Hellwig authored
- move the struct parisc_driver down like in most drivers, avoids two forward-declarations - give lasi700_scsi_tbl and lasi700_driver_callback sensible names - properly return -ENOMEM instead of 1 on kmalloc failure - check scsi_add_host return value
-
Christoph Hellwig authored
everyone else uses struct scsi_lun already.
-
Christoph Hellwig authored
This patch adds shost_for_each_device(). It's used to abstract out scsi_host.my_devices traversal. The next step will be to replace the current simple implementation with one that's fully locked down an reference counted.
-
Christoph Hellwig authored
Rename zalon_scsi_callback to the more sensible zalon_probe and fix a few tiny indentation issues.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
This was only used by the old error handling, the new code uses .eh_state and .eh_eflags instead.
-
Christoph Hellwig authored
The flag isn't checked ever as drivers using the block layer tcq code do so by themselves, without any interaction to the scsi midlayer.
-
Christoph Hellwig authored
Jens' missed this in his cleanup.
-
Christoph Hellwig authored
For various reasons (e.g. the .my_devices lockdown) it's undesirable to have scsi_device_{get,put} blocking. Change .access_count to an atomic_t to avoid the driver model r/w semaphore. Sideeffects: - possible module reference leak in scsi_device_get when get_device fails fixes. - the access_count attribute is gone. We already have this exposed to userspace in too many places given that this whole second refcount will go away once Al fixes the block layer.
-
ssh://linux-scsi@linux-scsi.bkbits.net/scsi-misc-2.5James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
-
Randy Dunlap authored
From: Daniele Bellucci <bellucda@tiscali.it> handle register error, call unregister; linux-260-test5-kj-rddunlap/drivers/scsi/sg.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-)
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> linux-260-test5-kj-rddunlap/drivers/scsi/53c700.c | 1 - linux-260-test5-kj-rddunlap/drivers/scsi/BusLogic.c | 1 - linux-260-test5-kj-rddunlap/drivers/scsi/aha152x.c | 1 - linux-260-test5-kj-rddunlap/drivers/scsi/dmx3191d.c | 1 - linux-260-test5-kj-rddunlap/drivers/scsi/i60uscsi.c | 1 - 5 files changed, 5 deletions(-)
-
Alan Stern authored
The updated SCSI proc directory code that I sent you a few months ago has a small mistake -- the error path fails to release a semaphore. This patch fixes it; please apply.
-
Mike Christie authored
The attached patch cleans up the ide-scsi driver model code and fixes the oops described below which is caused when doing a rmmod on the driver.
-
- 12 Sep, 2003 7 commits
-
-
Matthew Wilcox authored
I don't actually have a zalon machine to test these on, but they seem right to me, and compile fine. Some cleanups for ncr53c8xx & zalon: - Inline zalon.h into zalon.c - Rationalise (a little) ncr53c8xx.c's includes - Remove all the version checks - Stop using remap_pci_mem & unmap_pci_mem & delete their definitions. - Use mb() instead of custom inline asm for MEMORY_BARRIER.
-
Geert Uytterhoeven authored
NCR5380: `phases' is used inside the #ifdef NDEBUG only, so move its definition inside as well.
-
Geert Uytterhoeven authored
Passing the address of a `long' as the `flags' parameter of check_setup_args() causes a warning. But apparently this parameter isn't used at all, so remove it.
-
Matthew Wilcox authored
This patch fixes two bugs in sym 2.1.18. - 40-bit addressing doesn't fit into 32-bits, so PciDmaMask needs to be an ULL. - Add terminating entries to pci_device_id tables. Bug spotted by Matt Domsch.
-
Randy Dunlap authored
patch_name: aha152x_debugon.patch patch_version: 2003-09-10.11:02:09 author: Randy.Dunlap <rddunlap@osdl.org> description: enable aha152x to build when AHA152X_DEBUG is defined; product: Linux product_versions: 260-test5 maintainer: James Bottomley diffstat: = drivers/scsi/aha152x.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
-
Anton Blanchard authored
Change scsi_scan_mutex from global to per host, which is needed for parallel SCSI probe. gr16_work-anton/drivers/scsi/hosts.c | 2 ++ gr16_work-anton/drivers/scsi/scsi_scan.c | 15 ++++----------- gr16_work-anton/include/scsi/scsi_host.h | 6 ++++++ 3 files changed, 12 insertions(+), 11 deletions(-)
-
Andrew Morton authored
From: Adrian Bunk <bunk@fs.tum.de> Earlier patch wasn't correct especially in the !CONFIG_SCSI_IZIP_EPP16 case, reading all uses of this array (IMM_MODE_STRING is used to print the corresponding string in printks). If I'm not misunderstanding it, CONFIG_SCSI_IZIP_EPP16 means "use 16bit even when 32bit is requested". drivers/scsi/imm.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-)
-
- 08 Sep, 2003 2 commits
-
-
Matthew Wilcox authored
Yes, there's a lot of changes here. I've been busy :-P - Delete linux/version.h include as it's not necessary - Delete compatibility with ncr53c8xx configuration options - Convert to C99 initialisers - Delete the options: pci_parity, scsi_parity, min_sync, max_wide, max_offs, max_lun and pci_fix_up. Some were unused, some are now unused. - Delete all the default settings from sym_conf.h that were unused. - Delete host_lock abstractions. - Replace custom jiffy handling with standard ones. - Replace u_long with unsigned long - Inline scsi_data_direction() - Use ioremap directly instead of indirecting through pci_map_mem. - Delete typedefs: bus_addr_t, ucmd_p, vm_offset_t, stcb_p, slcb_p, sccb_p, shcb_p, sym_device and sym_slot. - Use min() instead of MIN() - Use memcpy() instead of bcopy(). - Delete code dependent on SYM_CONF_PCIQ_BROKEN_INTR as it's never defined. - Simplify the locking in sym_eh_handler(). - Make the eh handlers static. - Use ctype.h instead of custom variants. - Use SYM_CONF_IOMAPPED and SYM_OPT_NO_BUS_MEMORY_MAPPING in a more consistent manner. - Remove check_region() and use pci_request_region instead. - Mark sym_detach() as __devexit. - Move many includes from sym_glue.h to sym_glue.c - Stop using Scsi_Cmnd. - Stop using ../hosts.h. - Simplify *_raw definitions. - Move PA-RISC specific code into its own function.
-
Linus Torvalds authored
-