Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Single device, multiple drivers

 
   Soft32 Home -> Linux -> System Development RSS
Next:  [gentoo-user] cloning + upgrade howto?  
Author Message
cyberguijarro

External


Since: Jul 23, 2009
Posts: 1



(Msg. 1) Posted: Thu Jul 23, 2009 1:38 am
Post subject: Single device, multiple drivers
Archived from groups: comp>os>linux>development>system (more info?)

Hi everyone,

as part of an engineering project, my company is planning to develop
driver support for a multipurpose device containing:

- A general purpose graphics chipset from a well-known vendor.
- An specific purpose controller in charge of several video-related
devices (such as video encoders).

The first one will use freely available (but not opensource) drivers,
whereas the second will require us to write our own. The hardware
vendor has guaranteed us that both chipsets run independently and that
no conflict should appear because of sharing the PCI bus (each device
uses its own PCI I/O addresses).

The question is, is it a problem if two device drivers access
simultaneously to the same PCI device (but to different I/O
registers)? Is it required to have some kind of explicit arbitration
via, for instance, mutexes or does the kernel do this automatically?

Thanks in advance,
Emilio.
Back to top
Login to vote
maciek borzecki

External


Since: Jul 27, 2009
Posts: 1



(Msg. 2) Posted: Mon Jul 27, 2009 6:17 am
Post subject: Re: Single device, multiple drivers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 23, 10:38 am, cyberguijarro <cyberguija... RemoveThis @gmail.com> wrote:
>
> The question is, is it a problem if two device drivers access
> simultaneously to the same PCI device (but to different I/O
> registers)? Is it required to have some kind of explicit arbitration
> via, for instance, mutexes or does the kernel do this automatically?
I believe that this functionality is present in your PCI controller.

maciek
Back to top
Login to vote
Display posts from previous:   
Related Topics:
RFC3971 - Does anyone know if RFC3971 support is being developed for Linux? It does not seem to be implemented in the mainline..

Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....

Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....

Access shared memory from kernel module - Hi All, I wanted to know if shared memory created in user space can be accessed from a loadable kernel module. Have no...

Controlling UART transmission of bytes - I'm programming an ARM's UART that comes with a library implementing the standard unix termios interface. Regarding..

[Samba] Multiple PDCs, Single Domain - Hello, I have a rather experimental question to ask. I know that under standard circumstances, that you cannot have..
       Soft32 Home -> Linux -> System Development All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]