mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
Kernel: Be a little more defensive when indexing E1000 Rx/Tx buffers
This commit is contained in:
parent
b3bdab8cf7
commit
463c2e3768
2 changed files with 8 additions and 7 deletions
|
@ -104,8 +104,8 @@ private:
|
|||
bool m_has_eeprom { false };
|
||||
bool m_use_mmio { false };
|
||||
|
||||
static const int number_of_rx_descriptors = 32;
|
||||
static const int number_of_tx_descriptors = 8;
|
||||
static const size_t number_of_rx_descriptors = 32;
|
||||
static const size_t number_of_tx_descriptors = 8;
|
||||
|
||||
WaitQueue m_wait_queue;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue