15 Jul, 2007
19 commits
-
With
dma-mapping-prevent-dma-dependent-code-from-linking-on.patch
scsi fails to build on !HAS_DMA architectures:
drivers/built-in.o(.text+0x20af6): In function `scsi_dma_map':
: undefined reference to `dma_map_sg'
drivers/built-in.o(.text+0x20b5c): In function `scsi_dma_unmap':
: undefined reference to `dma_unmap_sg'I split those functions out into a new file. Builds on s390 and i386.
Move scsi_dma_{map,unmap} into scsi_lib_dma.c which is only build if
HAS_DMA is set.Signed-off-by: Cornelia Huck
Cc: Martin Schwidefsky
Cc: Heiko Carstens
Cc: James Bottomley
Cc: Jeff Garzik
Cc: Christoph Hellwig
Cc: Dan Williams
Signed-off-by: Andrew Morton
Signed-off-by: James Bottomley -
This patch tidies up scsi_add_lun a bit. I rewrote the kerneldoc to match
the actual parameters, moved the check for RBC and MMC REPORT_LUN devices
away from the switch(), changed the setup of sdev->type to account for
BLIST_ISROM, moved the check for BLIST_NO_ULD_ATTACH further down in
the function, removed a bogus comment and fixed some whitespace issues.Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
remove printk, which triggers because of low scsi clock on SNI RMs
Signed-off-by: Thomas Bogendoerfer
Signed-off-by: James Bottomley -
- base address is now a physical address; no need to convert it
- remove not needed error printk in module init functionSigned-off-by: Thomas Bogendoerfer
Signed-off-by: James Bottomley -
On Wed, 2007-06-06 at 11:55 -0700, David C Somayajulu wrote:
This patch fixes the code handling underrun and overrun conditions.
Also fixed coding style as per Mike Christie's advice.Signed-off-by: David Somayajulu
Signed-off-by: James Bottomley -
The Megaraid Mailbox driver uses a semaphore as mutex. Use the mutex API
instead of the (binary) semaphore.Signed-off-by: Matthias Kaehlcke
Acked-by: "Patro, Sumant"
Signed-off-by: Andrew Morton
Signed-off-by: James Bottomley -
Adding Adaptec 51245 (16 port), 51645 (20 port) and 52445 (28 port)
Universal Serial RAID controllers to the aacraid documentation.Signed-off-by: Mark Salyzyn
Signed-off-by: James Bottomley -
Following patch bump up the driver version reflecting NPIV addition to
the qla2xxx.- version changed from 8.01.07-k7 to 8.02.00-k1.
Signed-off-by: Seokmann Ju
Signed-off-by: James Bottomley -
Following patch adds support for NPIV (N-Port ID Virtualization) to the
qla2xxx.- supported within switched-fabric topologies only.
- supports up to 63 virtual ports on each physical port.Signed-off-by: Seokmann Ju
Signed-off-by: James Bottomley -
The original implementation in stex_ys_commands() is inappropriate.
For xfer len information, we should use resid instead.Signed-off-by: Ed Lin
Signed-off-by: James Bottomley -
The Brownie 1200U3P has the same problem with REPORT LUNS as the
1600U3P. Add it to the blacklist.Signed-off-by: Matthew Wilcox
Signed-off-by: James Bottomley -
- a couple of prints, they can use the accessors
Signed-off-by: Boaz Harrosh
Signed-off-by: James Bottomley -
- The saved sg_count was a leftover from the time the driver was doing
dma mapping by himself. But now that scsi-ml is called for the mapping
it is not the drivers responsibility.Signed-off-by: Boaz Harrosh
Acked-by: G. Liakhovetski
Signed-off-by: James Bottomley -
CONFIG_SCSI_FD_8xx no longer exists.
Apparently it was renamed to CONFIG_SCSI_SEAGATE, but the Makefile was
not correctly updated.Signed-off-by: Geert Uytterhoeven
Signed-off-by: James Bottomley -
Sweep registered blkdev when scsi_register_driver has failed.
Cc: Jens Axboe
Signed-off-by: Akinobu Mita
Signed-off-by: James Bottomley -
drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_create_port':
drivers/scsi/lpfc/lpfc_init.c:1573: error: 'struct kobject' has no member named 'dentry'Just remove the if check on this ... lpfc shouldn't be poking around
in kobject structures.drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_pci_probe_one':
drivers/scsi/lpfc/lpfc_init.c:1723: warning: unused variable 'retval'And remove the unused variable.
Cc: James Smart
Signed-off-by: James Bottomley -
This patch uses dma_map_sg with phba->pcidev->dev instead of
scsi_dma_map.scsi_dma_map doesn't work for NPIV since fc_vport->dev isn't fully
initialized. check_addr() in arch/x86_64/kernel/pci-nommu.c leads to
the crash since dev->dma_mask is NULL.For more details:
http://marc.info/?l=linux-scsi&m=118312448030633&w=2
Signed-off-by: FUJITA Tomonori
Acked-by: James Smart
Signed-off-by: James Bottomley -
This is an addendum to:
commit a0b4f78f9a4c869e9b29f254054ad7441cb40bbf
Author: FUJITA Tomonori
[SCSI] lpfc: convert to use the data buffer accessorsOne place was missed in the merge
Signed-off-by: Boaz Harrosh
Acked-by: James Smart
Signed-off-by: James Bottomley -
Removes an obsolete method scsi_device_cancel which isn't being used
anywhere in the kernel.Signed-off-by: Priyanka Gupta
Acked-by: Grant Grundler
Signed-off-by: James Bottomley
26 Jun, 2007
1 commit
-
The viosrp_crq timeout field is in seconds.
Signed-off-by: FUJITA Tomonori
Cc: Santiago Leon
Signed-off-by: James Bottomley
20 Jun, 2007
7 commits
-
Support displaying long serial number information. Reuse sysfs handler
internally as helper.Signed-off-by: Mark Salyzyn
Signed-off-by: James Bottomley -
The Dell PERC2/QC erroneously was listed as having the 31 bit limit
quirk on the interface allocations, removing the reference to repair
this oversight. Also, the 2 quad pci address (family) match catch-all
also retained the 31 bit limit and the 34 SG limit quirks in a paranoid
move. Now, many years later, we find that none of the Adapters that did
trigger with the family match had such quirks; these quirks are all
limited to the 4 quad pci address matches to select legacy adapters
already populated.Signed-off-by: Mark Salyzyn
Signed-off-by: James Bottomley -
This patch is more like a spelling correction than a fix. It was
discovered that if we had a busy status return from the Adapter for the
SCSI srb command to a physical component, that we returned
DID_NO_CONNECT rather than what one would expect DID_BUS_BUSY.Signed-off-by: Mark Salyzyn
Signed-off-by: James Bottomley -
- a4000t.c: Add missing include, needed in some configurations
- bvme6000_scsi.c: Kill bogus opening brace
- zorro7xx.c: Remove MODULE_DEVICE_TABLE, it should be part of another
patchSigned-off-by: Geert Uytterhoeven
Signed-off-by: James Bottomley -
Remove redundant defines from the header, replace all occurances in the
code with standard SAM_STAT_ macros. Also fix what seems to be a typo in
testing for (status == H_OVER_UNDER_RUN)...Signed-off-by: G. Liakhovetski
Signed-off-by: James Bottomley -
When reporting SCSI devices to the SCSI midlayer, use the FCP LUN as
LUN reported to the SCSI layer. With this approach, zfcp does not have
to create unique LUNS, and this code can be removed.Signed-off-by: Christof Schmitt
Signed-off-by: Swen Schillig
Signed-off-by: James Bottomley -
In some cases we did not reset some adapter status flags properly.
This patch clears these flags during FCP adapter shutdown.Signed-off-by: Volker Sameske
Signed-off-by: Swen Schillig
Signed-off-by: James Bottomley
19 Jun, 2007
1 commit
-
iscsi_iser: convert to use the data buffer accessors
- remove the unnecessary map_single path.
- convert to use the new accessors for the sg lists and the
parameters.TODO: use scsi_for_each_sg().
Signed-off-by: FUJITA Tomonori
Acked-by: Erez Zilber
Signed-off-by: James Bottomley
18 Jun, 2007
12 commits
-
This patch updates the driver version to 8.2.1
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
This patch is a reworked version of the data buffer accessors patch
so that it applies on the NPIV sources.The original patch was developed and submitted by Fujita Tomonori:
FUJITA Tomonori
http://marc.info/?l=linux-scsi&m=117896446832171&w=2- remove the unnecessary map_single path.
- convert to use the new accessors for the sg lists and the
parameters.Signed-off-by: FUJITA Tomonori
Signed-off-by: James Smart
Signed-off-by: James Bottomley -
Following the NPIV support, the following changes have been accumulated
in the testing and qualification of the driver:- Fix affinity of ELS ring to slow/deferred event processing
- Fix Ring attention masks
- Defer dev_loss_tmo timeout handling to worker thread
- Consolidate link down error classification for better error checking
- Remove unused/deprecated nlp_initiator_tmr timer
- Fix for async scan - move adapter init code back into pci_probe_one
context. Fix async scan interfaces.
- Expand validation of ability to create vports
- Extract VPI resource cnt from firmware
- Tuning of Login/Reject policies to better deal with overwhelmned targets
- Misc ELS and discovery fixes
- Export the npiv_enable attribute to sysfs
- Mailbox handling fix
- Add debugfs support
- A few other small misc fixes:
- wrong return values, double-frees, bad locking
- Added adapter failure heartbeatSigned-off-by: James Smart
Signed-off-by: James Bottomley -
NPIV support is added to the driver. It utilizes the interfaces of
the fc transport for the creation and deletion of vports. Within the
driver, a new Scsi_Host is created for each NPIV instance, and is
paired with a new instance of a FC port. This allows N FC Port
elements to share a single Adapter.Signed-off-by: James Smart
Signed-off-by: James Bottomley -
NPIV support is only available via new adapter interface extensions,
termed SLI-3. This interface changes some of the basic behaviors such
as command and response ring element sizes and data structures, as
well as a change in buffer posting. Note: the new firmware extensions
are found only on our mid-range and enterprise 4Gig adapters - so NPIV
support is available only on these newer adapters. The latest firmware
can be downloaded from the Emulex support page.Signed-off-by: James Smart
Signed-off-by: James Bottomley -
The driver is reorganized to separate the handling of the adapter from
the handling of the FC port. Adapter handling includes submissions of
command requests, receiving responses, and managing adapter resources.
The FC port includes the discovery engine, login handling, and the
mapping of a Scsi_Host on the "port". Although not a large functional
change, as it touches core structures and functions, resulting in a
large text delta.Signed-off-by: James Smart
Signed-off-by: James Bottomley -
- convert to use the new accessors for the sg lists and the
parameters.Signed-off-by: FUJITA Tomonori
Cc: David Miller
Signed-off-by: James Bottomley -
- remove the unnecessary map_single path.
- convert to use the new accessors for the sg lists and the
parameters.Jens Axboe did the for_each_sg cleanup.
Signed-off-by: FUJITA Tomonori
Acked-by: HighPoint Linux Team
Signed-off-by: James Bottomley -
New driver for Amiga Zorro bus NCR53c710 SCSI controllers, using the 53c700
SCSI core.Signed-off-by: Geert Uytterhoeven
Signed-off-by: James Bottomley -
New driver for the Amiga 4000T built-in NCR53c710 SCSI controller, using the
53c700 SCSI core.Signed-off-by: Geert Uytterhoeven
Signed-off-by: James Bottomley -
New driver for the MVME16x NCR53C710 SCSI controller, using the 53c700 SCSI
core.Signed-off-by: Geert Uytterhoeven
Signed-off-by: James Bottomley -
New driver for the BVME6000 NCR53C710 SCSI controller, using the 53c700 SCSI
core.Signed-off-by: Geert Uytterhoeven
Signed-off-by: James Bottomley