Linux-kernel mailing list archive 2000-40,: Re: Inter-device-driver communication?

# Re: Inter-device-driver communication?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 2 Oct 2000 22:22:15 +0100 (BST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Alan Cox: "Re: [PATCH] 2.2.18pre13: eepro100 debug tweaks"
- Previous message: Dunlap, Randy: "RE: [PATCH] 2.2.18pre13: USB tweak for VAIO"
- In reply to: Timur Tabi: "Re: Inter-device-driver communication?"

> pointers mostly point to buffers of about 1-8KB. Since the kernel is
> monolothic, I don't expect there to be a need to translate virtual addresses.

Correct

> As for how often, these calls are made probably as much as 50 times a second,
> but irregularly. One of the drivers involved is attached to the VM, so it will
> need to pass data along as often as the VM is called.

Just declare some kind of shared structure or pointer and EXPORT_SYMBOL them
to the other driver. You can write wrapper functions if you want to be neat
but thats your choice

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

- Next message: Alan Cox: "Re: [PATCH] 2.2.18pre13: eepro100 debug tweaks"
- Previous message: Dunlap, Randy: "RE: [PATCH] 2.2.18pre13: USB tweak for VAIO"
- In reply to: Timur Tabi: "Re: Inter-device-driver communication?"