|
@@ -41,14 +41,12 @@
|
|
#include <linux/mii.h>
|
|
#include <linux/mii.h>
|
|
#include <linux/ethtool.h>
|
|
#include <linux/ethtool.h>
|
|
#include <linux/if_vlan.h>
|
|
#include <linux/if_vlan.h>
|
|
-#include <linux/pm_qos_params.h>
|
|
|
|
|
|
|
|
#include "igbvf.h"
|
|
#include "igbvf.h"
|
|
|
|
|
|
#define DRV_VERSION "1.0.0-k0"
|
|
#define DRV_VERSION "1.0.0-k0"
|
|
char igbvf_driver_name[] = "igbvf";
|
|
char igbvf_driver_name[] = "igbvf";
|
|
const char igbvf_driver_version[] = DRV_VERSION;
|
|
const char igbvf_driver_version[] = DRV_VERSION;
|
|
-static struct pm_qos_request_list igbvf_driver_pm_qos_req;
|
|
|
|
static const char igbvf_driver_string[] =
|
|
static const char igbvf_driver_string[] =
|
|
"Intel(R) Virtual Function Network Driver";
|
|
"Intel(R) Virtual Function Network Driver";
|
|
static const char igbvf_copyright[] = "Copyright (c) 2009 Intel Corporation.";
|
|
static const char igbvf_copyright[] = "Copyright (c) 2009 Intel Corporation.";
|
|
@@ -2904,8 +2902,6 @@ static int __init igbvf_init_module(void)
|
|
printk(KERN_INFO "%s\n", igbvf_copyright);
|
|
printk(KERN_INFO "%s\n", igbvf_copyright);
|
|
|
|
|
|
ret = pci_register_driver(&igbvf_driver);
|
|
ret = pci_register_driver(&igbvf_driver);
|
|
- pm_qos_add_request(&igbvf_driver_pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
|
|
|
|
- PM_QOS_DEFAULT_VALUE);
|
|
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
@@ -2920,7 +2916,6 @@ module_init(igbvf_init_module);
|
|
static void __exit igbvf_exit_module(void)
|
|
static void __exit igbvf_exit_module(void)
|
|
{
|
|
{
|
|
pci_unregister_driver(&igbvf_driver);
|
|
pci_unregister_driver(&igbvf_driver);
|
|
- pm_qos_remove_request(&igbvf_driver_pm_qos_req);
|
|
|
|
}
|
|
}
|
|
module_exit(igbvf_exit_module);
|
|
module_exit(igbvf_exit_module);
|
|
|
|
|