ispfw(4): Update and add firmware

Update 25xx firmware: version 8.8.207
Add 26xx firmware: version 8.8.231
Add 27xx firmware: version 9.12.0
Add 28xx firmware: version 9.12.1

Remove BUGS section from manpage as we now have firmware for
all supported controllers.

PR:		273263
MFC after:	1 month
Pull Request:	https://github.com/freebsd/freebsd-src/pull/877
Sponsored by:	Technical University of Munich

(cherry picked from commit b0c6b06836)
This commit is contained in:
Joerg Pulz 2023-10-27 16:02:07 +02:00 committed by Alexander Motin
parent 16f4d8fc14
commit 4f30677080
10 changed files with 102642 additions and 15517 deletions

View file

@ -20,7 +20,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd April 25, 2023
.Dd October 27, 2023
.Dt ISPFW 4
.Os
.Sh NAME
@ -58,6 +58,3 @@ This driver was written by
.An Matthew Jacob .
Later improvement was done by
.An Alexander Motin Aq Mt mav@FreeBSD.org .
.Sh BUGS
Only firmware for the 24xx and 25xx based cards is included in
.Nm .

File diff suppressed because it is too large Load diff

22384
sys/dev/ispfw/asm_2600.h Normal file

File diff suppressed because it is too large Load diff

27431
sys/dev/ispfw/asm_2700.h Normal file

File diff suppressed because it is too large Load diff

38311
sys/dev/ispfw/asm_2800.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -39,6 +39,9 @@
#if defined(ISP_ALL) || !defined(KLD_MODULE)
#define ISP_2400 1
#define ISP_2500 1
#define ISP_2600 1
#define ISP_2700 1
#define ISP_2800 1
#endif
#ifndef MODULE_NAME
@ -51,6 +54,15 @@
#if defined(ISP_2500)
#include <dev/ispfw/asm_2500.h>
#endif
#if defined(ISP_2600)
#include <dev/ispfw/asm_2600.h>
#endif
#if defined(ISP_2700)
#include <dev/ispfw/asm_2700.h>
#endif
#if defined(ISP_2800)
#include <dev/ispfw/asm_2800.h>
#endif
#if defined(ISP_2400)
static int isp_2400_loaded;
@ -58,6 +70,15 @@ static int isp_2400_loaded;
#if defined(ISP_2500)
static int isp_2500_loaded;
#endif
#if defined(ISP_2600)
static int isp_2600_loaded;
#endif
#if defined(ISP_2700)
static int isp_2700_loaded;
#endif
#if defined(ISP_2800)
static int isp_2800_loaded;
#endif
#define ISPFW_VERSION 1
@ -90,6 +111,15 @@ do_load_fw(void)
#endif
#if defined(ISP_2500)
RMACRO(isp_2500);
#endif
#if defined(ISP_2600)
RMACRO(isp_2600);
#endif
#if defined(ISP_2700)
RMACRO(isp_2700);
#endif
#if defined(ISP_2800)
RMACRO(isp_2800);
#endif
return (0);
}
@ -104,6 +134,15 @@ do_unload_fw(void)
#endif
#if defined(ISP_2500)
UMACRO(isp_2500);
#endif
#if defined(ISP_2600)
UMACRO(isp_2600);
#endif
#if defined(ISP_2700)
UMACRO(isp_2700);
#endif
#if defined(ISP_2800)
UMACRO(isp_2800);
#endif
return (error);
}
@ -129,6 +168,12 @@ DECLARE_MODULE(ispfw, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
DECLARE_MODULE(isp_2400, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
#elif defined(ISP_2500)
DECLARE_MODULE(isp_2500, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
#elif defined(ISP_2600)
DECLARE_MODULE(isp_2600, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
#elif defined(ISP_2700)
DECLARE_MODULE(isp_2700, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
#elif defined(ISP_2800)
DECLARE_MODULE(isp_2800, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
#else
#error "firmware not specified"
#endif

View file

@ -28,5 +28,8 @@
SUBDIR = ispfw
SUBDIR += isp_2400
SUBDIR += isp_2500
SUBDIR += isp_2600
SUBDIR += isp_2700
SUBDIR += isp_2800
.include <bsd.subdir.mk>

View file

@ -0,0 +1,35 @@
#-
# Copyright (c) 2009 by Matthew Jacob
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice immediately at the beginning of the file, without modification,
# this list of conditions, and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
.PATH: ${SRCTOP}/sys/dev/ispfw
KMOD= isp_2600
SRCS= ispfw.c
CFLAGS += -DISP_2600 -DMODULE_NAME=\"${KMOD}\"
.include <bsd.kmod.mk>

View file

@ -0,0 +1,35 @@
#-
# Copyright (c) 2009 by Matthew Jacob
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice immediately at the beginning of the file, without modification,
# this list of conditions, and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
.PATH: ${SRCTOP}/sys/dev/ispfw
KMOD= isp_2700
SRCS= ispfw.c
CFLAGS += -DISP_2700 -DMODULE_NAME=\"${KMOD}\"
.include <bsd.kmod.mk>

View file

@ -0,0 +1,35 @@
#-
# Copyright (c) 2009 by Matthew Jacob
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice immediately at the beginning of the file, without modification,
# this list of conditions, and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
.PATH: ${SRCTOP}/sys/dev/ispfw
KMOD= isp_2800
SRCS= ispfw.c
CFLAGS += -DISP_2800 -DMODULE_NAME=\"${KMOD}\"
.include <bsd.kmod.mk>