git.openpandora.org
/
pandora-u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi: Add function and env var to report number of scsi drives
[pandora-u-boot.git]
/
include
/
scsi.h
diff --git
a/include/scsi.h
b/include/scsi.h
index
89ae45f
..
9681d19
100644
(file)
--- a/
include/scsi.h
+++ b/
include/scsi.h
@@
-189,6
+189,8
@@
void scsi_low_level_init(int busdevfunc);
void scsi_init(void);
void scsi_scan(int mode);
+/** @return the number of scsi disks */
+int scsi_get_disk_count(void);
#define SCSI_IDENTIFY 0xC0 /* not used */