Lines Matching defs:parport
17 * parport-sharing awareness code by Philip Blundell.
53 static const char version[] = "NET3 PLIP version 2.4-parport gniibe@mri.co.jp\n";
107 #include <linux/parport.h>
227 struct parport *port =
237 struct parport *port =
245 struct parport *port =
253 struct parport *port =
276 PLIP is rather weird, because of the way it interacts with the parport
1233 static int parport[PLIP_MAX] = { [0 ... PLIP_MAX-1] = -1 };
1236 module_param_array(parport, int, NULL, 0);
1238 MODULE_PARM_DESC(parport, "List of parport device numbers to use by plip");
1252 /* plip_attach() is called (by the parport code) when a port is
1254 static void plip_attach (struct parport *port)
1262 if ((parport[0] == -1 && (!timid || !port->devices)) ||
1263 plip_searchfor(parport, port->number)) {
1326 /* plip_detach() is called (by the parport code) when a port is
1328 static void plip_detach (struct parport *port)
1383 if (!strncmp(str, "parport", 7)) {
1386 parport[parport_ptr++] = n;
1395 parport[0] = -2;
1410 if (parport[0] == -2)
1413 if (parport[0] != -1 && timid) {