Changeset aa893e0 in mainline for uspace/srv/bd/ata_bd/ata_bd.c
- Timestamp:
- 2011-02-01T07:40:12Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c5f0bff
- Parents:
- bb0eab1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/ata_bd/ata_bd.c
rbb0eab1 raa893e0 731 731 } 732 732 733 /** SendATAPI Inquiry.733 /** Issue ATAPI Inquiry. 734 734 * 735 735 * @param dev_idx Device index (0 or 1) … … 756 756 } 757 757 758 /** Issue ATAPI read(12) command. 759 * 760 * Output buffer must be large enough to hold the data, otherwise the 761 * function will fail. 762 * 763 * @param dev_idx Device index (0 or 1) 764 * @param ba Starting block address 765 * @param cnt Number of blocks to read 766 * @param obuf Buffer for storing inquiry data read from device 767 * @param obuf_size Size of obuf in bytes 768 * 769 * @return EOK on success, EIO on error. 770 */ 758 771 static int ata_pcmd_read_12(int dev_idx, uint64_t ba, size_t cnt, 759 772 void *obuf, size_t obuf_size)
Note:
See TracChangeset
for help on using the changeset viewer.