eth: align DescEntries
This commit is contained in:
parent
f9cc561144
commit
644cc64524
@ -11,7 +11,7 @@ pub enum Error {
|
||||
}
|
||||
|
||||
/// Descriptor entry
|
||||
#[repr(C)]
|
||||
#[repr(C, align(0x08))]
|
||||
pub struct DescEntry {
|
||||
word0: DescWord0,
|
||||
word1: DescWord1,
|
||||
|
@ -4,6 +4,7 @@ use crate::println;
|
||||
use super::{MTU, regs};
|
||||
|
||||
/// Descriptor entry
|
||||
#[repr(C, align(0x08))]
|
||||
pub struct DescEntry {
|
||||
word0: DescWord0,
|
||||
word1: DescWord1,
|
||||
|
Loading…
Reference in New Issue
Block a user