CBI support.
* include/grub/usb.h (grub_usbms_protocol_t): New values GRUB_USBMS_PROTOCOL_CB and GRUB_USBMS_PROTOCOL_CBI. * grub-core/disk/usbms.c (GRUB_USBMS_CBI_CMD_SIZE): New define. (GRUB_USBMS_CBI_ADSC_REQ): Likewise. (grub_usbms_dev): Add subclass, protocol and intrpt. Remove in_maxsz and out_maxsz. (grub_usbms_reset): Rename to ... (grub_usbms_bo_reset): .. this. (grub_usbms_cbi_cmd): New function. (grub_usbms_cbi_reset): Likewise. (grub_usbms_reset): Likewise. (grub_usbms_attach): Recognize cbi. Same subclass and protocol. (grub_usbms_transfer): Rename to ... (grub_usbms_transfer_bo): ... this. (grub_usbms_transfer_cbi): Likewise. (grub_usbms_transfer): Likewise.
This commit is contained in:
commit
fc9b5652f6
3 changed files with 275 additions and 45 deletions
21
ChangeLog
21
ChangeLog
|
@ -1,3 +1,24 @@
|
|||
2012-02-01 Aleš Nesrsta <starous@volny.cz>
|
||||
|
||||
CBI support.
|
||||
|
||||
* include/grub/usb.h (grub_usbms_protocol_t): New values
|
||||
GRUB_USBMS_PROTOCOL_CB and GRUB_USBMS_PROTOCOL_CBI.
|
||||
* grub-core/disk/usbms.c (GRUB_USBMS_CBI_CMD_SIZE): New define.
|
||||
(GRUB_USBMS_CBI_ADSC_REQ): Likewise.
|
||||
(grub_usbms_dev): Add subclass, protocol and intrpt.
|
||||
Remove in_maxsz and out_maxsz.
|
||||
(grub_usbms_reset): Rename to ...
|
||||
(grub_usbms_bo_reset): .. this.
|
||||
(grub_usbms_cbi_cmd): New function.
|
||||
(grub_usbms_cbi_reset): Likewise.
|
||||
(grub_usbms_reset): Likewise.
|
||||
(grub_usbms_attach): Recognize cbi. Same subclass and protocol.
|
||||
(grub_usbms_transfer): Rename to ...
|
||||
(grub_usbms_transfer_bo): ... this.
|
||||
(grub_usbms_transfer_cbi): Likewise.
|
||||
(grub_usbms_transfer): Likewise.
|
||||
|
||||
2012-02-01 Aleš Nesrsta <starous@volny.cz>
|
||||
2012-02-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue