-scsi.exe nt/wd7296a.sys
rm pci-scsi.exe
dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
rm wd7296a.sys
Reviewed-by: Christoph Hellwig h...@lst.de
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/Kconfig
Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected
to GND).
This will be used by wd719x driver.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/misc/eeprom/eeprom_93cx6.c | 62 +++-
include/linux/eeprom_93cx6.h
/download/archive/pciscsi.exe
lha xi pciscsi.exe pci-scsi.exe
lha xi pci-scsi.exe nt/wd7296a.sys
rm pci-scsi.exe
dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
rm wd7296a.sys
--
Ondrej Zary
--
To unsubscribe from
On Wednesday 01 October 2014 20:19:07 Christoph Hellwig wrote:
On Fri, Sep 26, 2014 at 08:56:46PM +0200, Ondrej Zary wrote:
The card requires firmware that can be cut out of the Windows NT driver
that can be downloaded from WD at:
http://support.wdc.com/product/download.asp?groupid=801sid
some fixes to the driver a couple of
years ago.
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Introduce wd719x, a driver for Western Digital WD7193, WD7197 and WD7296 PCI
SCSI controllers based on WD33C296A chip.
Tested with WD7193 card.
Reviewed-by: Christoph Hellwig h...@lst.de
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/Kconfig |8 +
drivers/scsi
Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected
to GND).
This will be used by wd719x driver.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/misc/eeprom/eeprom_93cx6.c | 62 +++-
include/linux/eeprom_93cx6.h
be downloaded from WD at:
http://support.wdc.com/product/download.asp?groupid=801sid=27lang=en
There is no license anywhere in the file or on the page - so I guess that the
firmware cannot be added to linux-firmware.
This script that downloads and extracts the firmware is in Documentation/
--
Ondrej
Add documentation and script to obtain required firmware.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
Documentation/scsi/wd719x.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/scsi/wd719x.txt
diff --git a/Documentation/scsi
On Monday 24 November 2014 14:15:47 Hannes Reinecke wrote:
On 11/24/2014 01:11 PM, Ondrej Zary wrote:
Introduce wd719x, a driver for Western Digital WD7193, WD7197 and WD7296
PCI SCSI controllers based on WD33C296A chip.
Tested with WD7193 card.
Reviewed-by: Christoph Hellwig h
Add documentation and script to obtain required firmware.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
Documentation/scsi/wd719x.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/scsi/wd719x.txt
diff --git a/Documentation/scsi
be downloaded from WD at:
http://support.wdc.com/product/download.asp?groupid=801sid=27lang=en
There is no license anywhere in the file or on the page - so I guess that the
firmware cannot be added to linux-firmware.
This script that downloads and extracts the firmware is in Documentation/
--
Ondrej
Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected
to GND).
This will be used by wd719x driver.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
Reviewed-by: Hannes Reinecke h...@suse.de
---
drivers/misc/eeprom/eeprom_93cx6.c | 62
Introduce wd719x, a driver for Western Digital WD7193, WD7197 and WD7296 PCI
SCSI controllers based on WD33C296A chip.
Tested with WD7193 card.
Reviewed-by: Christoph Hellwig h...@lst.de
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/Kconfig |8 +
drivers/scsi
SCSI_SENSE_BUFFERSIZE,
DMA_FROM_DEVICE);
247 dma_cache_sync(wd-pdev-dev, cmd-sense_buffer,
248 SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE);
249 scb-sense_buf = cpu_to_le32(cmd-SCp.dma_handle);
250
--
Ondrej Zary
patches.
The driver was working fine so I never had to look at the code. Now I see that
it's 12K lines long :( Converting that to something simple would require a
lot of work.
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord
] enabled at IRQ 9
[7.644841] scsi host2: AdvanSys SCSI 3.4: PCI Ultra: IO 0xA800-0xA80F, IRQ
0x9
[8.072257] scsi 2:0:2:0: Processor HP C1790A 3226
PQ: 0 ANSI: 2
[8.919128] scsi 2:0:2:0: Attached scsi generic sg3 type 3
--
Ondrej Zary
--
To unsubscribe from
Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected
to GND).
This will be used by wd719x driver.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/misc/eeprom/eeprom_93cx6.c | 62 +++-
include/linux/eeprom_93cx6.h
Introduce wd719x, a driver for Western Digital WD7193, WD7197 and WD7296 PCI
SCSI controllers based on WD33C296A chip.
Tested with WD7193 card.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/Kconfig |8 +
drivers/scsi/Makefile |1 +
drivers/scsi/wd719x.c | 1008
/pciscsi.exe
lha xi pciscsi.exe pci-scsi.exe
lha xi pci-scsi.exe nt/wd7296a.sys
rm pci-scsi.exe
dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
rm wd7296a.sys
--
Ondrej Zary
--
To unsubscribe from this list: send the line
with narrow boards. Please don't break working drivers
because of some stupid warning.
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected
to GND).
This will be used by wd719x driver.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/misc/eeprom/eeprom_93cx6.c | 62 +++-
include/linux/eeprom_93cx6.h
Introduce wd719x, a driver for Western Digital WD7193, WD7197 and WD7296 PCI
SCSI controllers based on WD33C296A chip.
Tested with WD7193 card.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/Kconfig |8 +
drivers/scsi/Makefile |1 +
drivers/scsi/wd719x.c | 1008
/download/archive/pciscsi.exe
lha xi pciscsi.exe pci-scsi.exe
lha xi pci-scsi.exe nt/wd7296a.sys
rm pci-scsi.exe
dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
rm wd7296a.sys
--
Ondrej Zary
--
To unsubscribe from
)
ata2.00: configured for UDMA/133
sas: --- Exit sas_scsi_recover_host
scsi 0:0:1:0: Direct-Access ATA ST9500620NS CC02 PQ: 0 ANSI: 5
sas: DONE DISCOVERY on port 1, pid:5, result:0
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body
On Monday 28 April 2014 17:50:29 Jiang, Dave wrote:
On Mon, 2014-04-28 at 13:03 +0200, Ondrej Zary wrote:
Hello,
just upgraded a server running 3.2.54-2 to 3.2.57-3 (Debian Wheezy) and
it does not boot anymore because of isci driver breakage.
I would not run anything less than 3.8
On Monday 28 April 2014 18:51:44 Jiang, Dave wrote:
On Mon, 2014-04-28 at 16:28 +, Ondrej Zary wrote:
On Monday 28 April 2014 17:50:29 Jiang, Dave wrote:
On Mon, 2014-04-28 at 13:03 +0200, Ondrej Zary wrote:
Hello,
just upgraded a server running 3.2.54-2 to 3.2.57-3 (Debian
On Thursday 04 December 2014 08:12:53 Hannes Reinecke wrote:
On 12/03/2014 07:29 PM, Ondrej Zary wrote:
On Wednesday 03 December 2014 12:44:53 Hannes Reinecke wrote:
Hi all,
it has been bugged me for ages that the advansys driver always
reported a compilation warning about not having
Convert aha1542 to use scsi_add_host instead of scsi_module.c
Use pnp_driver and isa_driver to manage cards.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 300 +++-
drivers/scsi/aha1542.h |2 +-
2 files changed
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.h | 37 +++--
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/drivers/scsi/aha1542.h b/drivers/scsi/aha1542.h
index f0b862b..1333a23 100644
--- a/drivers/scsi/aha1542.h
Remove dead code.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 243 +---
drivers/scsi/aha1542.h |6 --
2 files changed, 1 insertion(+), 248 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 51 +++-
drivers/scsi/aha1542.h | 12
2 files changed, 24 insertions(+), 39 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 50
drivers/scsi/aha1542.h | 42
2 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/drivers/scsi/aha1542.c
Remove SCSI_BUF_PA, SCSI_SG_PA, AHA1542_SCATTER and AHA1542_CMDLUN macros
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 23 ++-
drivers/scsi/aha1542.h |2 --
2 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/drivers
Remove HOSTDATA macro and use shost_priv instead
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 114 +++-
1 file changed, 55 insertions(+), 59 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index af1e8fa..ebc5476 100644
--- a/drivers/scsi/aha1542.c
+++ b/drivers/scsi
Convert aha1542_intr_reset macro to inline function
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index ebf54b5..2a6308f 100644
+---
2 files changed, 583 insertions(+), 1240 deletions(-)
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Simplify aha1542_biosparam, use sector_div, remove unused BIOS_TRANSLATION_1632.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 21 -
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 15 +--
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index af2c69e..29ddcc9 100644
--- a/drivers/scsi/aha1542.c
+++ b/drivers/scsi
Make Scsi_Host variable names consistent - use sh everywhere.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 98
1 file changed, 49 insertions(+), 49 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers
Remove DEB macro and join ifdef DEBUG blocks
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 56 +++-
1 file changed, 22 insertions(+), 34 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
Split out bus times related block of aha1542_hw_init into separate function
aha1542_set_bus_times.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 65 ++--
1 file changed, 35 insertions(+), 30 deletions(-)
diff
Make sure that there's no variable named cmd
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 53 ++--
1 file changed, 24 insertions(+), 29 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
Unify aha1542_in and aha1542_in1 functions, they differ only in timeout
and printk.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 33 +++--
1 file changed, 7 insertions(+), 26 deletions(-)
diff --git a/drivers/scsi/aha1542.c b
Convert the ugly WAIT and WAITd macros into wait_mask function.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 104 ++--
1 file changed, 57 insertions(+), 47 deletions(-)
diff --git a/drivers/scsi/aha1542.c b
Use struct scsi_cmnd instead of Scsi_Cmnd and also rename the variables
to get rid of SC prefix
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 150
1 file changed, 75 insertions(+), 75 deletions(-)
diff --git
aha1542_restart does nothing (except useless printk), remove it
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 28 ++--
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 67 +++-
1 file changed, 32 insertions(+), 35 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index 6e44a7f..d607f59 100644
--- a/drivers
aha1542_host_reset and aha1542_bus_reset are almost same, merge them
into aha1542_reset
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 82 +---
1 file changed, 14 insertions(+), 68 deletions(-)
diff --git
aha1542_out call is always followed by wait_mask.
Move the call into aha1542_out to simplify code.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/scsi/aha1542.c b
.
It's useless anyway as wait_mask will wait until the controller is idle and
kernel waits for 10 seconds (HOST_RESET_SETTLE_TIME) after that.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 118 ++--
1 file changed, 34
The loop in aha1542_outb with double-check is no longer needed, remove it.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index
Remove gotos that are no longer needed.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 58
1 file changed, 19 insertions(+), 39 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 34 --
1 file changed, 8 insertions(+), 26 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index 6d4532c..87017fb 100644
--- a/drivers/scsi/aha1542.c
Remove __setup and introduce separate io, bus_on, bus_off and dma_speed
module parameters.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 213
1 file changed, 54 insertions(+), 159 deletions(-)
diff --git
Fix include guard in header file and remove useless changelog
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.h | 36 +++-
1 file changed, 3 insertions(+), 33 deletions(-)
diff --git a/drivers/scsi/aha1542.h b/drivers/scsi/aha1542
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index 214b9f4..16cb6f9 100644
--- a/drivers/scsi/aha1542.c
+++ b/drivers/scsi/aha1542
Bus reset always fails because aha1542_reset waits for the controller to assert
the INIT bit (Mailbox Initialization Required) which it never does. This bit is
asserted only after host reset.
Remove the requirement for INIT bit (we really need only the IDLE bit).
Signed-off-by: Ondrej Zary li
Pass struct Scsi_Host * to functions instead of base address.
This reduces the number of parameters and is also required for printk
conversion.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 125
1 file changed
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 25 +++--
1 file changed, 3 insertions(+), 22 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index 7b06698..214b9f4 100644
--- a/drivers/scsi/aha1542.c
+++ b
Cleanup hw_init, use goto for error handling.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 139
drivers/scsi/aha1542.h |1 +
2 files changed, 59 insertions(+), 81 deletions(-)
diff --git a/drivers/scsi
Enabling DEBUG disables write commands and devices with ID 1.
Remove this feature to allow real debugging.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 31 ++-
1 file changed, 10 insertions(+), 21 deletions(-)
diff --git
Pass struct Scsi_Host *sh and dma parameters instead of index to
aha1542_set_bus_times.
This is required for printk conversion.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 34 --
1 file changed, 16 insertions(+), 18
Remove SCSI_BUF_PA, SCSI_SG_PA, AHA1542_SCATTER and AHA1542_CMDLUN macros
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 23 ++-
drivers/scsi/aha1542.h |2 --
2 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/drivers
Convert aha1542_intr_reset macro to inline function
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index ebf54b5..2a6308f 100644
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.h | 37 +++--
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/drivers/scsi/aha1542.h b/drivers/scsi/aha1542.h
index f0b862b..1333a23 100644
--- a/drivers/scsi/aha1542.h
files changed, 402 insertions(+), 681 deletions(-)
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 51 +++-
drivers/scsi/aha1542.h | 12
2 files changed, 24 insertions(+), 39 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
Remove gotos that are no longer needed.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 58
1 file changed, 19 insertions(+), 39 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index
Unify aha1542_in and aha1542_in1 functions, they differ only in timeout
and printk.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 33 +++--
1 file changed, 7 insertions(+), 26 deletions(-)
diff --git a/drivers/scsi/aha1542.c b
aha1542_out are in fact two separate functions.
Split them into aha1542_out and aha1542_outb to simplify the code.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 75 ++--
1 file changed, 35 insertions(+), 40
Convert the ugly WAIT and WAITd macros into wait_mask function.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 104 ++--
1 file changed, 57 insertions(+), 47 deletions(-)
diff --git a/drivers/scsi/aha1542.c b
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 50
drivers/scsi/aha1542.h | 42
2 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/drivers/scsi/aha1542.c
Convert aha1542 to use scsi_add_host instead of scsi_module.c
Use pnp_driver and isa_driver to manage cards.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 300 +++-
drivers/scsi/aha1542.h |2 +-
2 files changed
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c
index af1e8fa..ebc5476 100644
--- a/drivers/scsi/aha1542.c
+++ b/drivers/scsi
Remove dead code.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 243 +---
drivers/scsi/aha1542.h |6 --
2 files changed, 1 insertion(+), 248 deletions(-)
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi
aha1542_bus_reset(Scsi_Cmnd * SCpnt);
static int aha1542_dev_reset(Scsi_Cmnd * SCpnt);
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
:00:0b.0: esp0: is a AM53C974, 40 MHz (ccf=0), SCSI
ID 7
[ 11.732390] scsi host2: esp
[ 11.739919] scsi host2: data done, DMA error, resetting
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to majord...@vger.kernel.org
More
On Wednesday 07 January 2015 15:34:32 Christoph Hellwig wrote:
On Tue, Jan 06, 2015 at 11:27:28PM +0100, Ondrej Zary wrote:
note that the last two even drive the same hardware. There is
significant cruft in all these, so dropping them would help
further maintainance of the SCSI midlayer
hardware. There is
significant cruft in all these, so dropping them would help
further maintainance of the SCSI midlayer.
I think I have a AHA-1542B ISA card so I can fix the aha1542 driver.
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body
wd719x_template is missing the .module field, causing module refcount
not to work, allowing to rmmod the driver while in use (mounted filesystem),
causing an oops.
Set .module to THIS_MODULE to fix the problem.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/wd719x.c
On Thursday 12 February 2015, James Bottomley wrote:
On Mon, 2015-02-09 at 13:38 +0100, Ondrej Zary wrote:
wd719x_template is missing the .module field, causing module refcount
not to work, allowing to rmmod the driver while in use (mounted
filesystem), causing an oops.
Set .module
the system)
without this patch.
Add a check to make sure we never read more bytes than required.
sym53c416_write() already contains similar check.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/sym53c416.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/scsi
. The register numbers and commands
are almost the same so NCR53c406 support could probably be added to sym53c416
driver (looks better of the two) and NCR53c406a driver removed. Now I have
cards with both chips so I'll try.
--
Ondrej Zary
--
To unsubscribe from this list: send the line
wd719x_template is missing the .module field, causing module refcount
not to work, allowing to rmmod the driver while in use (mounted filesystem),
causing an oops.
Set .module to THIS_MODULE to fix the problem.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/wd719x.c
On Tuesday 21 April 2015, Dan Carpenter wrote:
Hello Ondrej Zary,
The patch 1b0224b0ec60: aha1542: rework locking from Feb 6, 2015,
leads to the following static checker warning:
drivers/scsi/aha1542.c:448 aha1542_queuecommand()
error: scheduling with locks held
number of scatter-gather elements the
* adapter can handle.
*/
This patch breaks my setup: modprobe advansys hangs.
It works when all other patches are applied except this one.
--
Ondrej Zary
--
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body
On Sunday 26 April 2015 18:55:41 Christoph Hellwig wrote:
On Sun, Apr 26, 2015 at 04:57:01PM +0200, Ondrej Zary wrote:
This patch breaks my setup: modprobe advansys hangs.
It works when all other patches are applied except this one.
Oh damn, looks like the code does have issues
The driver currently calls kmalloc with GFP_KERNEL while holding a lock.
Fix it by doing the allocation earlier, before taking the lock.
Tested on AHA-1542B.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/aha1542.c | 23 +++
1 file changed, 11
Untangle the tmport crap so it becomes obvious what ports are accessed.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 79
1 file changed, 32 insertions(+), 47 deletions(-)
diff --git a/drivers/scsi/atp870u.c
Untangle the tmport crap so it becomes obvious what ports are accessed.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 118
1 file changed, 49 insertions(+), 69 deletions(-)
diff --git a/drivers/scsi/atp870u.c
] and mbuf[4] checks
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 45 +++--
1 file changed, 31 insertions(+), 14 deletions(-)
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c
index 5c98ffc..2023fb8 100644
Use pci_request_regions and do it before accessing the I/O ports.
Also add missing pci_disable_device() call to atp870u_remove().
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 21 ++---
1 file changed, 10 insertions(+), 11 deletions(-)
diff
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c
index 9621403..b662e39 100644
--- a/drivers/scsi/atp870u.c
+++ b/drivers/scsi/atp870u.c
tscam() is using port 0x80 access for delays but that's x86-only.
Use udelay(2) instead.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 32 +++-
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c
index b3d4e9d..68afe11 100644
--- a/drivers/scsi/atp870u.c
Now that is880() and is885() are almost identical (except for some cpu_relax()
calls and debug printks), remove is880() and use is885() instead.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 572 +---
1 file
Unify code formatting in is870(), is880() and is885() functions to simplify
comparing them.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c | 170
1 file changed, 101 insertions(+), 69 deletions(-)
diff --git
The ioport region is 0x20 bytes long so accessing 0x3a register using
writeb_io is incorrect. Use writeb_base instead.
There's no change in behavior as 870 chips have ioport = baseport.
Signed-off-by: Ondrej Zary li...@rainbow-software.org
---
drivers/scsi/atp870u.c |8
1 file
1 - 100 of 305 matches
Mail list logo