STRUCT CCW_DRIVER(9) The ccw bus STRUCT CCW_DRIVER(9)NAME
struct_ccw_driver - device driver for channel attached devices
SYNOPSIS
struct ccw_driver {
struct module * owner;
struct ccw_device_id * ids;
int (* probe) (struct ccw_device *);
void (* remove) (struct ccw_device *);
int (* set_online) (struct ccw_device *);
int (* set_offline) (struct ccw_device *);
int (* notify) (struct ccw_device *, int);
void (* shutdown) (struct ccw_device *);
int (* prepare) (struct ccw_device *);
void (* complete) (struct ccw_device *);
int (* freeze) (struct ccw_device *);
int (* thaw) (struct ccw_device *);
int (* restore) (struct ccw_device *);
struct device_driver driver;
char * name;
};
MEMBERS
owner
owning module
ids
ids supported by this driver
probe
function called on probe
remove
function called on remove
set_online
called when setting device online
set_offline
called when setting device offline
notify
notify driver of device state changes
shutdown
called at device shutdown
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 device driver structure
name
device driver name
AUTHOR
Cornelia Huck <cornelia.huck@de.ibm.com>
Author.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 STRUCT CCW_DRIVER(9)
Check Out this Related Man Page
STRUCT CCW_DRIVER(9) The ccw bus STRUCT CCW_DRIVER(9)NAME
struct_ccw_driver - device driver for channel attached devices
SYNOPSIS
struct ccw_driver {
struct ccw_device_id * ids;
int (* probe) (struct ccw_device *);
void (* remove) (struct ccw_device *);
int (* set_online) (struct ccw_device *);
int (* set_offline) (struct ccw_device *);
int (* notify) (struct ccw_device *, int);
void (* path_event) (struct ccw_device *, int *);
void (* shutdown) (struct ccw_device *);
int (* prepare) (struct ccw_device *);
void (* complete) (struct ccw_device *);
int (* freeze) (struct ccw_device *);
int (* thaw) (struct ccw_device *);
int (* restore) (struct ccw_device *);
enum uc_todo (* uc_handler) (struct ccw_device *, struct irb *);
struct device_driver driver;
enum interruption_class int_class;
};
MEMBERS
ids
ids supported by this driver
probe
function called on probe
remove
function called on remove
set_online
called when setting device online
set_offline
called when setting device offline
notify
notify driver of device state changes
path_event
notify driver of channel path events
shutdown
called at device shutdown
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
uc_handler
callback for unit check handler
driver
embedded device driver structure
int_class
interruption class to use for accounting interrupts
AUTHOR
Cornelia Huck <cornelia.huck@de.ibm.com>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT CCW_DRIVER(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)
Hi all, below is my PERL script
$ids = $dbh->prepare ("select * from tableA");
$ids->execute();
$names = $ids->fetchall_arrayref();
print " Total valid ids is $#names \n"; Table only has 1 column, approx 400 rows
the value of $#names is -1. Would anyone point out what could have caused the... (1 Reply)
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)
hey,
I have text file which has some data for some device Id's. i want to perform AVG, MAX,2nd MAX on these device ids. The .txt file looks like below. please help me in finding the computations per Device id. My output file should contatin with DeviceID,Avg, max and 2nd max of the device ID.... (8 Replies)