mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
ffaf65efa0
Add tg3 driver files and adjust Genode's ipxe code. Tested on Fiasco.OC only. issue #1609
14 lines
428 B
Diff
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;
|
|
}
|
|
|