Add 2300/2312 (2Gbit) firmware.

This commit is contained in:
Matt Jacob 2001-08-31 21:25:15 +00:00
parent 6e66dd6b62
commit a2f1799115
2 changed files with 5461 additions and 1 deletions

5452
sys/dev/ispfw/asm_2300.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
/*
* ISP Firmware Helper Pseudo Device for FreeBSD
*
* Copyright (c) 2000, by Matthew Jacob
* Copyright (c) 2000, 2001, by Matthew Jacob
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -36,6 +36,7 @@
#include <dev/ispfw/asm_12160.h>
#include <dev/ispfw/asm_2100.h>
#include <dev/ispfw/asm_2200.h>
#include <dev/ispfw/asm_2300.h>
#define ISPFW_VERSION 0
@ -46,6 +47,8 @@
#define PCI_PRODUCT_QLOGIC_ISP1280 0x1280
#define PCI_PRODUCT_QLOGIC_ISP2100 0x2100
#define PCI_PRODUCT_QLOGIC_ISP2200 0x2200
#define PCI_PRODUCT_QLOGIC_ISP2300 0x2300
#define PCI_PRODUCT_QLOGIC_ISP2312 0x2312
typedef void ispfwfunc __P((int, int, int, const u_int16_t **));
extern ispfwfunc *isp_get_firmware_p;
@ -111,6 +114,11 @@ isp_get_firmware(int version, int tgtmode, int devid, const u_int16_t **ptrp)
break;
case PCI_PRODUCT_QLOGIC_ISP2200:
rp = isp_2200_risc_code;
break;
case PCI_PRODUCT_QLOGIC_ISP2300:
case PCI_PRODUCT_QLOGIC_ISP2312:
rp = isp_2300_risc_code;
break;
default:
break;
}