From 12dc4e43ee1c81ec03ac79c3104932042f37713d Mon Sep 17 00:00:00 2001 From: mjacob Date: Fri, 31 Aug 2001 21:25:15 +0000 Subject: Add 2300/2312 (2Gbit) firmware. --- sys/dev/ispfw/ispfw.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/dev/ispfw/ispfw.c') 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 #include #include +#include #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; } -- cgit v1.1