sam: more work on the ATA disk interface
authorAlan Cox <alan@linux.intel.com>
Sun, 19 Aug 2018 14:19:26 +0000 (15:19 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 19 Aug 2018 14:19:26 +0000 (15:19 +0100)
commitf093346b5752ed8b76feabdfb7bc0a04d9376cbe
tree8dd829b46047d25378934c11348416900cd7a054
parentfc80432127575012a4af11e62ee39b9577173bc6
sam: more work on the ATA disk interface

We can now detect Atom and Atom Lite, as well as select the right 8 or 16bit
handling for them. The 16bit handlers are hairy because we can be doing an
I/O that crosses a page boundary. This needs a bit of thought to keep it
efficient. Atom Lite on the other hand appears to be trivial.
Kernel/platform-sam/atom.s
Kernel/platform-sam/devatom.c
Kernel/platform-sam/discard.c
Kernel/platform-sam/platform_ide.h