dde_ipxe: enable BCM57cxx cards

Add tg3 driver files and adjust Genode's ipxe code. Tested on Fiasco.OC only.

issue #1609
This commit is contained in:
Sebastian Sumpf
2015-07-01 10:41:59 +02:00
committed by Christian Helmuth
parent b13b0113c8
commit ffaf65efa0
7 changed files with 39 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
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;
}