max_pads = min(db9_max_pads[mode], DB9_MAX_DEVICES); 
max_pads = min(db9_modes[mode].n_pads, DB9_MAX_DEVICES); 
static int db9_saturn(int mode, struct parport *port, struct input_dev *dev){	unsigned char id, data[60];	int type, n, max_pads;	int tmp, i;	switch (mode) {	case DB9_SATURN_PAD:		type = 0;		n = 1;		break;	case DB9_SATURN_DPP:		type = 1;		n = 1;		break;	case DB9_SATURN_DPP_2:		type = 1;		n = 2;		break;	default:		return -1;	}	max_pads = min(db9_max_pads[mode], DB9_MAX_DEVICES);	for (tmp = 0, i = 0; i < n; i++) {		id = db9_saturn_read_packet(port, data, type + i, 1);		tmp = db9_saturn_report(id, data, dev, tmp, max_pads);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/17dd3f0f7aa729a042af5d3318ff9b3e7781b45b/db9.c/clean/drivers/input/joystick/db9.c