diff --git a/rust/sys/denali/src/ahci/command.rs b/rust/sys/denali/src/ahci/ahci_command.rs similarity index 100% rename from rust/sys/denali/src/ahci/command.rs rename to rust/sys/denali/src/ahci/ahci_command.rs diff --git a/rust/sys/denali/src/ahci/mod.rs b/rust/sys/denali/src/ahci/mod.rs index f154971..8200d8e 100644 --- a/rust/sys/denali/src/ahci/mod.rs +++ b/rust/sys/denali/src/ahci/mod.rs @@ -1,4 +1,4 @@ -mod command; +mod ahci_command; mod controller; mod hba; mod port; diff --git a/rust/sys/denali/src/ahci/port_controller.rs b/rust/sys/denali/src/ahci/port_controller.rs index 47ce356..5b42543 100644 --- a/rust/sys/denali/src/ahci/port_controller.rs +++ b/rust/sys/denali/src/ahci/port_controller.rs @@ -11,13 +11,14 @@ use alloc::boxed::Box; use alloc::sync::Arc; use mammoth::{cap::Capability, mem, sync::Mutex, syscall, zion::ZError}; -use crate::ahci::command::FisType; use crate::ahci::port::AhciPortInterruptStatus; -use super::command::{ - CommandList, CommandTable, HostToDeviceRegisterFis, ReceivedFis, SataCommand, +use super::{ + ahci_command::{ + CommandList, CommandTable, FisType, HostToDeviceRegisterFis, ReceivedFis, SataCommand, + }, + port::AhciPortHba, }; -use super::port::AhciPortHba; enum CommandStatus { Empty,