On Fri, May 09, 2008 at 05:06:37PM +0300, Andrei Birjukov wrote:
- With DBE61, we had a dummy RTL8139 PCI driver under
src/drivers/pci/rtl8139 that did some chip initialization. I believe that is not suitable for the mainline.
No? I think I like this option the best, at least for v2. But please pick a name for the driver that more clearly shows what it does or at least that it is local for the board.
- Another option would be to globally force the PCI_COMMAND_MASTER
in pci_probe_dev(), if the base class is PCI_BASE_CLASS_NETWORK.
I don't like doing this unconditionally. Maybe add an option?
- It must be also possible to find the PCI device during the
mainboard-specific init and issue the mastering command from there.
This would be my second choice. But this fixup isn't really tied to the board, so maybe #2 is better?
//Peter