summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2017-04-26 21:00:10 +0200
committerMichael Brown2017-04-26 21:15:39 +0200
commitdd976cb50d842b9ba30a5b6413134fdefa9e864d (patch)
treeb68d45df81b1da4d3f4226cab428c99051b8ff3d /src/include
parent[intel] Do not enable ASDE on i350 backplane NIC (diff)
downloadipxe-dd976cb50d842b9ba30a5b6413134fdefa9e864d.tar.gz
ipxe-dd976cb50d842b9ba30a5b6413134fdefa9e864d.tar.xz
ipxe-dd976cb50d842b9ba30a5b6413134fdefa9e864d.zip
[block] Provide sandev_read() and sandev_write() as global symbols
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/sanboot.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/ipxe/sanboot.h b/src/include/ipxe/sanboot.h
index 8b3e2b28..b163a94b 100644
--- a/src/include/ipxe/sanboot.h
+++ b/src/include/ipxe/sanboot.h
@@ -236,12 +236,10 @@ static inline int sandev_needs_reopen ( struct san_device *sandev ) {
extern struct san_device * sandev_find ( unsigned int drive );
extern int sandev_reopen ( struct san_device *sandev );
extern int sandev_reset ( struct san_device *sandev );
-extern int sandev_rw ( struct san_device *sandev, uint64_t lba,
- unsigned int count, userptr_t buffer,
- int ( * block_rw ) ( struct interface *control,
- struct interface *data,
- uint64_t lba, unsigned int count,
- userptr_t buffer, size_t len ) );
+extern int sandev_read ( struct san_device *sandev, uint64_t lba,
+ unsigned int count, userptr_t buffer );
+extern int sandev_write ( struct san_device *sandev, uint64_t lba,
+ unsigned int count, userptr_t buffer );
extern struct san_device * alloc_sandev ( struct uri **uris, unsigned int count,
size_t priv_size );
extern int register_sandev ( struct san_device *sandev, unsigned int drive,