From dd976cb50d842b9ba30a5b6413134fdefa9e864d Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 26 Apr 2017 20:00:10 +0100 Subject: [block] Provide sandev_read() and sandev_write() as global symbols Signed-off-by: Michael Brown --- src/include/ipxe/sanboot.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/include') 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, -- cgit v1.2.3-55-g7522