#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/sysctl.h>
#include <linux/slab.h>
#include <linux/acpi.h>
#include <acpi/acpi_bus.h>
#include <linux/completion.h>
#include <linux/hyperv.h>
#include <asm/hyperv.h>
#include <asm/hypervisor.h>
#include "hyperv_vmbus.h"
Go to the source code of this file.
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
__vmbus_child_driver_register - Register a vmbus's driver : Pointer to driver structure you want to register : owner module of the drv : module name string
Registers the given driver with Linux through the 'driver_register()' call and sets up the hyper-v vmbus handling for this driver. It will return the state of the 'driver_register()' call.
Definition at line 561 of file vmbus_drv.c.
MODULE_DEVICE_TABLE |
( |
acpi |
, |
|
|
vmbus_acpi_device_ids |
|
|
) |
| |
module_exit |
( |
vmbus_exit |
| ) |
|
MODULE_VERSION |
( |
HV_DRV_VERSION |
| ) |
|
subsys_initcall |
( |
hv_acpi_init |
| ) |
|
int vmbus_device_register |
( |
struct hv_device * |
child_device_obj | ) |
|
void vmbus_device_unregister |
( |
struct hv_device * |
device_obj | ) |
|
void vmbus_driver_unregister |
( |
struct hv_driver * |
hv_driver | ) |
|
vmbus_driver_unregister() - Unregister a vmbus's driver : Pointer to driver structure you want to un-register
Un-register the given driver that was previous registered with a call to vmbus_driver_register()
Definition at line 591 of file vmbus_drv.c.