Move command.rs to ahci_command.rs
This commit is contained in:
parent
15a5e210ef
commit
4efeca661e
|
@ -1,4 +1,4 @@
|
||||||
mod command;
|
mod ahci_command;
|
||||||
mod controller;
|
mod controller;
|
||||||
mod hba;
|
mod hba;
|
||||||
mod port;
|
mod port;
|
||||||
|
|
|
@ -11,13 +11,14 @@ use alloc::boxed::Box;
|
||||||
use alloc::sync::Arc;
|
use alloc::sync::Arc;
|
||||||
use mammoth::{cap::Capability, mem, sync::Mutex, syscall, zion::ZError};
|
use mammoth::{cap::Capability, mem, sync::Mutex, syscall, zion::ZError};
|
||||||
|
|
||||||
use crate::ahci::command::FisType;
|
|
||||||
use crate::ahci::port::AhciPortInterruptStatus;
|
use crate::ahci::port::AhciPortInterruptStatus;
|
||||||
|
|
||||||
use super::command::{
|
use super::{
|
||||||
CommandList, CommandTable, HostToDeviceRegisterFis, ReceivedFis, SataCommand,
|
ahci_command::{
|
||||||
|
CommandList, CommandTable, FisType, HostToDeviceRegisterFis, ReceivedFis, SataCommand,
|
||||||
|
},
|
||||||
|
port::AhciPortHba,
|
||||||
};
|
};
|
||||||
use super::port::AhciPortHba;
|
|
||||||
|
|
||||||
enum CommandStatus {
|
enum CommandStatus {
|
||||||
Empty,
|
Empty,
|
||||||
|
|
Loading…
Reference in New Issue