config root man

Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/usb/urtw/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/ip_input/@/amd64/compile/hs32/modules/usr/src/sys/modules/usb/uslcom/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/ether/@/amd64/compile/hs32/

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/usb/urtw/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/ip_input/@/amd64/compile/hs32/modules/usr/src/sys/modules/usb/uslcom/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/ether/@/amd64/compile/hs32/ata_if.c

/*
 * This file is produced automatically.
 * Do not modify anything in here by hand.
 *
 * Created from source file
 *   ../../../dev/ata/ata_if.m
 * with
 *   makeobjops.awk
 *
 * See the source file for legal information
 */

#include <sys/param.h>
#include <sys/queue.h>
#include <sys/kernel.h>
#include <sys/kobj.h>
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/callout.h>
#include <sys/sema.h>
#include <sys/taskqueue.h>
#include <vm/uma.h>
#include <machine/bus.h>
#include <sys/ata.h>
#include <dev/ata/ata-all.h>
#include "ata_if.h"


static int ata_null_locking(device_t dev, int mode)
{
    struct ata_channel *ch = device_get_softc(dev);

    return ch->unit;
}

struct kobj_method ata_locking_method_default = {
	&ata_locking_desc, (kobjop_t) ata_null_locking
};

struct kobjop_desc ata_locking_desc = {
	0, &ata_locking_method_default
};


static int ata_null_setmode(device_t dev, int target, int mode)
{

	if (mode > ATA_PIO_MAX)
		return (ATA_PIO_MAX);
	return (mode);
}

struct kobj_method ata_setmode_method_default = {
	&ata_setmode_desc, (kobjop_t) ata_null_setmode
};

struct kobjop_desc ata_setmode_desc = {
	0, &ata_setmode_method_default
};


static int ata_null_getrev(device_t dev, int target)
{
	return (0);
}

struct kobj_method ata_getrev_method_default = {
	&ata_getrev_desc, (kobjop_t) ata_null_getrev
};

struct kobjop_desc ata_getrev_desc = {
	0, &ata_getrev_method_default
};

struct kobj_method ata_reset_method_default = {
	&ata_reset_desc, (kobjop_t) ata_generic_reset
};

struct kobjop_desc ata_reset_desc = {
	0, &ata_reset_method_default
};

struct kobj_method ata_reinit_method_default = {
	&ata_reinit_desc, (kobjop_t) kobj_error_method
};

struct kobjop_desc ata_reinit_desc = {
	0, &ata_reinit_method_default
};


Man Man