diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-13 23:39:55 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-14 10:47:48 -0400 |
commit | f470348df79c8dba142deccdbba74682ffc0c972 (patch) | |
tree | 9afdfc7eaddb61cbf8e38671816f41dbb0a72c77 /sys/include/dev/ic/ahcivar.h | |
parent | 97ae9fa52fa25e27e4917e26f7192a78764d54af (diff) |
kernel: ahci: Add /ctl/sdx/bsize control filemain
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/ic/ahcivar.h')
-rw-r--r-- | sys/include/dev/ic/ahcivar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/include/dev/ic/ahcivar.h b/sys/include/dev/ic/ahcivar.h index 43c421a..fa24812 100644 --- a/sys/include/dev/ic/ahcivar.h +++ b/sys/include/dev/ic/ahcivar.h @@ -34,8 +34,10 @@ #include <sys/types.h> #include <sys/device.h> #include <dev/ic/ahciregs.h> +#include <fs/ctlfs.h> struct ahci_cmd_hdr; +extern const struct ctlops g_sata_bsize_ops; struct ata_identity { uint16_t rsvd0 : 1; @@ -216,6 +218,7 @@ struct ahci_fis_h2d { #define AHCI_FIS_SIZE 256 #define AHCI_CMDTAB_SIZE 256 #define AHCI_CMDENTRY_SIZE 32 +#define AHCI_SECTOR_SIZE 512 /* AHCI FIS types */ #define FIS_TYPE_H2D 0x27 |