On 26.06.14 00:25, BALATON Zoltan wrote:
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.
Yeah, that makes it an OS specific quirk hack :). I'm ok with those, but we should make sure we have comments explaining what we're dealing with here. In a few years from now nobody will find these email threads anymore.
Alex