Hi~When I run a device driver on DDE(pkg/dde/linux26/example), the result shows up that pci_set_master() and pci_disable_device is unimplement. Could you give me some advice on how to make these functions work?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Jingyi WANG wrote:
Hi~When I run a device driver on DDE(pkg/dde/linux26/example), the result shows up that pci_set_master() and pci_disable_device is unimplement. Could you give me some advice on how to make these functions work?
My first try would be to reuse the functions from the Linux kernel if you really need them.
Cheers, Bjoern
Hi,
On Tue, Oct 20, 2009 at 10:33:34AM +0200, Björn Döbel wrote:
Hello,
Jingyi WANG wrote:
Hi~When I run a device driver on DDE(pkg/dde/linux26/example), the result shows up that pci_set_master() and pci_disable_device is unimplement. Could you give me some advice on how to make these functions work?
IMO it's easy to implement these functions. Just call
* ddekit_pci_set_master * ddekit_pci_enable_device
with appropriate parameters in pkg/dde/linux26/lib/src/arch/l4/pci.c:122 ff.
My first try would be to reuse the functions from the Linux kernel if you really need them.
This may also work if l4io still does not protect the PCI configuration space properly ;-)
Cheers
l4-hackers@os.inf.tu-dresden.de