Home
last modified time | relevance | path

Searched refs:LP_NO (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/char/
Dlp.c140 #define LP_NO 8 macro
143 static struct lp_struct lp_table[LP_NO];
497 if (minor >= LP_NO) { in lp_open()
584 if (minor >= LP_NO) in lp_do_ioctl()
831 static int parport_nr[LP_NO] = { [0 ... LP_NO-1] = LP_PARPORT_UNSPEC };
832 static char *parport[LP_NO];
854 if (parport_ptr < LP_NO) in lp_setup()
913 if (lp_count == LP_NO) { in lp_attach()
914 printk(KERN_INFO "lp: ignoring parallel port (max. %d)\n",LP_NO); in lp_attach()
922 for (i = 0; i < LP_NO; i++) { in lp_attach()
[all …]
DKconfig117 If you have more than 8 printers, you need to increase the LP_NO