mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
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;
|
||
|
}
|
||
|
|