IDE BSP Overview
A BSP is required so that the IDE driver will work on a particular system. The functions shown in the table below must be implemented.
Function | Description |
---|---|
| Open (initialize) hardware. |
| Close (uninitialize) hardware. |
| Acquire IDE bus lock. |
| Release IDE bus lock. |
| Hardware-reset IDE device |
| Read from IDE device register. |
| Write to IDE device register. |
| Write command to IDE device register. |
| Read data from IDE device. |
| Write data to IDE device. |
| Setup DMA for command (Initialize channel). |
| End DMA transfer (and uninitialize channel). |
| Get IDE drive number. |
| Get supported transfer modes. |
| Set transfer modes. |
| Delay for 400 ns. |