genode/repos/dde_ipxe/patches/tg3.patch
Sebastian Sumpf ffaf65efa0 dde_ipxe: enable BCM57cxx cards
Add tg3 driver files and adjust Genode's ipxe code. Tested on Fiasco.OC only.

issue #1609
2015-07-06 12:22:27 +02:00

14 lines
428 B
Diff

diff --git a/src/drivers/net/tg3/tg3.c b/src/drivers/net/tg3/tg3.c
index 32ca160..85dcc56 100644
--- a/src/drivers/net/tg3/tg3.c
+++ b/src/drivers/net/tg3/tg3.c
@@ -772,7 +772,7 @@ static int tg3_init_one(struct pci_device *pdev)
tp->regs = ioremap(reg_base, reg_size);
if (!tp->regs) {
DBGC(&pdev->dev, "Failed to remap device registers\n");
- errno = -ENOENT;
+ //errno = -ENOENT;
goto err_out_disable_pdev;
}