Move command.rs to ahci_command.rs

This commit is contained in:
Drew Galbraith 2025-02-01 14:44:03 -08:00
parent 15a5e210ef
commit 4efeca661e
3 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
mod command;
mod ahci_command;
mod controller;
mod hba;
mod port;

View File

@ -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,