Fix allocate_frames
This commit is contained in:
parent
dad81d3c46
commit
d72609898a
3 changed files with 7 additions and 6 deletions
|
@ -22,7 +22,6 @@ impl Ahci {
|
|||
println!("{}: {:?}", i, port_type);
|
||||
match port_type {
|
||||
HbaPortType::SATA => {
|
||||
/*
|
||||
disk.port.init();
|
||||
if let Some(size) = unsafe { disk.port.identify(i) } {
|
||||
disk.size = size;
|
||||
|
@ -30,8 +29,6 @@ impl Ahci {
|
|||
} else {
|
||||
None
|
||||
}
|
||||
*/
|
||||
None
|
||||
}
|
||||
_ => None,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue