Messages in this thread | | | Date | Wed, 30 Jun 1999 18:07:38 -0300 (EST) | From | Arnaldo Carvalho de Melo <> | Subject | Re: Spinlocks: the saga |
| |
On Wed, 30 Jun 1999, Linux Lists wrote:
> On Wed, 30 Jun 1999, Arnaldo Carvalho de Melo wrote: > > > Ivan, take a look at the cyclom2x source code available from kernel > > 2.3.6+, it manages several logical channels, using spinlocks in a way > > that, I think, is similar to your needs in the cyclades Y and Z cards. 8) > > Yes, but even though you have defined a per-channel spinlock, you're using > only the general spinlock (i.e., the one that locks the whole card). I'm > trying to avoid this, as the Cyclom-Y can have up to 32 ports (devices) > and locking the whole board because of one port doesn't seem like a good > idea.
Good! At least I managed to have one more person to look at my first driver! ;> I'll take a look at this as soon as I have time, thanks for the report 8) Really it's not enough to make it work, I have to make it work in the best way possible 8)
- Arnaldo
- 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/
| |