42
43 return (NULL);
44 #else
45
46 return (keyspan_usa49wlc_firmware);
47 #endif
48 }
49
50 extern struct mod_ops mod_miscops;
51
52 static struct modlmisc modlmisc = {
53 #ifdef KEYSPAN_NO_FIRMWARE_SOURCE
54 &mod_miscops, "Placeholder module for the firmware of Keyspan"
55 " usb2serial adapter (usa49wlc)"
56 #else
57 &mod_miscops, "Firmware for Keyspan usb2serial adapter (usa49wlc)"
58 #endif
59 };
60
61 static struct modlinkage modlinkage = {
62 MODREV_1, (void *)&modlmisc, NULL
63 };
64
65 int
66 _init(void)
67 {
68 return (mod_install(&modlinkage));
69 }
70
71
72 int
73 _fini(void)
74 {
75 return (mod_remove(&modlinkage));
76 }
77
78
79 int
80 _info(struct modinfo *modinfop)
81 {
82 return (mod_info(&modlinkage, modinfop));
|
42
43 return (NULL);
44 #else
45
46 return (keyspan_usa49wlc_firmware);
47 #endif
48 }
49
50 extern struct mod_ops mod_miscops;
51
52 static struct modlmisc modlmisc = {
53 #ifdef KEYSPAN_NO_FIRMWARE_SOURCE
54 &mod_miscops, "Placeholder module for the firmware of Keyspan"
55 " usb2serial adapter (usa49wlc)"
56 #else
57 &mod_miscops, "Firmware for Keyspan usb2serial adapter (usa49wlc)"
58 #endif
59 };
60
61 static struct modlinkage modlinkage = {
62 MODREV_1, { (void *)&modlmisc, NULL }
63 };
64
65 int
66 _init(void)
67 {
68 return (mod_install(&modlinkage));
69 }
70
71
72 int
73 _fini(void)
74 {
75 return (mod_remove(&modlinkage));
76 }
77
78
79 int
80 _info(struct modinfo *modinfop)
81 {
82 return (mod_info(&modlinkage, modinfop));
|