-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tuan Hoang <[email protected]>
- Loading branch information
Tuan Hoang
committed
Nov 13, 2024
1 parent
86fb1d2
commit 2ddb247
Showing
228 changed files
with
116,220 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
%define kmod_name 3c59x | ||
|
||
# If kmod_kernel_version isn't defined on the rpmbuild line, define it here. | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-427.13.1.el9_4} | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-503.11.1.el9_5} | ||
|
||
%{!?dist: %define dist .el9} | ||
|
||
Name: kmod-%{kmod_name} | ||
Version: 0.0 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
Summary: %{kmod_name} kernel module(s) | ||
Group: System Environment/Kernel | ||
License: GPLv2 | ||
|
@@ -190,6 +190,9 @@ exit 0 | |
%doc /usr/share/doc/kmod-%{kmod_name}-%{version}/ | ||
|
||
%changelog | ||
* Tue Nov 12 2024 Tuan Hoang <[email protected]> - 0.0-2 | ||
- Rebuilt against RHEL 9.5 GA kernel | ||
|
||
* Thu May 09 2024 Tuan Hoang <[email protected]> - 0.0-1 | ||
- Initial build for RHEL 9.4 | ||
- Source code from RHEL 9.4 GA kernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
%define kmod_name 3w-9xxx | ||
|
||
# If kmod_kernel_version isn't defined on the rpmbuild line, define it here. | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-427.13.1.el9_4} | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-503.11.1.el9_5} | ||
|
||
%{!?dist: %define dist .el9} | ||
|
||
Name: kmod-%{kmod_name} | ||
Version: 2.26.02.014 | ||
Release: 6%{?dist} | ||
Release: 7%{?dist} | ||
Summary: %{kmod_name} kernel module(s) | ||
Group: System Environment/Kernel | ||
License: GPLv2 | ||
|
@@ -184,6 +184,9 @@ exit 0 | |
%doc /usr/share/doc/kmod-%{kmod_name}-%{version}/ | ||
|
||
%changelog | ||
* Tue Nov 12 2024 Tuan Hoang <[email protected]> - 2.26.02.014-7 | ||
- Rebuilt against RHEL 9.5 GA kernel | ||
|
||
* Thu May 02 2024 Akemi Yagi <[email protected]> - 2.26.02.014-6 | ||
- Rebuilt for RHEL 9.4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
%define kmod_name 3w-sas | ||
|
||
# If kmod_kernel_version isn't defined on the rpmbuild line, define it here. | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-427.13.1.el9_4} | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-503.11.1.el9_5} | ||
|
||
%{!?dist: %define dist .el9} | ||
|
||
Name: kmod-%{kmod_name} | ||
Version: 3.26.02.000 | ||
Release: 6%{?dist} | ||
Release: 7%{?dist} | ||
Summary: %{kmod_name} kernel module(s) | ||
Group: System Environment/Kernel | ||
License: GPLv2 | ||
|
@@ -184,6 +184,9 @@ exit 0 | |
%doc /usr/share/doc/kmod-%{kmod_name}-%{version}/ | ||
|
||
%changelog | ||
* Tue Nov 12 2024 Tuan Hoang <[email protected]> - 3.26.02.000-7 | ||
- Rebuilt against RHEL 9.5 GA kernel | ||
|
||
* Thu May 02 2024 Akemi Yagi <[email protected]> - 3.26.02.000-6 | ||
- Rebuilt for RHEL 9.4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
%define kmod_name 3w-xxxx | ||
|
||
# If kmod_kernel_version isn't defined on the rpmbuild line, define it here. | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-427.13.1.el9_4} | ||
%{!?kmod_kernel_version: %define kmod_kernel_version 5.14.0-503.11.1.el9_5} | ||
|
||
%{!?dist: %define dist .el9} | ||
|
||
Name: kmod-%{kmod_name} | ||
Version: 1.26.02.003 | ||
Release: 6%{?dist} | ||
Release: 7%{?dist} | ||
Summary: %{kmod_name} kernel module(s) | ||
Group: System Environment/Kernel | ||
License: GPLv2 | ||
|
@@ -184,6 +184,9 @@ exit 0 | |
%doc /usr/share/doc/kmod-%{kmod_name}-%{version}/ | ||
|
||
%changelog | ||
* Tue Nov 12 2024 Tuan Hoang <[email protected]> - 1.26.02.003-7 | ||
- Rebuilt against RHEL 9.5 GA kernel | ||
|
||
* Thu May 02 2024 Akemi Yagi <[email protected]> - 1.26.02.003-6 | ||
- Rebuilt for RHEL 9.4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
# AIC79XX 2.5.X Kernel configuration File. | ||
# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic79xx#4 $ | ||
# | ||
config SCSI_AIC79XX | ||
tristate "Adaptec AIC79xx U320 support" | ||
depends on PCI && SCSI | ||
select SCSI_SPI_ATTRS | ||
help | ||
This driver supports all of Adaptec's Ultra 320 PCI-X | ||
based SCSI controllers. | ||
|
||
config AIC79XX_CMDS_PER_DEVICE | ||
int "Maximum number of TCQ commands per device" | ||
depends on SCSI_AIC79XX | ||
default "32" | ||
help | ||
Specify the number of commands you would like to allocate per SCSI | ||
device when Tagged Command Queueing (TCQ) is enabled on that device. | ||
|
||
This is an upper bound value for the number of tagged transactions | ||
to be used for any device. The aic7xxx driver will automatically | ||
vary this number based on device behavior. For devices with a | ||
fixed maximum, the driver will eventually lock to this maximum | ||
and display a console message indicating this value. | ||
|
||
Due to resource allocation issues in the Linux SCSI mid-layer, using | ||
a high number of commands per device may result in memory allocation | ||
failures when many devices are attached to the system. For this reason, | ||
the default is set to 32. Higher values may result in higher performance | ||
on some devices. The upper bound is 253. 0 disables tagged queueing. | ||
|
||
Per device tag depth can be controlled via the kernel command line | ||
"tag_info" option. See Documentation/scsi/aic79xx.rst for details. | ||
|
||
config AIC79XX_RESET_DELAY_MS | ||
int "Initial bus reset delay in milli-seconds" | ||
depends on SCSI_AIC79XX | ||
default "5000" | ||
help | ||
The number of milliseconds to delay after an initial bus reset. | ||
The bus settle delay following all error recovery actions is | ||
dictated by the SCSI layer and is not affected by this value. | ||
|
||
Default: 5000 (5 seconds) | ||
|
||
config AIC79XX_BUILD_FIRMWARE | ||
bool "Build Adapter Firmware with Kernel Build" | ||
depends on SCSI_AIC79XX && !PREVENT_FIRMWARE_BUILD | ||
help | ||
This option should only be enabled if you are modifying the firmware | ||
source to the aic79xx driver and wish to have the generated firmware | ||
include files updated during a normal kernel build. The assembler | ||
for the firmware requires lex and yacc or their equivalents, as well | ||
as the db v1 library. You may have to install additional packages | ||
or modify the assembler Makefile or the files it includes if your | ||
build environment is different than that of the author. | ||
|
||
config AIC79XX_DEBUG_ENABLE | ||
bool "Compile in Debugging Code" | ||
depends on SCSI_AIC79XX | ||
default y | ||
help | ||
Compile in aic79xx debugging code that can be useful in diagnosing | ||
driver errors. | ||
|
||
config AIC79XX_DEBUG_MASK | ||
int "Debug code enable mask (16383 for all debugging)" | ||
depends on SCSI_AIC79XX | ||
default "0" | ||
help | ||
Bit mask of debug options that is only valid if the | ||
CONFIG_AIC79XX_DEBUG_ENABLE option is enabled. The bits in this mask | ||
are defined in the drivers/scsi/aic7xxx/aic79xx.h - search for the | ||
variable ahd_debug in that file to find them. | ||
|
||
config AIC79XX_REG_PRETTY_PRINT | ||
bool "Decode registers during diagnostics" | ||
depends on SCSI_AIC79XX | ||
default y | ||
help | ||
Compile in register value tables for the output of expanded register | ||
contents in diagnostics. This make it much easier to understand debug | ||
output without having to refer to a data book and/or the aic7xxx.reg | ||
file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
# AIC7XXX and AIC79XX 2.5.X Kernel configuration File. | ||
# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic7xxx#7 $ | ||
# | ||
config SCSI_AIC7XXX | ||
tristate "Adaptec AIC7xxx Fast -> U160 support" | ||
depends on (PCI || EISA) && SCSI | ||
select SCSI_SPI_ATTRS | ||
help | ||
This driver supports all of Adaptec's Fast through Ultra 160 PCI | ||
based SCSI controllers as well as the aic7770 based EISA and VLB | ||
SCSI controllers (the 274x and 284x series). For AAA and ARO based | ||
configurations, only SCSI functionality is provided. | ||
|
||
To compile this driver as a module, choose M here: the | ||
module will be called aic7xxx. | ||
|
||
config AIC7XXX_CMDS_PER_DEVICE | ||
int "Maximum number of TCQ commands per device" | ||
depends on SCSI_AIC7XXX | ||
default "32" | ||
help | ||
Specify the number of commands you would like to allocate per SCSI | ||
device when Tagged Command Queueing (TCQ) is enabled on that device. | ||
|
||
This is an upper bound value for the number of tagged transactions | ||
to be used for any device. The aic7xxx driver will automatically | ||
vary this number based on device behavior. For devices with a | ||
fixed maximum, the driver will eventually lock to this maximum | ||
and display a console message indicating this value. | ||
|
||
Due to resource allocation issues in the Linux SCSI mid-layer, using | ||
a high number of commands per device may result in memory allocation | ||
failures when many devices are attached to the system. For this reason, | ||
the default is set to 32. Higher values may result in higher performance | ||
on some devices. The upper bound is 253. 0 disables tagged queueing. | ||
|
||
Per device tag depth can be controlled via the kernel command line | ||
"tag_info" option. See Documentation/scsi/aic7xxx.rst for details. | ||
|
||
config AIC7XXX_RESET_DELAY_MS | ||
int "Initial bus reset delay in milli-seconds" | ||
depends on SCSI_AIC7XXX | ||
default "5000" | ||
help | ||
The number of milliseconds to delay after an initial bus reset. | ||
The bus settle delay following all error recovery actions is | ||
dictated by the SCSI layer and is not affected by this value. | ||
|
||
Default: 5000 (5 seconds) | ||
|
||
config AIC7XXX_BUILD_FIRMWARE | ||
bool "Build Adapter Firmware with Kernel Build" | ||
depends on SCSI_AIC7XXX && !PREVENT_FIRMWARE_BUILD | ||
help | ||
This option should only be enabled if you are modifying the firmware | ||
source to the aic7xxx driver and wish to have the generated firmware | ||
include files updated during a normal kernel build. The assembler | ||
for the firmware requires lex and yacc or their equivalents, as well | ||
as the db v1 library. You may have to install additional packages | ||
or modify the assembler Makefile or the files it includes if your | ||
build environment is different than that of the author. | ||
|
||
config AIC7XXX_DEBUG_ENABLE | ||
bool "Compile in Debugging Code" | ||
depends on SCSI_AIC7XXX | ||
default y | ||
help | ||
Compile in aic7xxx debugging code that can be useful in diagnosing | ||
driver errors. | ||
|
||
config AIC7XXX_DEBUG_MASK | ||
int "Debug code enable mask (2047 for all debugging)" | ||
depends on SCSI_AIC7XXX | ||
default "0" | ||
help | ||
Bit mask of debug options that is only valid if the | ||
CONFIG_AIC7XXX_DEBUG_ENABLE option is enabled. The bits in this mask | ||
are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the | ||
variable ahc_debug in that file to find them. | ||
|
||
config AIC7XXX_REG_PRETTY_PRINT | ||
bool "Decode registers during diagnostics" | ||
depends on SCSI_AIC7XXX | ||
default y | ||
help | ||
Compile in register value tables for the output of expanded register | ||
contents in diagnostics. This make it much easier to understand debug | ||
output without having to refer to a data book and/or the aic7xxx.reg | ||
file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Makefile for the Linux aic7xxx SCSI driver. | ||
# | ||
# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Makefile#8 $ | ||
# | ||
|
||
# Let kbuild descend into aicasm when cleaning | ||
subdir- += aicasm | ||
|
||
obj-$(CONFIG_SCSI_AIC7XXX) += aic7xxx.o | ||
obj-$(CONFIG_SCSI_AIC79XX) += aic79xx.o | ||
|
||
# Core Fast -> U160 files | ||
aic7xxx-y += aic7xxx_core.o \ | ||
aic7xxx_93cx6.o | ||
aic7xxx-$(CONFIG_EISA) += aic7770.o | ||
aic7xxx-$(CONFIG_PCI) += aic7xxx_pci.o | ||
aic7xxx-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) += aic7xxx_reg_print.o | ||
|
||
# Platform Specific Fast -> U160 Files | ||
aic7xxx-y += aic7xxx_osm.o \ | ||
aic7xxx_proc.o | ||
aic7xxx-$(CONFIG_EISA) += aic7770_osm.o | ||
aic7xxx-$(CONFIG_PCI) += aic7xxx_osm_pci.o | ||
|
||
# Core U320 files | ||
aic79xx-y += aic79xx_core.o \ | ||
aic79xx_pci.o | ||
aic79xx-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) += aic79xx_reg_print.o | ||
|
||
# Platform Specific U320 Files | ||
aic79xx-y += aic79xx_osm.o \ | ||
aic79xx_proc.o \ | ||
aic79xx_osm_pci.o | ||
|
||
ifdef WARNINGS_BECOME_ERRORS | ||
ccflags-y += -Werror | ||
endif | ||
|
||
# Files generated that shall be removed upon make clean | ||
clean-files := aic7xxx_seq.h aic7xxx_reg.h aic7xxx_reg_print.c | ||
clean-files += aic79xx_seq.h aic79xx_reg.h aic79xx_reg_print.c | ||
|
||
# Dependencies for generated files need to be listed explicitly | ||
|
||
$(addprefix $(obj)/,$(aic7xxx-y)): $(obj)/aic7xxx_seq.h $(obj)/aic7xxx_reg.h | ||
$(addprefix $(obj)/,$(aic79xx-y)): $(obj)/aic79xx_seq.h $(obj)/aic79xx_reg.h | ||
|
||
aic7xxx-gen-$(CONFIG_AIC7XXX_BUILD_FIRMWARE) := $(obj)/aic7xxx_reg.h | ||
aic7xxx-gen-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) += $(obj)/aic7xxx_reg_print.c | ||
|
||
aicasm-7xxx-opts-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) := \ | ||
-p $(obj)/aic7xxx_reg_print.c -i aic7xxx_osm.h | ||
|
||
ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y) | ||
$(obj)/aic7xxx_seq.h: $(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm | ||
$(obj)/aicasm/aicasm -I$(srctree)/$(src) -r $(obj)/aic7xxx_reg.h \ | ||
$(aicasm-7xxx-opts-y) -o $(obj)/aic7xxx_seq.h \ | ||
$(srctree)/$(src)/aic7xxx.seq | ||
|
||
$(aic7xxx-gen-y): $(objtree)/$(obj)/aic7xxx_seq.h | ||
@true | ||
else | ||
$(obj)/aic7xxx_reg_print.c: $(src)/aic7xxx_reg_print.c_shipped | ||
endif | ||
|
||
aic79xx-gen-$(CONFIG_AIC79XX_BUILD_FIRMWARE) := $(obj)/aic79xx_reg.h | ||
aic79xx-gen-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) += $(obj)/aic79xx_reg_print.c | ||
|
||
aicasm-79xx-opts-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) := \ | ||
-p $(obj)/aic79xx_reg_print.c -i aic79xx_osm.h | ||
|
||
ifeq ($(CONFIG_AIC79XX_BUILD_FIRMWARE),y) | ||
$(obj)/aic79xx_seq.h: $(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm | ||
$(obj)/aicasm/aicasm -I$(srctree)/$(src) -r $(obj)/aic79xx_reg.h \ | ||
$(aicasm-79xx-opts-y) -o $(obj)/aic79xx_seq.h \ | ||
$(srctree)/$(src)/aic79xx.seq | ||
|
||
$(aic79xx-gen-y): $(objtree)/$(obj)/aic79xx_seq.h | ||
@true | ||
else | ||
$(obj)/aic79xx_reg_print.c: $(src)/aic79xx_reg_print.c_shipped | ||
endif | ||
|
||
$(obj)/aicasm/aicasm: $(srctree)/$(src)/aicasm/*.[chyl] | ||
$(MAKE) -C $(srctree)/$(src)/aicasm OUTDIR=$(shell pwd)/$(obj)/aicasm/ |
Oops, something went wrong.