Set Link State from VBox to 86Box implemented on the PCnet card (any other nics don't have it and will simply return NULL).

The PCnet-based Racal nic now has its own OID to make its drivers happy (according to VBox).
This commit is contained in:
TC1995
2020-04-20 19:02:13 +02:00
parent 9a287c31e5
commit 2de9a3f37a
8 changed files with 203 additions and 72 deletions

View File

@@ -617,7 +617,7 @@ threec503_nic_init(const device_t *info)
dev->regs.gacfr = 0x09; /* Start with RAM mapping enabled. */
/* Attach ourselves to the network module. */
network_attach(dev->dp8390, dev->dp8390->physaddr, dp8390_rx, NULL);
network_attach(dev->dp8390, dev->dp8390->physaddr, dp8390_rx, NULL, NULL);
return(dev);
}