Convert isp(4) and ispfw(4) to use firmware(9) to manage firmware
loading for the QLogic cards. Because isp(4) exists before the root is mounted, it's not really possible for us to use the kernel's linker to load modules directly from disk- that's really too bad. However, the this is still a net win in in that the firmware has been split up on a per chip (and in some cases, functionality) basis, so the amount of stuff loaded *can* be substantially less than the 1.5MB of firmware images that ispfw now manages. That is, each specific f/w set is now also built as a module. For example, QLogic 2322 f/w is built as isp_2322.ko and Initiator/Target 1080 firmware is built as isp_1080_it.ko. For compatibility purposes (i.e., to perturb folks the least), we also still build all of the firmware as one ispfw.ko module. This allows us to let 'ispfw_LOAD' keep on working in existing loader.conf files. If you now want to strip this down to just the firmware for your h/w, you can then change loader.conf to load the f/w you specifically want. We also still allow for ispfw to be statically built (e.g., for PAE and sparc64). Future changes will look at f/w unloading and also role switching that then uses the kernel linker to load different ips f/w sets. MFC after: 2 months
This commit is contained in:
parent
6850136348
commit
a6dea567ad
@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
MODULE_VERSION(isp, 1);
|
MODULE_VERSION(isp, 1);
|
||||||
MODULE_DEPEND(isp, cam, 1, 1, 1);
|
MODULE_DEPEND(isp, cam, 1, 1, 1);
|
||||||
int isp_announced = 0;
|
int isp_announced = 0;
|
||||||
ispfwfunc *isp_get_firmware_p = NULL;
|
|
||||||
|
|
||||||
static d_ioctl_t ispioctl;
|
static d_ioctl_t ispioctl;
|
||||||
static void isp_intr_enable(void *);
|
static void isp_intr_enable(void *);
|
||||||
|
@ -97,8 +97,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef void ispfwfunc(int, int, int, uint16_t **);
|
|
||||||
|
|
||||||
#ifdef ISP_TARGET_MODE
|
#ifdef ISP_TARGET_MODE
|
||||||
#define ISP_TARGET_FUNCTIONS 1
|
#define ISP_TARGET_FUNCTIONS 1
|
||||||
#define ATPDPSIZE 256
|
#define ATPDPSIZE 256
|
||||||
@ -155,6 +153,7 @@ struct isposinfo {
|
|||||||
intsok : 1,
|
intsok : 1,
|
||||||
simqfrozen : 3;
|
simqfrozen : 3;
|
||||||
#if __FreeBSD_version >= 500000
|
#if __FreeBSD_version >= 500000
|
||||||
|
struct firmware * fw;
|
||||||
struct mtx lock;
|
struct mtx lock;
|
||||||
struct cv kthread_cv;
|
struct cv kthread_cv;
|
||||||
#endif
|
#endif
|
||||||
|
@ -35,9 +35,12 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
#include <sys/module.h>
|
#include <sys/module.h>
|
||||||
|
#if __FreeBSD_version >= 700000
|
||||||
|
#include <sys/linker.h>
|
||||||
|
#include <sys/firmware.h>
|
||||||
|
#endif
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
#if __FreeBSD_version < 500000
|
#if __FreeBSD_version < 500000
|
||||||
#include <sys/bus.h>
|
|
||||||
#include <pci/pcireg.h>
|
#include <pci/pcireg.h>
|
||||||
#include <pci/pcivar.h>
|
#include <pci/pcivar.h>
|
||||||
#include <machine/bus_memio.h>
|
#include <machine/bus_memio.h>
|
||||||
@ -72,6 +75,7 @@ isp_pci_dmasetup(ispsoftc_t *, XS_T *, ispreq_t *, uint16_t *, uint16_t);
|
|||||||
static void
|
static void
|
||||||
isp_pci_dmateardown(ispsoftc_t *, XS_T *, uint16_t);
|
isp_pci_dmateardown(ispsoftc_t *, XS_T *, uint16_t);
|
||||||
|
|
||||||
|
|
||||||
static void isp_pci_reset1(ispsoftc_t *);
|
static void isp_pci_reset1(ispsoftc_t *);
|
||||||
static void isp_pci_dumpregs(ispsoftc_t *, const char *);
|
static void isp_pci_dumpregs(ispsoftc_t *, const char *);
|
||||||
|
|
||||||
@ -241,6 +245,11 @@ static struct ispmdvec mdvec_2300 = {
|
|||||||
#define PCI_PRODUCT_QLOGIC_ISP6312 0x6312
|
#define PCI_PRODUCT_QLOGIC_ISP6312 0x6312
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PCI_PRODUCT_QLOGIC_ISP6322
|
||||||
|
#define PCI_PRODUCT_QLOGIC_ISP6322 0x6322
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define PCI_QLOGIC_ISP1020 \
|
#define PCI_QLOGIC_ISP1020 \
|
||||||
((PCI_PRODUCT_QLOGIC_ISP1020 << 16) | PCI_VENDOR_QLOGIC)
|
((PCI_PRODUCT_QLOGIC_ISP1020 << 16) | PCI_VENDOR_QLOGIC)
|
||||||
|
|
||||||
@ -280,6 +289,9 @@ static struct ispmdvec mdvec_2300 = {
|
|||||||
#define PCI_QLOGIC_ISP6312 \
|
#define PCI_QLOGIC_ISP6312 \
|
||||||
((PCI_PRODUCT_QLOGIC_ISP6312 << 16) | PCI_VENDOR_QLOGIC)
|
((PCI_PRODUCT_QLOGIC_ISP6312 << 16) | PCI_VENDOR_QLOGIC)
|
||||||
|
|
||||||
|
#define PCI_QLOGIC_ISP6322 \
|
||||||
|
((PCI_PRODUCT_QLOGIC_ISP6322 << 16) | PCI_VENDOR_QLOGIC)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Odd case for some AMI raid cards... We need to *not* attach to this.
|
* Odd case for some AMI raid cards... We need to *not* attach to this.
|
||||||
*/
|
*/
|
||||||
@ -306,7 +318,6 @@ struct isp_pcisoftc {
|
|||||||
bus_dma_tag_t dmat;
|
bus_dma_tag_t dmat;
|
||||||
bus_dmamap_t *dmaps;
|
bus_dmamap_t *dmaps;
|
||||||
};
|
};
|
||||||
extern ispfwfunc *isp_get_firmware_p;
|
|
||||||
|
|
||||||
static device_method_t isp_pci_methods[] = {
|
static device_method_t isp_pci_methods[] = {
|
||||||
/* Device interface */
|
/* Device interface */
|
||||||
@ -321,6 +332,13 @@ static driver_t isp_pci_driver = {
|
|||||||
};
|
};
|
||||||
static devclass_t isp_devclass;
|
static devclass_t isp_devclass;
|
||||||
DRIVER_MODULE(isp, pci, isp_pci_driver, isp_devclass, 0, 0);
|
DRIVER_MODULE(isp, pci, isp_pci_driver, isp_devclass, 0, 0);
|
||||||
|
#if __FreeBSD_version >= 700000
|
||||||
|
MODULE_DEPEND(isp, ispfw, 1, 1, 1);
|
||||||
|
MODULE_DEPEND(isp, firmware, 1, 1, 1);
|
||||||
|
#else
|
||||||
|
typedef void ispfwfunc(int, int, int, uint16_t **);
|
||||||
|
extern ispfwfunc *isp_get_firmware_p;
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
isp_pci_probe(device_t dev)
|
isp_pci_probe(device_t dev)
|
||||||
@ -368,6 +386,9 @@ isp_pci_probe(device_t dev)
|
|||||||
case PCI_QLOGIC_ISP6312:
|
case PCI_QLOGIC_ISP6312:
|
||||||
device_set_desc(dev, "Qlogic ISP 6312 PCI FC-AL Adapter");
|
device_set_desc(dev, "Qlogic ISP 6312 PCI FC-AL Adapter");
|
||||||
break;
|
break;
|
||||||
|
case PCI_QLOGIC_ISP6322:
|
||||||
|
device_set_desc(dev, "Qlogic ISP 6322 PCI FC-AL Adapter");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
}
|
}
|
||||||
@ -848,7 +869,8 @@ isp_pci_attach(device_t dev)
|
|||||||
pcs->pci_poff[MBOX_BLOCK >> _BLK_REG_SHFT] =
|
pcs->pci_poff[MBOX_BLOCK >> _BLK_REG_SHFT] =
|
||||||
PCI_MBOX_REGS2300_OFF;
|
PCI_MBOX_REGS2300_OFF;
|
||||||
}
|
}
|
||||||
if (pci_get_devid(dev) == PCI_QLOGIC_ISP2322) {
|
if (pci_get_devid(dev) == PCI_QLOGIC_ISP2322 ||
|
||||||
|
pci_get_devid(dev) == PCI_QLOGIC_ISP6322) {
|
||||||
mdvp = &mdvec_2300;
|
mdvp = &mdvec_2300;
|
||||||
basetype = ISP_HA_FC_2322;
|
basetype = ISP_HA_FC_2322;
|
||||||
psize = sizeof (fcparam);
|
psize = sizeof (fcparam);
|
||||||
@ -873,10 +895,58 @@ isp_pci_attach(device_t dev)
|
|||||||
isp->isp_revision = pci_get_revid(dev);
|
isp->isp_revision = pci_get_revid(dev);
|
||||||
isp->isp_dev = dev;
|
isp->isp_dev = dev;
|
||||||
|
|
||||||
|
#if __FreeBSD_version >= 700000
|
||||||
/*
|
/*
|
||||||
* Try and find firmware for this device.
|
* Try and find firmware for this device.
|
||||||
*/
|
*/
|
||||||
|
{
|
||||||
|
char fwname[32];
|
||||||
|
unsigned int did = pci_get_device(dev);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Map a few pci ids to fw names
|
||||||
|
*/
|
||||||
|
switch (did) {
|
||||||
|
case PCI_PRODUCT_QLOGIC_ISP1020:
|
||||||
|
did = 0x1040;
|
||||||
|
break;
|
||||||
|
case PCI_PRODUCT_QLOGIC_ISP1240:
|
||||||
|
did = 0x1080;
|
||||||
|
break;
|
||||||
|
case PCI_PRODUCT_QLOGIC_ISP10160:
|
||||||
|
case PCI_PRODUCT_QLOGIC_ISP12160:
|
||||||
|
did = 0x12160;
|
||||||
|
break;
|
||||||
|
case PCI_PRODUCT_QLOGIC_ISP6312:
|
||||||
|
case PCI_PRODUCT_QLOGIC_ISP2312:
|
||||||
|
did = 0x2300;
|
||||||
|
break;
|
||||||
|
case PCI_PRODUCT_QLOGIC_ISP6322:
|
||||||
|
did = 0x2322;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
isp->isp_osinfo.fw = NULL;
|
||||||
|
if (isp->isp_role & ISP_ROLE_TARGET) {
|
||||||
|
snprintf(fwname, sizeof (fwname), "isp_%04x_it", did);
|
||||||
|
isp->isp_osinfo.fw = firmware_get(fwname);
|
||||||
|
}
|
||||||
|
if (isp->isp_osinfo.fw == NULL) {
|
||||||
|
snprintf(fwname, sizeof (fwname), "isp_%04x", did);
|
||||||
|
isp->isp_osinfo.fw = firmware_get(fwname);
|
||||||
|
}
|
||||||
|
if (isp->isp_osinfo.fw != NULL) {
|
||||||
|
union {
|
||||||
|
const void *fred;
|
||||||
|
uint16_t *bob;
|
||||||
|
} u;
|
||||||
|
u.fred = isp->isp_osinfo.fw->data;
|
||||||
|
isp->isp_mdvec->dv_ispfw = u.bob;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#else
|
||||||
if (isp_get_firmware_p) {
|
if (isp_get_firmware_p) {
|
||||||
int device = (int) pci_get_device(dev);
|
int device = (int) pci_get_device(dev);
|
||||||
#ifdef ISP_TARGET_MODE
|
#ifdef ISP_TARGET_MODE
|
||||||
@ -885,6 +955,7 @@ isp_pci_attach(device_t dev)
|
|||||||
(*isp_get_firmware_p)(0, 0, device, &mdvp->dv_ispfw);
|
(*isp_get_firmware_p)(0, 0, device, &mdvp->dv_ispfw);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Make sure that SERR, PERR, WRITE INVALIDATE and BUSMASTER
|
* Make sure that SERR, PERR, WRITE INVALIDATE and BUSMASTER
|
||||||
@ -892,9 +963,11 @@ isp_pci_attach(device_t dev)
|
|||||||
*/
|
*/
|
||||||
cmd |= PCIM_CMD_SEREN | PCIM_CMD_PERRESPEN |
|
cmd |= PCIM_CMD_SEREN | PCIM_CMD_PERRESPEN |
|
||||||
PCIM_CMD_BUSMASTEREN | PCIM_CMD_INVEN;
|
PCIM_CMD_BUSMASTEREN | PCIM_CMD_INVEN;
|
||||||
|
|
||||||
if (IS_2300(isp)) { /* per QLogic errata */
|
if (IS_2300(isp)) { /* per QLogic errata */
|
||||||
cmd &= ~PCIM_CMD_INVEN;
|
cmd &= ~PCIM_CMD_INVEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IS_23XX(isp)) {
|
if (IS_23XX(isp)) {
|
||||||
/*
|
/*
|
||||||
* Can't tell if ROM will hang on 'ABOUT FIRMWARE' command.
|
* Can't tell if ROM will hang on 'ABOUT FIRMWARE' command.
|
||||||
|
@ -32,6 +32,10 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
#if __FreeBSD_version >= 700000
|
||||||
|
#include <sys/linker.h>
|
||||||
|
#include <sys/firmware.h>
|
||||||
|
#endif
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
#include <sys/module.h>
|
#include <sys/module.h>
|
||||||
@ -92,7 +96,6 @@ struct isp_sbussoftc {
|
|||||||
struct resource * sbus_ires;
|
struct resource * sbus_ires;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern ispfwfunc *isp_get_firmware_p;
|
|
||||||
|
|
||||||
static device_method_t isp_sbus_methods[] = {
|
static device_method_t isp_sbus_methods[] = {
|
||||||
/* Device interface */
|
/* Device interface */
|
||||||
@ -107,6 +110,12 @@ static driver_t isp_sbus_driver = {
|
|||||||
};
|
};
|
||||||
static devclass_t isp_devclass;
|
static devclass_t isp_devclass;
|
||||||
DRIVER_MODULE(isp, sbus, isp_sbus_driver, isp_devclass, 0, 0);
|
DRIVER_MODULE(isp, sbus, isp_sbus_driver, isp_devclass, 0, 0);
|
||||||
|
#if __FreeBSD_version >= 700000
|
||||||
|
MODULE_DEPEND(isp, firmware, 1, 1, 1);
|
||||||
|
#else
|
||||||
|
typedef void ispfwfunc(int, int, int, uint16_t **);
|
||||||
|
extern ispfwfunc *isp_get_firmware_p;
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
isp_sbus_probe(device_t dev)
|
isp_sbus_probe(device_t dev)
|
||||||
@ -249,13 +258,24 @@ isp_sbus_attach(device_t dev)
|
|||||||
isp->isp_confopts |= ISP_CFG_NONVRAM;
|
isp->isp_confopts |= ISP_CFG_NONVRAM;
|
||||||
|
|
||||||
|
|
||||||
|
#if __FreeBSD_version >= 700000
|
||||||
|
isp->isp_osinfo.fw = firmware_get("isp_1000");
|
||||||
|
if (isp->isp_osinfo.fw) {
|
||||||
|
union {
|
||||||
|
const void *cp;
|
||||||
|
uint16_t *sp;
|
||||||
|
} stupid;
|
||||||
|
stupid.cp = isp->isp_osinfo.fw->data;
|
||||||
|
isp->isp_mdvec->dv_ispfw = stupid.sp;
|
||||||
|
}
|
||||||
|
#else
|
||||||
/*
|
/*
|
||||||
* Try and find firmware for this device.
|
* Try and find firmware for this device.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (isp_get_firmware_p) {
|
if (isp_get_firmware_p) {
|
||||||
(*isp_get_firmware_p)(0, 0, 0x1000, &sbs->sbus_mdvec.dv_ispfw);
|
(*isp_get_firmware_p)(0, 0, 0x1000, &sbs->sbus_mdvec.dv_ispfw);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
iqd = 0;
|
iqd = 0;
|
||||||
sbs->sbus_ires = bus_alloc_resource_any(dev, SYS_RES_IRQ, &iqd,
|
sbs->sbus_ires = bus_alloc_resource_any(dev, SYS_RES_IRQ, &iqd,
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
/*
|
/*
|
||||||
* Firmware Version 4.66.00 (14:49 Sep 05, 2000)
|
* Firmware Version 4.66.00 (14:49 Sep 05, 2000)
|
||||||
*/
|
*/
|
||||||
|
#ifdef ISP_1040
|
||||||
static const u_int16_t isp_1040_risc_code[] = {
|
static const u_int16_t isp_1040_risc_code[] = {
|
||||||
0x0078, 0x1041, 0x0000, 0x2cd0, 0x0000, 0x2043, 0x4f50, 0x5952,
|
0x0078, 0x1041, 0x0000, 0x2cd0, 0x0000, 0x2043, 0x4f50, 0x5952,
|
||||||
0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31,
|
0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31,
|
||||||
@ -1470,6 +1471,7 @@ static const u_int16_t isp_1040_risc_code[] = {
|
|||||||
0x0040, 0x3cc6, 0x20a9, 0x0100, 0x0078, 0x3caf, 0x2009, 0x3d51,
|
0x0040, 0x3cc6, 0x20a9, 0x0100, 0x0078, 0x3caf, 0x2009, 0x3d51,
|
||||||
0x200b, 0x3d7f, 0x2009, 0x3d50, 0x200b, 0x0000, 0x007c, 0x4de2
|
0x200b, 0x3d7f, 0x2009, 0x3d50, 0x200b, 0x0000, 0x007c, 0x4de2
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
* *
|
* *
|
||||||
* --- ISP1040 Initiator/Target Firmware --- *
|
* --- ISP1040 Initiator/Target Firmware --- *
|
||||||
@ -1479,7 +1481,8 @@ static const u_int16_t isp_1040_risc_code[] = {
|
|||||||
/*
|
/*
|
||||||
* Firmware Version 7.65.00 (14:17 Jul 20, 1999)
|
* Firmware Version 7.65.00 (14:17 Jul 20, 1999)
|
||||||
*/
|
*/
|
||||||
static const u_int16_t isp_1040_risc_code_it[] = {
|
#ifdef ISP_1040_IT
|
||||||
|
static const u_int16_t isp_1040_it_risc_code[] = {
|
||||||
0x0078, 0x103a, 0x0000, 0x4057, 0x0000, 0x2043, 0x4f50, 0x5952,
|
0x0078, 0x103a, 0x0000, 0x4057, 0x0000, 0x2043, 0x4f50, 0x5952,
|
||||||
0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943,
|
0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943,
|
||||||
0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350,
|
0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350,
|
||||||
@ -3540,3 +3543,4 @@ static const u_int16_t isp_1040_risc_code_it[] = {
|
|||||||
0x0014, 0x878e, 0x0016, 0xa21c, 0x1035, 0xa8af, 0xa210, 0x3807,
|
0x0014, 0x878e, 0x0016, 0xa21c, 0x1035, 0xa8af, 0xa210, 0x3807,
|
||||||
0x300c, 0x817e, 0x872b, 0x8772, 0xa8a8, 0x0000, 0xdf21
|
0x300c, 0x817e, 0x872b, 0x8772, 0xa8a8, 0x0000, 0xdf21
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
/*
|
/*
|
||||||
* Firmware Version 8.15.00 (14:35 Aug 22, 2000)
|
* Firmware Version 8.15.00 (14:35 Aug 22, 2000)
|
||||||
*/
|
*/
|
||||||
|
#ifdef ISP_1080
|
||||||
static const u_int16_t isp_1080_risc_code[] = {
|
static const u_int16_t isp_1080_risc_code[] = {
|
||||||
0x0078, 0x1041, 0x0000, 0x3d3b, 0x0000, 0x2043, 0x4f50, 0x5952,
|
0x0078, 0x1041, 0x0000, 0x3d3b, 0x0000, 0x2043, 0x4f50, 0x5952,
|
||||||
0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31,
|
0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31,
|
||||||
@ -1996,6 +1997,7 @@ static const u_int16_t isp_1080_risc_code[] = {
|
|||||||
0x4cee, 0x7804, 0xd08c, 0x0040, 0x4d37, 0x681f, 0x000c, 0x70a0,
|
0x4cee, 0x7804, 0xd08c, 0x0040, 0x4d37, 0x681f, 0x000c, 0x70a0,
|
||||||
0x70a2, 0x007c, 0x205b
|
0x70a2, 0x007c, 0x205b
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
* *
|
* *
|
||||||
* --- ISP1240/ISP1080/ISP1280 Initiator/Target Firmware --- *
|
* --- ISP1240/ISP1080/ISP1280 Initiator/Target Firmware --- *
|
||||||
@ -2005,8 +2007,8 @@ static const u_int16_t isp_1080_risc_code[] = {
|
|||||||
/*
|
/*
|
||||||
* Firmware Version 9.11.01 (15:46 May 23, 2000)
|
* Firmware Version 9.11.01 (15:46 May 23, 2000)
|
||||||
*/
|
*/
|
||||||
|
#ifdef ISP_1080_IT
|
||||||
static const u_int16_t isp_1080_risc_code_it[] = {
|
static const u_int16_t isp_1080_it_risc_code[] = {
|
||||||
0x0078, 0x103a, 0x0000, 0x4f62, 0x0000, 0x2043, 0x4f50, 0x5952,
|
0x0078, 0x103a, 0x0000, 0x4f62, 0x0000, 0x2043, 0x4f50, 0x5952,
|
||||||
0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943,
|
0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943,
|
||||||
0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350,
|
0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350,
|
||||||
@ -4549,3 +4551,4 @@ static const u_int16_t isp_1080_risc_code_it[] = {
|
|||||||
0xa8bb, 0xa210, 0x3807, 0x300c, 0x817e, 0x872b, 0x8772, 0x0014,
|
0xa8bb, 0xa210, 0x3807, 0x300c, 0x817e, 0x872b, 0x8772, 0x0014,
|
||||||
0x0000, 0xd27a
|
0x0000, 0xd27a
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
/*
|
/*
|
||||||
* Firmware Version 10.04.41 (10:30 Mar 21, 2003)
|
* Firmware Version 10.04.41 (10:30 Mar 21, 2003)
|
||||||
*/
|
*/
|
||||||
|
#ifdef ISP_12160
|
||||||
static const u_int16_t isp_12160_risc_code[] = {
|
static const u_int16_t isp_12160_risc_code[] = {
|
||||||
0x0804, 0x1041, 0x0000, 0x36c9, 0x0000, 0x2043, 0x4f50, 0x5952,
|
0x0804, 0x1041, 0x0000, 0x36c9, 0x0000, 0x2043, 0x4f50, 0x5952,
|
||||||
0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31,
|
0x4947, 0x4854, 0x2031, 0x3939, 0x312c, 0x3139, 0x3932, 0x2c31,
|
||||||
@ -1790,10 +1791,12 @@ static const u_int16_t isp_12160_risc_code[] = {
|
|||||||
0x0018, 0x00ce, 0x681f, 0x000c, 0x001e, 0x70a0, 0x70a2, 0x0005,
|
0x0018, 0x00ce, 0x681f, 0x000c, 0x001e, 0x70a0, 0x70a2, 0x0005,
|
||||||
0x0c28
|
0x0c28
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
* Firmware Version 11.12.19 (17:10 Oct 25, 2001)
|
* Firmware Version 11.12.19 (17:10 Oct 25, 2001)
|
||||||
*/
|
*/
|
||||||
static const u_int16_t isp_12160_risc_code_it[] = {
|
#ifdef ISP_12160_IT
|
||||||
|
static const u_int16_t isp_12160_it_risc_code[] = {
|
||||||
0x0804, 0x103a, 0x0000, 0x4f4e, 0x0000, 0x2043, 0x4f50, 0x5952,
|
0x0804, 0x103a, 0x0000, 0x4f4e, 0x0000, 0x2043, 0x4f50, 0x5952,
|
||||||
0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943,
|
0x4947, 0x4854, 0x2031, 0x3939, 0x3520, 0x514c, 0x4f47, 0x4943,
|
||||||
0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350,
|
0x2043, 0x4f52, 0x504f, 0x5241, 0x5449, 0x4f4e, 0x2049, 0x5350,
|
||||||
@ -4333,3 +4336,4 @@ static const u_int16_t isp_12160_risc_code_it[] = {
|
|||||||
0x9521, 0x85a1, 0x806f, 0x9422, 0x84a2, 0x80fd, 0x9405, 0x8485,
|
0x9521, 0x85a1, 0x806f, 0x9422, 0x84a2, 0x80fd, 0x9405, 0x8485,
|
||||||
0x7021, 0x0014, 0xa300, 0xa8ca, 0x0000, 0x7a3c
|
0x7021, 0x0014, 0xa300, 0xa8ca, 0x0000, 0x7a3c
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*-
|
/*-
|
||||||
* ISP Firmware Helper Pseudo Device for FreeBSD
|
* ISP Firmware Modules for FreeBSD
|
||||||
*
|
*
|
||||||
* Copyright (c) 2000, 2001, by Matthew Jacob
|
* Copyright (c) 2000, 2001, 2006 by Matthew Jacob
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -31,154 +31,179 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
#include <sys/malloc.h>
|
|
||||||
#include <sys/module.h>
|
#include <sys/module.h>
|
||||||
|
#include <sys/param.h>
|
||||||
|
#include <sys/systm.h>
|
||||||
|
#include <sys/linker.h>
|
||||||
|
#include <sys/firmware.h>
|
||||||
|
|
||||||
#include <dev/ispfw/asm_1040.h>
|
#if defined(ISP_ALL) || !defined(KLD_MODULE)
|
||||||
#include <dev/ispfw/asm_1080.h>
|
#define ISP_1040 1
|
||||||
#include <dev/ispfw/asm_12160.h>
|
#define ISP_1040_IT 1
|
||||||
#include <dev/ispfw/asm_2100.h>
|
#define ISP_1080 1
|
||||||
#include <dev/ispfw/asm_2200.h>
|
#define ISP_1080_IT 1
|
||||||
#include <dev/ispfw/asm_2300.h>
|
#define ISP_12160 1
|
||||||
#include <dev/ispfw/asm_2322.h>
|
#define ISP_12160_IT 1
|
||||||
|
#define ISP_2100 1
|
||||||
|
#define ISP_2200 1
|
||||||
|
#define ISP_2300 1
|
||||||
|
#define ISP_2322 1
|
||||||
#ifdef __sparc64__
|
#ifdef __sparc64__
|
||||||
|
#define ISP_1000 1
|
||||||
|
#endif
|
||||||
|
#define MODULE_NAME "isp"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(ISP_1040) || defined(ISP_1040_IT)
|
||||||
|
#include <dev/ispfw/asm_1040.h>
|
||||||
|
#endif
|
||||||
|
#if defined(ISP_1080) || defined(ISP_1080_IT)
|
||||||
|
#include <dev/ispfw/asm_1080.h>
|
||||||
|
#endif
|
||||||
|
#if defined(ISP_12160) || defined(ISP_12160_IT)
|
||||||
|
#include <dev/ispfw/asm_12160.h>
|
||||||
|
#endif
|
||||||
|
#if defined(ISP_2100)
|
||||||
|
#include <dev/ispfw/asm_2100.h>
|
||||||
|
#endif
|
||||||
|
#if defined(ISP_2200)
|
||||||
|
#include <dev/ispfw/asm_2200.h>
|
||||||
|
#endif
|
||||||
|
#if defined(ISP_2300)
|
||||||
|
#include <dev/ispfw/asm_2300.h>
|
||||||
|
#endif
|
||||||
|
#if defined(ISP_2322)
|
||||||
|
#include <dev/ispfw/asm_2322.h>
|
||||||
|
#endif
|
||||||
|
#if defined(ISP_1000)
|
||||||
#include <dev/ispfw/asm_1000.h>
|
#include <dev/ispfw/asm_1000.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ISPFW_VERSION 0
|
#define ISPFW_VERSION 1
|
||||||
|
#define RMACRO(token) \
|
||||||
|
if (firmware_register(#token, token##_risc_code, \
|
||||||
|
token##_risc_code [3] << 1, ISPFW_VERSION, NULL) == NULL) { \
|
||||||
|
printf("unable to register firmware '%s'\n", #token); \
|
||||||
|
} else { \
|
||||||
|
printf("registered firmware set <%s>\n", #token); \
|
||||||
|
}
|
||||||
|
|
||||||
#define PCI_PRODUCT_QLOGIC_ISP1020 0x1020
|
#define UMACRO(token) \
|
||||||
#define PCI_PRODUCT_QLOGIC_ISP1080 0x1080
|
firmware_unregister(#token); \
|
||||||
#define PCI_PRODUCT_QLOGIC_ISP10160 0x1016
|
printf("unregistered firmware set <%s>\n", #token);
|
||||||
#define PCI_PRODUCT_QLOGIC_ISP12160 0x1216
|
|
||||||
#define PCI_PRODUCT_QLOGIC_ISP1240 0x1240
|
|
||||||
#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
|
|
||||||
#define PCI_PRODUCT_QLOGIC_ISP2322 0x2322
|
|
||||||
#define PCI_PRODUCT_QLOGIC_ISP6312 0x6312
|
|
||||||
#ifdef __sparc64__
|
|
||||||
#define SBUS_PRODUCT_QLOGIC_ISP1000 0x1000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef void ispfwfunc(int, int, int, const u_int16_t **);
|
|
||||||
extern ispfwfunc *isp_get_firmware_p;
|
|
||||||
static void isp_get_firmware(int, int, int, const u_int16_t **);
|
|
||||||
|
|
||||||
static int ncallers = 0;
|
|
||||||
static const u_int16_t ***callp = NULL;
|
|
||||||
static int addcaller(const u_int16_t **);
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
addcaller(const u_int16_t **caller)
|
do_load_fw(void)
|
||||||
{
|
{
|
||||||
const u_int16_t ***newcallp;
|
#if defined(ISP_1000)
|
||||||
int i;
|
RMACRO(isp_1000);
|
||||||
for (i = 0; i < ncallers; i++) {
|
#endif
|
||||||
if (callp[i] == caller)
|
#if defined(ISP_1040)
|
||||||
return (1);
|
RMACRO(isp_1040);
|
||||||
}
|
#endif
|
||||||
newcallp = malloc((ncallers + 1) * sizeof (const u_int16_t ***),
|
#if defined(ISP_1040_IT)
|
||||||
M_DEVBUF, M_NOWAIT);
|
RMACRO(isp_1040_it);
|
||||||
if (newcallp == NULL) {
|
#endif
|
||||||
return (0);
|
#if defined(ISP_1080)
|
||||||
}
|
RMACRO(isp_1080);
|
||||||
for (i = 0; i < ncallers; i++) {
|
#endif
|
||||||
newcallp[i] = callp[i];
|
#if defined(ISP_1080_IT)
|
||||||
}
|
RMACRO(isp_1080_it);
|
||||||
newcallp[ncallers] = caller;
|
#endif
|
||||||
if (ncallers++)
|
#if defined(ISP_12160)
|
||||||
free(callp, M_DEVBUF);
|
RMACRO(isp_12160);
|
||||||
callp = newcallp;
|
#endif
|
||||||
return (1);
|
#if defined(ISP_12160_IT)
|
||||||
}
|
RMACRO(isp_12160_it);
|
||||||
|
#endif
|
||||||
static void
|
#if defined(ISP_2100)
|
||||||
isp_get_firmware(int version, int tgtmode, int devid, const u_int16_t **ptrp)
|
RMACRO(isp_2100);
|
||||||
{
|
#endif
|
||||||
const u_int16_t *rp = NULL;
|
#if defined(ISP_2200)
|
||||||
|
RMACRO(isp_2200);
|
||||||
if (version == ISPFW_VERSION) {
|
#endif
|
||||||
switch (devid) {
|
#if defined(ISP_2300)
|
||||||
case PCI_PRODUCT_QLOGIC_ISP1020:
|
RMACRO(isp_2300);
|
||||||
if (tgtmode)
|
#endif
|
||||||
rp = isp_1040_risc_code_it;
|
#if defined(ISP_2322)
|
||||||
else
|
RMACRO(isp_2322);
|
||||||
rp = isp_1040_risc_code;
|
|
||||||
break;
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP1080:
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP1240:
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP1280:
|
|
||||||
if (tgtmode)
|
|
||||||
rp = isp_1080_risc_code_it;
|
|
||||||
else
|
|
||||||
rp = isp_1080_risc_code;
|
|
||||||
break;
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP10160:
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP12160:
|
|
||||||
if (tgtmode)
|
|
||||||
rp = isp_12160_risc_code_it;
|
|
||||||
else
|
|
||||||
rp = isp_12160_risc_code;
|
|
||||||
break;
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP2100:
|
|
||||||
rp = isp_2100_risc_code;
|
|
||||||
break;
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP2200:
|
|
||||||
rp = isp_2200_risc_code;
|
|
||||||
break;
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP2300:
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP2312:
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP6312:
|
|
||||||
rp = isp_2300_risc_code;
|
|
||||||
break;
|
|
||||||
case PCI_PRODUCT_QLOGIC_ISP2322:
|
|
||||||
rp = isp_2322_risc_code;
|
|
||||||
break;
|
|
||||||
#ifdef __sparc64__
|
|
||||||
case SBUS_PRODUCT_QLOGIC_ISP1000:
|
|
||||||
if (tgtmode)
|
|
||||||
break;
|
|
||||||
rp = isp_1000_risc_code;
|
|
||||||
break;
|
|
||||||
#endif
|
#endif
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (rp && addcaller(ptrp)) {
|
|
||||||
*ptrp = rp;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
isp_module_handler(module_t mod, int what, void *arg)
|
|
||||||
{
|
|
||||||
switch (what) {
|
|
||||||
case MOD_LOAD:
|
|
||||||
isp_get_firmware_p = isp_get_firmware;
|
|
||||||
break;
|
|
||||||
case MOD_UNLOAD:
|
|
||||||
isp_get_firmware_p = NULL;
|
|
||||||
if (ncallers) {
|
|
||||||
int i;
|
|
||||||
for (i = 0; i < ncallers; i++) {
|
|
||||||
*callp[i] = NULL;
|
|
||||||
}
|
|
||||||
free(callp, M_DEVBUF);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
return (EOPNOTSUPP);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
do_unload_fw(void)
|
||||||
|
{
|
||||||
|
#if defined(ISP_1000)
|
||||||
|
UMACRO(isp_1000);
|
||||||
|
#elif defined(ISP_1040)
|
||||||
|
UMACRO(isp_1040);
|
||||||
|
#elif defined(ISP_1040_IT)
|
||||||
|
UMACRO(isp_1040_it);
|
||||||
|
#elif defined(ISP_1080)
|
||||||
|
UMACRO(isp_1080);
|
||||||
|
#elif defined(ISP_1080_IT)
|
||||||
|
UMACRO(isp_1080_it);
|
||||||
|
#elif defined(ISP_12160)
|
||||||
|
UMACRO(isp_12160);
|
||||||
|
#elif defined(ISP_12160_IT)
|
||||||
|
UMACRO(isp_12160_it);
|
||||||
|
#elif defined(ISP_2100)
|
||||||
|
UMACRO(isp_2100);
|
||||||
|
#elif defined(ISP_2200)
|
||||||
|
UMACRO(isp_2200);
|
||||||
|
#elif defined(ISP_2300)
|
||||||
|
UMACRO(isp_2300);
|
||||||
|
#elif defined(ISP_2322)
|
||||||
|
UMACRO(isp_2322);
|
||||||
|
#endif
|
||||||
|
return (0);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
module_handler(module_t mod, int what, void *arg)
|
||||||
|
{
|
||||||
|
int r;
|
||||||
|
switch (what) {
|
||||||
|
case MOD_LOAD:
|
||||||
|
r = do_load_fw();
|
||||||
|
break;
|
||||||
|
case MOD_UNLOAD:
|
||||||
|
r = do_unload_fw();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
r = EOPNOTSUPP;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return (r);
|
||||||
|
}
|
||||||
static moduledata_t ispfw_mod = {
|
static moduledata_t ispfw_mod = {
|
||||||
"ispfw", isp_module_handler, NULL
|
MODULE_NAME, module_handler, NULL
|
||||||
};
|
};
|
||||||
DECLARE_MODULE(ispfw, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
#ifndef KLD_MODULE
|
||||||
MODULE_VERSION(ispfw, ISPFW_VERSION);
|
DECLARE_MODULE(isp, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
MODULE_DEPEND(ispfw, isp, 1, 1, 1);
|
#else
|
||||||
|
#if defined(ISP_1000)
|
||||||
|
DECLARE_MODULE(isp_1000, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_1040)
|
||||||
|
DECLARE_MODULE(isp_1040, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_1040_IT)
|
||||||
|
DECLARE_MODULE(isp_1040_it, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_1080)
|
||||||
|
DECLARE_MODULE(isp_1080, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_1080_IT)
|
||||||
|
DECLARE_MODULE(isp_1080_it, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_12160)
|
||||||
|
DECLARE_MODULE(isp_12160, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_12160_IT)
|
||||||
|
DECLARE_MODULE(isp_12160_IT, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_2100)
|
||||||
|
DECLARE_MODULE(isp_2100, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_2200)
|
||||||
|
DECLARE_MODULE(isp_2200, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_2300)
|
||||||
|
DECLARE_MODULE(isp_2300, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#elif defined(ISP_2322)
|
||||||
|
DECLARE_MODULE(isp_2322, ispfw_mod, SI_SUB_DRIVERS, SI_ORDER_THIRD);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
@ -1,8 +1,45 @@
|
|||||||
# $FreeBSD$
|
#-
|
||||||
|
# Copyright (c) 2006 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: ${.CURDIR}/../../dev/ispfw
|
# $FreeBSD$
|
||||||
|
|
||||||
KMOD= ispfw
|
|
||||||
SRCS= ispfw.c
|
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
SUBDIR = ispfw
|
||||||
|
SUBDIR += isp_1040
|
||||||
|
SUBDIR += isp_1040_it
|
||||||
|
SUBDIR += isp_1080
|
||||||
|
SUBDIR += isp_1080_it
|
||||||
|
SUBDIR += isp_12160
|
||||||
|
SUBDIR += isp_12160_it
|
||||||
|
SUBDIR += isp_2100
|
||||||
|
SUBDIR += isp_2200
|
||||||
|
SUBDIR += isp_2300
|
||||||
|
SUBDIR += isp_2322
|
||||||
|
.if ${MACHINE_ARCH} == "sparc64"
|
||||||
|
SUBDIR += isp_1000
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.subdir.mk>
|
||||||
|
36
sys/modules/ispfw/isp_1000/Makefile
Normal file
36
sys/modules/ispfw/isp_1000/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_1000
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_1000 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_1040/Makefile
Normal file
36
sys/modules/ispfw/isp_1040/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_1040
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_1040 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_1040_it/Makefile
Normal file
36
sys/modules/ispfw/isp_1040_it/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_1040_it
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_1040_IT -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_1080/Makefile
Normal file
36
sys/modules/ispfw/isp_1080/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_1080
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_1080 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_1080_it/Makefile
Normal file
36
sys/modules/ispfw/isp_1080_it/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_1080_it
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_1080_IT -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_12160/Makefile
Normal file
36
sys/modules/ispfw/isp_12160/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_12160
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_12160 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_12160_it/Makefile
Normal file
36
sys/modules/ispfw/isp_12160_it/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_12160_it
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_12160_IT -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_2100/Makefile
Normal file
36
sys/modules/ispfw/isp_2100/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_2100
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_2100 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_2200/Makefile
Normal file
36
sys/modules/ispfw/isp_2200/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_2200
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_2200 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_2300/Makefile
Normal file
36
sys/modules/ispfw/isp_2300/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_2300
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_2300 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/isp_2322/Makefile
Normal file
36
sys/modules/ispfw/isp_2322/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= isp_2322
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_2322 -DMODULE_NAME=\"${KMOD}\"
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
36
sys/modules/ispfw/ispfw/Makefile
Normal file
36
sys/modules/ispfw/ispfw/Makefile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#-
|
||||||
|
# Copyright (c) 2006 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.PATH: ${.CURDIR}/../../../dev/ispfw
|
||||||
|
|
||||||
|
KMOD= ispfw
|
||||||
|
SRCS= ispfw.c
|
||||||
|
|
||||||
|
CFLAGS += -DISP_ALL
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
Loading…
x
Reference in New Issue
Block a user