summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/usb/usbmsc.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/usb/usbmsc.h')
-rw-r--r--payloads/libpayload/include/usb/usbmsc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/payloads/libpayload/include/usb/usbmsc.h b/payloads/libpayload/include/usb/usbmsc.h
index e180d3e64a..b8a8ec13c9 100644
--- a/payloads/libpayload/include/usb/usbmsc.h
+++ b/payloads/libpayload/include/usb/usbmsc.h
@@ -1,7 +1,7 @@
/*
* This file is part of the libpayload project.
*
- * Copyright (C) 2008 coresystems GmbH
+ * Copyright (C) 2008-2010 coresystems GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -32,6 +32,7 @@
typedef struct {
unsigned int blocksize;
unsigned int numblocks;
+ unsigned int protocol;
endpoint_t *bulk_in;
endpoint_t *bulk_out;
} usbmsc_inst_t;
@@ -41,7 +42,7 @@ typedef struct {
typedef enum { cbw_direction_data_in = 0x80, cbw_direction_data_out = 0
} cbw_direction;
-int readwrite_blocks (usbdev_t *dev, int start, int n, cbw_direction dir,
- u8 *buf);
+int readwrite_blocks_512 (usbdev_t *dev, int start, int n, cbw_direction dir, u8 *buf);
+int readwrite_blocks (usbdev_t *dev, int start, int n, cbw_direction dir, u8 *buf);
#endif