13049
13050 #ifdef UNIQUE_FW_NAME
13051 uint32_t fw8100midq_length02 = 0x0000260f;
13052 #else
13053 uint32_t risc_code_length02 = 0x0000260f;
13054 #endif
13055
13056 /*
13057 * Common Solaris kernel module linkage code added at the end of
13058 * each QLogic ql_fw_*.c to form the solaris qlc_fw_*.c file.
13059 */
13060
13061 #include <sys/modctl.h>
13062
13063 static struct modlmisc modlmisc = {
13064 &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
13065 };
13066
13067 static struct modlinkage modlinkage = {
13068 MODREV_1,
13069 (void *)&modlmisc
13070 };
13071
13072 int
13073 _init()
13074 {
13075 return (mod_install(&modlinkage));
13076 }
13077
13078 int
13079 _fini()
13080 {
13081 return (mod_remove(&modlinkage));
13082 }
13083
13084 int
13085 _info(struct modinfo *mip)
13086 {
13087 return (mod_info(&modlinkage, mip));
13088 }
|
13049
13050 #ifdef UNIQUE_FW_NAME
13051 uint32_t fw8100midq_length02 = 0x0000260f;
13052 #else
13053 uint32_t risc_code_length02 = 0x0000260f;
13054 #endif
13055
13056 /*
13057 * Common Solaris kernel module linkage code added at the end of
13058 * each QLogic ql_fw_*.c to form the solaris qlc_fw_*.c file.
13059 */
13060
13061 #include <sys/modctl.h>
13062
13063 static struct modlmisc modlmisc = {
13064 &mod_miscops, "SunFC Qlogic FCA-FW " FW_VERSION_STRING
13065 };
13066
13067 static struct modlinkage modlinkage = {
13068 MODREV_1,
13069 { (void *)&modlmisc, NULL }
13070 };
13071
13072 int
13073 _init()
13074 {
13075 return (mod_install(&modlinkage));
13076 }
13077
13078 int
13079 _fini()
13080 {
13081 return (mod_remove(&modlinkage));
13082 }
13083
13084 int
13085 _info(struct modinfo *mip)
13086 {
13087 return (mod_info(&modlinkage, mip));
13088 }
|