config root man

Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/s3/@/amd64/compile/hs32/modules/usr/src/sys/modules/usb/usie/@/amd64/compile/hs32/modules/usr/src/sys/modules/oce/@/amd64/compile/hs32/modules/usr/src/sys/modules/ahci/@/amd64/compile/hs32/modules/usr/src/sys/modules/mwlfw/

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/s3/@/amd64/compile/hs32/modules/usr/src/sys/modules/usb/usie/@/amd64/compile/hs32/modules/usr/src/sys/modules/oce/@/amd64/compile/hs32/modules/usr/src/sys/modules/ahci/@/amd64/compile/hs32/modules/usr/src/sys/modules/mwlfw/mw88W8363fw.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>

extern char _binary_mw88W8363_fw_start[], _binary_mw88W8363_fw_end[];
extern char _binary_mwlboot_fw_start[], _binary_mwlboot_fw_end[];

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

		fp = firmware_register("mw88W8363fw", _binary_mw88W8363_fw_start , (size_t)(_binary_mw88W8363_fw_end - _binary_mw88W8363_fw_start), 0, NULL);
		if (fp == NULL)
			goto fail_0;
		parent = fp;
		fp = firmware_register("mwlboot", _binary_mwlboot_fw_start , (size_t)(_binary_mwlboot_fw_end - _binary_mwlboot_fw_start), 0, parent);
		if (fp == NULL)
			goto fail_1;
		return (0);
fail_1:
		(void)firmware_unregister("mw88W8363fw");
	fail_0:
		return (ENXIO);
	case MOD_UNLOAD:
		error = firmware_unregister("mwlboot");
		if (error)
			return (error);
		error = firmware_unregister("mw88W8363fw");
		return (error);
	}
	return (EINVAL);
}

static moduledata_t mw88W8363fw_fw_mod = {
        "mw88W8363fw_fw",
        mw88W8363fw_fw_modevent,
        0
};
DECLARE_MODULE(mw88W8363fw_fw, mw88W8363fw_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);
MODULE_VERSION(mw88W8363fw_fw, 1);
MODULE_DEPEND(mw88W8363fw_fw, firmware, 1, 1, 1);


Man Man