15661
15662 #ifdef UNIQUE_FW_NAME
15663 uint32_t fw2400mid_length02 = 0x0000364b;
15664 #else
15665 uint32_t risc_code_length02 = 0x0000364b;
15666 #endif
15667
15668 /*
15669 * Common Solaris kernel module linkage code added at the end of
15670 * each QLogic ql_fw_*.c to form the solaris qlc_fw_*.c file.
15671 */
15672
15673 #include <sys/modctl.h>
15674
15675 static struct modlmisc modlmisc = {
15676 &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
15677 };
15678
15679 static struct modlinkage modlinkage = {
15680 MODREV_1,
15681 (void *)&modlmisc
15682 };
15683
15684 int
15685 _init()
15686 {
15687 return (mod_install(&modlinkage));
15688 }
15689
15690 int
15691 _fini()
15692 {
15693 return (mod_remove(&modlinkage));
15694 }
15695
15696 int
15697 _info(struct modinfo *mip)
15698 {
15699 return (mod_info(&modlinkage, mip));
15700 }
|
15661
15662 #ifdef UNIQUE_FW_NAME
15663 uint32_t fw2400mid_length02 = 0x0000364b;
15664 #else
15665 uint32_t risc_code_length02 = 0x0000364b;
15666 #endif
15667
15668 /*
15669 * Common Solaris kernel module linkage code added at the end of
15670 * each QLogic ql_fw_*.c to form the solaris qlc_fw_*.c file.
15671 */
15672
15673 #include <sys/modctl.h>
15674
15675 static struct modlmisc modlmisc = {
15676 &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
15677 };
15678
15679 static struct modlinkage modlinkage = {
15680 MODREV_1,
15681 { (void *)&modlmisc, NULL }
15682 };
15683
15684 int
15685 _init()
15686 {
15687 return (mod_install(&modlinkage));
15688 }
15689
15690 int
15691 _fini()
15692 {
15693 return (mod_remove(&modlinkage));
15694 }
15695
15696 int
15697 _info(struct modinfo *mip)
15698 {
15699 return (mod_info(&modlinkage, mip));
15700 }
|