Re: PCI device initialization.

From: Martin Mares (mj@suse.cz)
Date: Thu Mar 30 2000 - 16:07:24 EST


Hello!

> The sound card has a register to enable the joystick port so I need to know
> where the sound card IO ports begin (and maybe to make use of a spinlock that
> serializes hardware registers access).

   If you don't need to serialize the accesses, it should be sufficient to
lookup the sound card device from the joystick driver and don't touch the sound
card driver at all.

                                Have a nice fortnight

-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"return(EIEIO); /* Here-a-bug, There-a-bug... */"

- 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:27 EST