Re: PCI device initialization.

From: Rui Sousa (rsousa@grad.physics.sunysb.edu)
Date: Thu Mar 30 2000 - 22:52:35 EST


Brian Gerst wrote:
>
[snip]
>
> > > I have a patch for the joystick driver at
> > > http://quark.vpplus.com/~bgerst/linux/diff-gameport-99p1.gz which can
> > > autodetect PCI and PnP gameports. This is probably what you are looking
> > > for.
> >
> > The part of auto detection and IO ports reservation (request_region()) is
> > on the sound card driver, so there is a bit of a conflict here. If your
> > patches make it into the kernel then I'll remove the code from the sound card
> > driver. Your solution is definitely more general and more integrated with the
> > joystick drivers.
>
> Since the gameport on the SBLive is a seperate PCI device, the sound
> driver need not manage its resources. Other sound cards are different,
> especially those with "enhanced" gameports, which are usually buried in
> the midst of the soundcard registers.
>

But do the current joystick drivers (2.3.99pre3) do this for me? Or you
expect your patch to be in the kernel real soon? I'll be glad to remove
the joystick initialization code from the sound card driver as soon as
there is another (working) solution.

Rui Sousa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:28 EST