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/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to