Answer the question
In order to leave comments, you need to log in
What is the difference between writing a driver for a PCI device in linux and writing a driver for a PCI-E device?
I can’t find an understandable manual for writing a PCI-E device driver for Linux, all examples are for regular PCI. Of particular interest are the following points: initialization of several devices on the same bus (one master, two slaves); interrupt handling by each of them; dma mode. Please provide links to examples. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
There is no difference, but be aware that some PCI mechanisms are legacy to PCI-E, such as non-MSI(X) interrupts.
Driver example: lxr.free-electrons.com/source/drivers/net/ethernet...
Registering an interrupt handler: lxr.free-electrons.com/source/drivers/net/ethernet...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question