X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/c4d08ac5260bb26db10bcfd9dc6fd2db60efebe9..cb089e17fcc6bd4823bd919cce2b9e62631cd570:/lunaix-os/includes/hal/ahci/scsi.h diff --git a/lunaix-os/includes/hal/ahci/scsi.h b/lunaix-os/includes/hal/ahci/scsi.h index a3cfe2f..e1bbb71 100644 --- a/lunaix-os/includes/hal/ahci/scsi.h +++ b/lunaix-os/includes/hal/ahci/scsi.h @@ -50,17 +50,8 @@ scsi_create_packet16(struct scsi_cdb16* cdb, uint64_t lba, uint32_t alloc_size); -int -scsi_read_buffer(struct hba_device* dev, - uint64_t lba, - void* buffer, - uint32_t size); - -int -scsi_write_buffer(struct hba_device* dev, - uint64_t lba, - void* buffer, - uint32_t size); +void +scsi_submit(struct hba_device* dev, struct blkio_req* io_req); void scsi_parse_capacity(struct hba_device* device, uint32_t* parameter);