On Wed, 25 Jun 2014, Alexander Graf wrote:
On 03.06.14 01:34, BALATON Zoltan wrote:
Apart from the older NE2000 card also recognise RTL8139 and set bus master bit for it. This makes it work in MorphOS which uses it in a different (DMA) mode than the Linux driver.
Signed-off-by: BALATON Zoltan balaton@eik.bme.hu
Please create a helper that tells you whether it's safe to enable bus mastering (why doesn't MorphOS do this itself?) on a particular harware
On why MorphOS does not do it: good question. I guess it expects that Open Firmware which supports booting from the network initialises the card so it does not have to do the PCI config itself. But I don't know just gussing. On QEMU it only works with this patch, otherwise DMA from the card fails.
Regards, BALATON Zoltan