config root man

Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/libalias/modules/irc/@/amd64/compile/hs32/modules/usr/src/sys/modules/nfsclient/@/amd64/compile/hs32/modules/usr/src/sys/modules/if_gif/@/amd64/compile/hs32/modules/usr/src/sys/modules/iwifw/iwi_ibss/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //sys/amd64/compile/hs32/modules/usr/src/sys/modules/libalias/modules/irc/@/amd64/compile/hs32/modules/usr/src/sys/modules/nfsclient/@/amd64/compile/hs32/modules/usr/src/sys/modules/if_gif/@/amd64/compile/hs32/modules/usr/src/sys/modules/iwifw/iwi_ibss/iwi_ibss.c

/*
 * Automatically generated by:
 * $FreeBSD: release/9.1.0/sys/tools/fw_stub.awk 220227 2011-03-31 21:33:33Z rstone $
 */
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/linker.h>
#include <sys/firmware.h>
#include <sys/systm.h>

static long intel_iwi_license_ack = 0;
extern char _binary_iwi_ibss_start[], _binary_iwi_ibss_end[];

static int
iwi_ibss_fw_modevent(module_t mod, int type, void *unused)
{
	const struct firmware *fp, *parent;
	int error;
	switch (type) {
	case MOD_LOAD:


		TUNABLE_LONG_FETCH("legal.intel_iwi.license_ack", &intel_iwi_license_ack);
		if (!intel_iwi_license_ack) {
			printf("iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/.\n");
			printf("iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.\n");
			return(EPERM);
		}

		fp = firmware_register("iwi_ibss", _binary_iwi_ibss_start , (size_t)(_binary_iwi_ibss_end - _binary_iwi_ibss_start), 300, NULL);
		if (fp == NULL)
			goto fail_0;
		parent = fp;
		return (0);
	fail_0:
		return (ENXIO);
	case MOD_UNLOAD:
		error = firmware_unregister("iwi_ibss");
		return (error);
	}
	return (EINVAL);
}

static moduledata_t iwi_ibss_fw_mod = {
        "iwi_ibss_fw",
        iwi_ibss_fw_modevent,
        0
};
DECLARE_MODULE(iwi_ibss_fw, iwi_ibss_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);
MODULE_VERSION(iwi_ibss_fw, 1);
MODULE_DEPEND(iwi_ibss_fw, firmware, 1, 1, 1);


Man Man