/* a3d_adc_open() is the gameport open routine. It refuses to serve any but cooked data.  */
static int a3d_adc_open(struct gameport *gameport, int mode)
/* a3d_adc_open() is the gameport open routine. It refuses to serve any but cooked data.  */
static int a3d_adc_open(struct gameport *gameport, int mode)
{
	struct a3d *a3d = gameport->port_data;
	if (mode != GAMEPORT_MODE_COOKED)
		return -1;
	gameport_start_polling(a3d->gameport);
	return 0;
}