commit | ef829f3685b94fd92fc22998a66e88c882bac17e | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Jun 13 20:00:54 2021 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sun Jun 13 20:00:54 2021 -0700 |
tree | e47e2802f8422d9c83360921338c48884b7a99f1 | |
parent | c6d9710f84db29fbb5843f8c3e1b8a2e1e856715 [diff] [blame] |
Add EXT2 stub
diff --git a/include/kernel/dri/ide/ide.h b/include/kernel/dri/ide/ide.h index 0283999..3376cb5 100644 --- a/include/kernel/dri/ide/ide.h +++ b/include/kernel/dri/ide/ide.h
@@ -2,4 +2,18 @@ #include <dri/pci/pci.h> +enum ide_mode +{ + IDE_PCI_NATIVE, + IDE_COMPAT, +}; + +struct ide_device +{ + enum ide_mode channel_mode[2]; + bool channel_mode_modifiable[2]; + bool supports_dma; +}; + void ide_register(); +void ide_print_device(struct ide_device *dev);