Last minor fixes, it compile without problems now.

This commit is contained in:
OBattler
2020-03-24 02:50:24 +01:00
parent 5b5face08b
commit 1550a3a176
3 changed files with 16 additions and 20 deletions

View File

@@ -1027,13 +1027,6 @@ pcnetStop(nic_t *dev)
}
static void
pcnetWakeupReceive(nic_t *dev)
{
/* TODO: Wake up the thread here. */
}
/**
* Poll Receive Descriptor Table Entry and cache the results in the appropriate registers.
* Note: Once a descriptor belongs to the network card (this driver), it cannot be changed
@@ -2687,7 +2680,9 @@ pcnetTimerCallback(void *priv)
{
nic_t *dev = (nic_t *) priv;
pcnetlog("Timer Callback to RX\n");
#ifdef ENABLE_PCNET_LOG
pcnetlog(3, "Timer Callback to RX\n");
#endif
pcnetPollRxTx(dev);
timer_disable(&dev->poll_timer);