[OpenBIOS] [PATCH] drivers/pci: Recognise RTL8139 network card and enable bus mastering
BALATON Zoltan
balaton at eik.bme.hu
Thu Jun 26 00:25:23 CEST 2014
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 at 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
More information about the OpenBIOS
mailing list