kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * Set up a read request that reads up to 160 byte from the 3215 device.
 */
Set up a read request that reads up to 160 byte from the 3215 device.
Set up a read request that reads up to 160 byte from the 3215 device .
static void raw3215_mk_read_ccw(raw3215_info *raw, raw3215_req *req)
{
	ccw1_t *ccw;
	ccw = req->ccws;
	ccw->cmd_code = 0x0A; 
	ccw->flags = 0x20;    
	ccw->count = 160;
	ccw->cda = (void *) virt_to_phys(raw->inbuf);
}
static void raw3215_mk_read_ccw ( raw3215_info * raw , raw3215_req * req ) { ccw1_t * ccw ; ccw = req -> ccws ; ccw -> cmd_code = 0x0A ; ccw -> flags = 0x20 ; ccw -> count = 160 ; ccw -> cda = ( void * ) virt_to_phys ( raw -> inbuf ) ; }
Set up a read request that reads up to 160 byte from the 3215 device.
Set up a read request that reads up to 160 byte from the 3215 device .
/* read inquiry */ /* ignore incorrect length */