From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: CVS: alsa-kernel/pci/ymfpci ymfpci.c,1.29,1.30 Date: Mon, 27 Oct 2003 12:29:59 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 27 Oct 2003 12:15:16 +0100 (MET), Clemens Ladisch wrote: > > Takashi Iwai wrote: > > Log Message: > > added auto-detection of joystick port. > > ... > > + if (joystick_port[dev] == 1) { > > + /* auto-detect */ > > + long p; > > + for (p = 0x201; p <= 0x205; p++) { > > + if (p == 0x203) continue; > > + if ((joystick_res = request_region(p, 1, "YMFPCI gameport")) != NULL) > > + break; > > + } > > + if (joystick_res) > > + joystick_port[dev] = p; > > + } else { > > ... > > This auto-detection code doesn't set legacy_ctrl2, so the card > wouldn't actually use the port AFAICS. you're right. fixed now. thanks, Takashi ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/