Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/block/paride/
Dparide.c43 #define MAX_PROTOS 32 macro
45 static struct pi_protocol *protocols[MAX_PROTOS];
211 for (k=0;k<MAX_PROTOS;k++) in pi_register()
217 while((k<MAX_PROTOS) && (protocols[k])) k++; in pi_register()
218 if (k == MAX_PROTOS) { in pi_register()
351 e = MAX_PROTOS; in pi_init()
352 } else if ((s < 0) || (s >= MAX_PROTOS) || (port <= 0) || in pi_init()
424 for (k=0;k<MAX_PROTOS;k++) protocols[k] = 0; in init_module()