2010-05-11

2010-05-11 - ATA Driver

Looking back at the ATA driver today and trying to make it conform to the Block Device Driver Interface (BDDI).  Having to rework quite a few pieces of it, and make it implement the MountList parser to read the parameters it needs.  A significant modification above and beyond the Amiga implementation is the ability to specify the partition number, the device driver will take this and look up the range for that partition, and define the device accordingly.

I have also put a lot more work into the IdentifyDrive ATA command, mainly because the sector count and bytes per sector are required elements of data for the driver context.  For this, I have (finally) created a C struct to correspond to the output from the command (at least to ATA-1 specifications) so that this can be extended as and when required.

No comments:

Post a Comment