-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
On 10-4-7 下午4:30, Björn Döbel wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
We tried to run the e100 driver with the hurd porting of dde linux26, but got one problem, i.e., pci_set_master() hasn't been implemented. In linux26/lib/src/arch/l4/pci.c, void pci_set_master(struct pci_dev *dev) { CHECK_INITVAR(dde26_pci); WARN_UNIMPL; }
Were there any reasons that pci_set_master() was implemented? It seems pci_set_master() only needs to read or write the PCI configuration space.
obviously we didn't need this feature yet. Feel free to add it.
OK, I see. Does DDE Linux26 works with drivers using MMIO? I'm trying to make DDE Linux26 with e1000 driver, which uses MMIO, but have no luck.
Yes, works here.
Bjoern
Hi,
On 10-4-7 下午6:57, Björn Döbel wrote:
OK, I see. Does DDE Linux26 works with drivers using MMIO? I'm trying to make DDE Linux26 with e1000 driver, which uses MMIO, but have no luck.
Yes, works here.
Could you please tell which driver works?
Best regards, Zheng Da
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Da Zheng wrote:
Hi,
On 10-4-7 下午6:57, Björn Döbel wrote:
OK, I see. Does DDE Linux26 works with drivers using MMIO? I'm trying to make DDE Linux26 with e1000 driver, which uses MMIO, but have no luck.
Yes, works here.
Could you please tell which driver works?
e1000 from Linux 2.6.29
Bjoern
Hi,
On 10-4-7 下午9:39, Björn Döbel wrote:
OK, I see. Does DDE Linux26 works with drivers using MMIO? I'm trying to make DDE Linux26 with e1000 driver, which uses MMIO, but have no luck.
Yes, works here.
Could you please tell which driver works?
e1000 from Linux 2.6.29
Really? e1000 uses pci_set_master(). Did you compile it with the Linux version of pci_set_master()? Also there is a small bug in __kmalloc(), which doesn't set the memory allocated by ddekit_large_malloc to zero. This bug caused some problems in e1000, at least in Hurd. Could you please tell me how you compiled e1000? If e1000 can work in your DDE Linux26, it might mean my implementation of MMIO cannot work well.
Best regards, Zheng Da
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10-4-7 下午9:39, Björn Döbel wrote:
OK, I see. Does DDE Linux26 works with drivers using MMIO? I'm trying to make DDE Linux26 with e1000 driver, which uses MMIO, but have no luck.
Yes, works here.
Could you please tell which driver works?
e1000 from Linux 2.6.29
Really? e1000 uses pci_set_master(). Did you compile it with the Linux version of pci_set_master()? Also there is a small bug in __kmalloc(), which doesn't set the memory allocated by ddekit_large_malloc to zero. This bug caused some problems in e1000, at least in Hurd. Could you please tell me how you compiled e1000? If e1000 can work in your DDE Linux26, it might mean my implementation of MMIO cannot work well.
I did nothing special to compile the driver. The bug in __kmalloc() obviously did not trigger any failure here, so we didn't notice.
The missing implementation of pci_set_master() I was aware of and I'm not sure right now why the driver keeps working. This might as well indicate another problem. I'll need to check that later.
Bjoern
l4-hackers@os.inf.tu-dresden.de