pci_set_master in dde linux26

Björn Döbel doebel at os.inf.tu-dresden.de
Wed Apr 7 16:33:25 CEST 2010


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAku8l7UACgkQP5ijxgQLUNlDWQCfaD+qAuD1Y1ZvdIZRwiRaIwxs
0C4AoJkRXsoZNLmBE676MgIo2+zCjJna
=H5j5
-----END PGP SIGNATURE-----





More information about the l4-hackers mailing list