swissChili | 5fe85a1 | 2021-05-31 08:10:27 -0700 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <dri/pci/pci.h> |
| 4 | |
swissChili | ef829f3 | 2021-06-13 20:00:54 -0700 | [diff] [blame] | 5 | enum ide_mode |
| 6 | { |
| 7 | IDE_PCI_NATIVE, |
| 8 | IDE_COMPAT, |
| 9 | }; |
| 10 | |
| 11 | struct ide_device |
| 12 | { |
| 13 | enum ide_mode channel_mode[2]; |
| 14 | bool channel_mode_modifiable[2]; |
| 15 | bool supports_dma; |
| 16 | }; |
| 17 | |
swissChili | 5fe85a1 | 2021-05-31 08:10:27 -0700 | [diff] [blame] | 18 | void ide_register(); |
swissChili | ef829f3 | 2021-06-13 20:00:54 -0700 | [diff] [blame] | 19 | void ide_print_device(struct ide_device *dev); |