About some unimplement functions in DDE
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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrdddwACgkQP5ijxgQLUNmQvgCeKe7wAd+cySRgFrH7/yZs15uZ 7AkAnR8eTfj8ENtePEEhr3Fr0HDlCI1Y =wQwU -----END PGP SIGNATURE-----
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 -- Christian Helmuth Genode Labs http://www.genode-labs.com/ · http://genode.org/
participants (3)
-
Björn Döbel -
Christian Helmuth -
Jingyi WANG