git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into sata-ahci-dev
[lunaix-os.git]
/
lunaix-os
/
includes
/
hal
/
ahci
/
utils.h
diff --git
a/lunaix-os/includes/hal/ahci/utils.h
b/lunaix-os/includes/hal/ahci/utils.h
index 1ff5f32517c04c8f116b44cb36a6232910e52691..119ec3960eaf362944911d5d44522366326eb593 100644
(file)
--- a/
lunaix-os/includes/hal/ahci/utils.h
+++ b/
lunaix-os/includes/hal/ahci/utils.h
@@
-1,13
+1,16
@@
#ifndef __LUNAIX_AHCI_UTILS_H
#define __LUNAIX_AHCI_UTILS_H
#ifndef __LUNAIX_AHCI_UTILS_H
#define __LUNAIX_AHCI_UTILS_H
-#include <hal/ahci/
ahci
.h>
+#include <hal/ahci/
hba
.h>
#include <stdint.h>
void
#include <stdint.h>
void
-ahci_parse_dev_info(struct
ahci_device_info
* dev_info, uint16_t* data);
+ahci_parse_dev_info(struct
hba_device
* dev_info, uint16_t* data);
void
ahci_parsestr(char* str, uint16_t* reg_start, int size_word);
void
ahci_parsestr(char* str, uint16_t* reg_start, int size_word);
+void
+scsi_parse_capacity(struct hba_device* device, uint32_t* parameter);
+
#endif /* __LUNAIX_UTILS_H */
#endif /* __LUNAIX_UTILS_H */