e1000: Receive SRPD irqs?

This commit is contained in:
K. Lange 2021-09-08 19:23:59 +09:00
parent fd10920585
commit 8d52e26637
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@
#define ICR_RXO (1 << 6) /* Receive overrun */
#define ICR_RXT0 (1 << 7) /* Receive timer interrupt? */
#define ICR_ACK (1 << 17)
#define ICR_SRPD (1 << 16)
struct e1000_rx_desc {
volatile uint64_t addr;

View File

@ -30,7 +30,7 @@
#include <sys/socket.h>
#include <net/if.h>
#define INTS (ICR_LSC | ICR_RXO | ICR_RXT0 | ICR_TXQE | ICR_TXDW | ICR_ACK | ICR_RXDMT0)
#define INTS (ICR_LSC | ICR_RXO | ICR_RXT0 | ICR_TXQE | ICR_TXDW | ICR_ACK | ICR_RXDMT0 | ICR_SRPD)
struct e1000_nic {
struct EthernetDevice eth;