Commit Graph

24 Commits

Author SHA1 Message Date
7126f01a79 kolibri-ahci:
- added ahci_read

git-svn-id: svn://kolibrios.org@9143 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 19:36:23 +00:00
b89963de95 kolibri-ahci:
- important register preseving

git-svn-id: svn://kolibrios.org@9142 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:33:40 +00:00
6a6dcc90ae kolibri-ahci:
- added ahci_read_first_sector and it works
- temporariry removed ahci_read
- small changes

git-svn-id: svn://kolibrios.org@9141 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:10:28 +00:00
8dfac86e67 kolibri-ahci:
- added disk registration in system
- added ahci_read (DOES NOT WORK, TODO), ahci_querymedia
- other changes

git-svn-id: svn://kolibrios.org@9140 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 21:55:32 +00:00
b436ed9f25 kolibri-ahci:
- use spinlocks (added two functions) instead of delays in ahci_port_identify
- small changes

git-svn-id: svn://kolibrios.org@9139 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 11:09:40 +00:00
7bedba2c53 kolibri-ahci:
- refactoring: use swap_bytes_in_words for strings in ident space
- added viewing lba48 addresable sectors count, disk capacity in MiB and GiB
- other small changes

git-svn-id: svn://kolibrios.org@9138 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-16 17:36:12 +00:00
48a6c045c4 kolibri-ahci:
- fix build

git-svn-id: svn://kolibrios.org@9136 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 14:04:25 +00:00
b8a5378080 kolibri-ahci:
- optimized signature checking

git-svn-id: svn://kolibrios.org@9135 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 13:59:08 +00:00
a85d76349a kolibri-ahci:
- added drive type detection
- identify now works both for SATA and SATAPI
- small fixes

git-svn-id: svn://kolibrios.org@9134 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-13 21:41:56 +00:00
324586c098 kolibri-ahci:
- fixed identify command sending, now driver successfully identifies hard disk model on my acer aspire
- small changes

git-svn-id: svn://kolibrios.org@9131 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-10 12:24:33 +00:00
16ff205237 kolibri-ahci:
- fixed issue with staggered spin-up, so now works better on real hardware
- more verbose debug output
- other small changes
TODO: improve reading identification space
why identification space is all zeroes on my acer aspire ?

git-svn-id: svn://kolibrios.org@9130 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-09 19:32:15 +00:00
39368a57b4 kolibri-ahci:
- added ahci_port_identify (it works!)
- other fixes
- todo: fix dirty codestyle)

git-svn-id: svn://kolibrios.org@9074 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 23:00:47 +00:00
f195324958 kolibri-ahci:
- make some padding and reserved field anonymous
- correct mistake in FIS_DMA_SETUP, some fileds were absent
- small fixes

git-svn-id: svn://kolibrios.org@9072 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 15:33:47 +00:00
774aee343f kolibri-ahci:
- added more structures
- added function ahci_find_cmdslot
- small fixes

git-svn-id: svn://kolibrios.org@9069 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-20 16:25:00 +00:00
9ea50cc779 kolibri-ahci:
- add ahci_send_cmd
- add ahci_flush_cmd
- add ahci_port_rebase
- other small changes

git-svn-id: svn://kolibrios.org@9068 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-16 16:39:49 +00:00
760c9f36c4 kolibri-ahci:
- add functions start_cmd and stop_cmd
- small changes

git-svn-id: svn://kolibrios.org@9065 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 20:20:23 +00:00
a8fd8dac68 kolibri-ahci:
- added FIS structures
- shorten some names in HBA_MEM structure

git-svn-id: svn://kolibrios.org@9064 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 17:09:18 +00:00
ffb87dab38 kolibri-ahci:
- started implementing drives detect
- other fixes

git-svn-id: svn://kolibrios.org@9037 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:20:11 +00:00
048b0de963 kolibri-ahci: refactoring
git-svn-id: svn://kolibrios.org@9024 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 14:27:05 +00:00
478c96b635 kolibri-ahci:
- improve controller initialization
- some refactoring

git-svn-id: svn://kolibrios.org@9023 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 11:56:47 +00:00
62850037f1 kolibri-ahci: delete file added by mistake
git-svn-id: svn://kolibrios.org@9022 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 22:48:31 +00:00
c587f61465 kolibri-ahci: added missed files + info with useful links
git-svn-id: svn://kolibrios.org@9021 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 22:37:28 +00:00
21816f5c0b kolibri-ahci: upload first results on AHCI support
git-svn-id: svn://kolibrios.org@9020 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 21:53:12 +00:00
73864ff1d7 Create kolibri-ahci branch
git-svn-id: svn://kolibrios.org@9019 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-07 21:36:03 +00:00