Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/parport.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/uaccess.h>
Go to the source code of this file.
Data Structures | |
struct | daisydev |
Macros | |
#define | DPRINTK(stuff...) |
Functions | |
int | parport_daisy_init (struct parport *port) |
void | parport_daisy_fini (struct parport *port) |
: name to associate with the device | |
parport_open - find a device by canonical device number : canonical device number This function is similar to parport_register_device(), except that it locates a device by its number rather than by the port it is attached to. All parameters except for are the same as for parport_register_device(). The return value is the same as for parport_register_device(). | |
struct pardevice * | parport_open (int devnum, const char *name) |
void | parport_close (struct pardevice *dev) |
void | parport_daisy_deselect_all (struct parport *port) |
int | parport_daisy_select (struct parport *port, int daisy, int mode) |
parport_close - close a device opened with parport_open() : device to close
This is to parport_open() as parport_unregister_device() is to parport_register_device().