STRUCT CCWGROUP_DRIV(9) The ccwgroup bus STRUCT CCWGROUP_DRIV(9)NAME
struct_ccwgroup_driver - driver for ccw group devices
SYNOPSIS
struct ccwgroup_driver {
int (* setup) (struct ccwgroup_device *);
void (* remove) (struct ccwgroup_device *);
int (* set_online) (struct ccwgroup_device *);
int (* set_offline) (struct ccwgroup_device *);
void (* shutdown) (struct ccwgroup_device *);
int (* prepare) (struct ccwgroup_device *);
void (* complete) (struct ccwgroup_device *);
int (* freeze) (struct ccwgroup_device *);
int (* thaw) (struct ccwgroup_device *);
int (* restore) (struct ccwgroup_device *);
struct device_driver driver;
};
MEMBERS
setup
function called during device creation to setup the device
remove
function called on remove
set_online
function called when device is set online
set_offline
function called when device is set offline
shutdown
function called when device is shut down
prepare
prepare for pm state transition
complete
undo work done in prepare
freeze
callback for freezing during hibernation snapshotting
thaw
undo work done in freeze
restore
callback for restoring after hibernation
driver
embedded driver structure
AUTHOR
Cornelia Huck <cornelia.huck@de.ibm.com>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT CCWGROUP_DRIV(9)
Check Out this Related Man Page
STRUCT CCWGROUP_DRIV(9) The ccwgroup bus STRUCT CCWGROUP_DRIV(9)NAME
struct_ccwgroup_driver - driver for ccw group devices
SYNOPSIS
struct ccwgroup_driver {
struct module * owner;
char * name;
int max_slaves;
unsigned long driver_id;
int (* probe) (struct ccwgroup_device *);
void (* remove) (struct ccwgroup_device *);
int (* set_online) (struct ccwgroup_device *);
int (* set_offline) (struct ccwgroup_device *);
void (* shutdown) (struct ccwgroup_device *);
int (* prepare) (struct ccwgroup_device *);
void (* complete) (struct ccwgroup_device *);
int (* freeze) (struct ccwgroup_device *);
int (* thaw) (struct ccwgroup_device *);
int (* restore) (struct ccwgroup_device *);
struct device_driver driver;
};
MEMBERS
owner
driver owner
name
driver name
max_slaves
maximum number of slave devices
driver_id
unique id
probe
function called on probe
remove
function called on remove
set_online
function called when device is set online
set_offline
function called when device is set offline
shutdown
function called when device is shut down
prepare
prepare for pm state transition
complete
undo work done in prepare
freeze
callback for freezing during hibernation snapshotting
thaw
undo work done in freeze
restore
callback for restoring after hibernation
driver
embedded driver structure
AUTHOR
Cornelia Huck <cornelia.huck@de.ibm.com>
Author.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 STRUCT CCWGROUP_DRIV(9)
Hi, everybody
I have next problem...
1) My Example program code
void main()
{
int fd;
int len;
int buf;
fd=open("mydev", O_RDONLY);
lseek(fd, 0, SEEK_SET);
len=read(fd, buf, sizeof(buf));
}
2) My Example Driver code
static int mydev_read(dev_t dev, ?, ?, struct uio* uio)
{... (0 Replies)
I receive an integer as argument for a function.
within function definition i want it to be of type struct tm.
eg..
main()
{
int a;
......
}
function(...,..,a,..)
int a;
{
struct tm tm;
if(!a)
^ time(&a);
^ ... (4 Replies)
Hello
I need to remove a device (tape rmt0) for to put dinamic in another lpar but when I try to remove I get the next message
I try also If there are some process about it but nothing. and before that the device was available and I put on defined status but the same thing I canīt remove it.... (3 Replies)
Hi
I like to sit for the exam Test 190: AIX Basic Operations V5. Could any one tell me how to prepare for that. It would be very helpful if I get a PDF. I have searched at redbooks.ibm.com but get nothing.
thanks in advance
suman (2 Replies)
I shutdown my sco 5.0.7 machine about a month and a half ago and upon bringing it back up got the following kernel panic:
Panic: k_trap - Kernel mode trap type0x0000000E
Unable to freeze processor 2, proceeding....
Cannot dump ?????? pages (I don't remember how many pages it was)
Dump not... (0 Replies)
Dear community, as already done tons of times, I prepare the RedHat installation on VMWare, then clone it with clonezilla, and finally restore it on final server. Due to different hrdware, I have to boot from rhel-server-7.4-x86_64-boot.iso cd and rewrite the initramfs that contains the hardware... (3 Replies)