Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
staging
rtl8192u
r8180_pm.c
Go to the documentation of this file.
1
/*
2
Power management interface routines.
3
Written by Mariusz Matuszek.
4
This code is currently just a placeholder for later work and
5
does not do anything useful.
6
7
This is part of rtl8180 OpenSource driver.
8
Copyright (C) Andrea Merello 2004 <
[email protected]
>
9
Released under the terms of GPL (General Public Licence)
10
*/
11
12
#ifdef CONFIG_RTL8180_PM
13
14
15
#include "
r8180_hw.h
"
16
#include "
r8180_pm.h
"
17
18
int
rtl8180_save_state (
struct
pci_dev
*
dev
,
u32
state
)
19
{
20
printk
(
KERN_NOTICE
"r8180 save state call (state %u).\n"
, state);
21
return
(-
EAGAIN
);
22
}
23
24
25
int
rtl8180_suspend (
struct
pci_dev
*dev,
u32
state)
26
{
27
printk
(
KERN_NOTICE
"r8180 suspend call (state %u).\n"
, state);
28
return
(-
EAGAIN
);
29
}
30
31
32
int
rtl8180_resume (
struct
pci_dev
*dev)
33
{
34
printk
(
KERN_NOTICE
"r8180 resume call.\n"
);
35
return
(-
EAGAIN
);
36
}
37
38
39
int
rtl8180_enable_wake (
struct
pci_dev
*dev,
u32
state,
int
enable
)
40
{
41
printk
(
KERN_NOTICE
"r8180 enable wake call (state %u, enable %d).\n"
,
42
state, enable);
43
return
(-
EAGAIN
);
44
}
45
46
47
48
#endif //CONFIG_RTL8180_PM
Generated on Thu Jan 10 2013 14:30:58 for Linux Kernel by
1.8.2