diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-08-31 21:25:15 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-08-31 21:25:15 +0000 |
commit | 12dc4e43ee1c81ec03ac79c3104932042f37713d (patch) | |
tree | f4140d22e08a7d852d8a3755e3324011fc76ba7e /sys/dev/ispfw/ispfw.c | |
parent | 75965b4b2135b1a573e678d62d32b3d31b0f5e8e (diff) | |
download | FreeBSD-src-12dc4e43ee1c81ec03ac79c3104932042f37713d.zip FreeBSD-src-12dc4e43ee1c81ec03ac79c3104932042f37713d.tar.gz |
Add 2300/2312 (2Gbit) firmware.
Diffstat (limited to 'sys/dev/ispfw/ispfw.c')
-rw-r--r-- | sys/dev/ispfw/ispfw.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/ispfw/ispfw.c b/sys/dev/ispfw/ispfw.c index 8726635..3196ba3 100644 --- a/sys/dev/ispfw/ispfw.c +++ b/sys/dev/ispfw/ispfw.c @@ -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; } |