Skip to contentSkip to conversation

QLogic qla2xxx driver update available (v8.00.00b3).

ANNOUNCE Andrew Vasquez 2 participants 3 messages May 30, 2003 – Jun 6, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

All,

A new version of the 8.x series driver for Linux 2.5.x kernels has been uploaded to SourceForge:

http://sourceforge.net/projects/linux-qla2xxx/

This is mostly a resync in functionality with the latest 6.x beta driver. Additionally, there have been some file-structure changes to the distribution package:

o Removal of 2300 TPX firmware in favor of 2300 IPX
- Driver supports both FC-SCSI and IP concurrently.

ql2300tpx.c -> ql2300ipx.c

The next driver drop will include further refinements in file
organization: FC Generic services, HBA identification table.

Changes include:

* - Rework PCI I/O space configuration.
* - ISR fast-path clean-up.
* - Rework IP functionality to support 2k logins.
* - Resync with 6.06.00b3.
* - Resync with Linux Kernel 2.5.70.

Regards,
Andrew Vasquez

#1 lore raw

Hi,

Quoted 4 lines

A new version of the 8.x series driver for Linux 2.5.x kernels has been uploaded to SourceForge:

http://sourceforge.net/projects/linux-qla2xxx/

A few suggestions:

- Use pci_set_mwi since it will set the cacheline size if necessary.
- Dont set/clear IO/MEMORY/MASTER, it should be handled in pci_enable_device/pci_set_master.

Anton

qla_init.c renamed from qla_init.c~ +2 -12
@@ -521,6 +521,7 @@
 	 * default.
 	 */
 	pci_set_master(ha->pdev);
+	pci_set_mwi(ha->pdev);
 	pci_read_config_word(ha->pdev, PCI_REVISION_ID, &ha->revision);
 
 	if (!ha->iobase)
@@ -532,18 +533,7 @@
 	 * interest to us are properly set in command register.
 	 */
 	pci_read_config_word(ha->pdev, PCI_COMMAND, &w);
-	w |= (PCI_COMMAND_IO | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | 
-	    PCI_COMMAND_INVALIDATE | PCI_COMMAND_PARITY | PCI_COMMAND_SERR);
-
-#if MEMORY_MAPPED_IO
-	DEBUG(printk("scsi(%ld): I/O SPACE and MEMORY MAPPED I/O enabled.\n",
-	    ha->host_no));
-#else
-	DEBUG(printk("scsi(%ld): I/O SPACE enabled and MEMORY MAPPED I/O "
-	    "disabled.\n", ha->host_no));
-
-	w &= ~PCI_COMMAND_MEMORY;
-#endif
+	w |= (PCI_COMMAND_PARITY | PCI_COMMAND_SERR);
 
 #if defined(ISP2300)
 	/* PCI Specification Revision 2.3 changes */
#2 lore raw
Quoted 11 lines · Anton Blanchard
Quoted 4 lines

A new version of the 8.x series driver for Linux 2.5.x kernels has been uploaded to SourceForge:

http://sourceforge.net/projects/linux-qla2xxx/

A few suggestions:

- Use pci_set_mwi since it will set the cacheline size if necessary.
- Dont set/clear IO/MEMORY/MASTER, it should be handled in pci_enable_device/pci_set_master.

Thanks for the tips -- changes will be integrated into the next release.

Regards,
Andrew Vasquez