History

staging/rdma/hfi1: Adjust EPROM partitions, add EPROM commands

Add a new EPROM partition, adjusting partition placement. Add EPROM range commands as a supserset of the partition commands. Remove old partition commands. Enhance EPROM erase, creating a range function and using the largest erase (sub) commands when possible.

Dean Luick committed 11 years ago

Commit cd371e01 parent 5d9157a3 files · +77 −70Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/rdma/hfi/hfi1_user.h+4−6
@@ -137,12 +137,10 @@ · 136 unmodified lines
137137 /* separate EPROM commands from normal PSM commands */
138138 #define HFI1_CMD_EP_INFO 64 /* read EPROM device ID */
139139 #define HFI1_CMD_EP_ERASE_CHIP 65 /* erase whole EPROM */
140−#define HFI1_CMD_EP_ERASE_P0 66 /* erase EPROM partition 0 */
141−#define HFI1_CMD_EP_ERASE_P1 67 /* erase EPROM partition 1 */
142−#define HFI1_CMD_EP_READ_P0 68 /* read EPROM partition 0 */
143−#define HFI1_CMD_EP_READ_P1 69 /* read EPROM partition 1 */
144−#define HFI1_CMD_EP_WRITE_P0 70 /* write EPROM partition 0 */
145−#define HFI1_CMD_EP_WRITE_P1 71 /* write EPROM partition 1 */
140+/* range 66-74 no longer used */
141+#define HFI1_CMD_EP_ERASE_RANGE 75 /* erase EPROM range */
142+#define HFI1_CMD_EP_READ_RANGE 76 /* read EPROM range */
143+#define HFI1_CMD_EP_WRITE_RANGE 77 /* write EPROM range */
146144
147145 #define _HFI1_EVENT_FROZEN_BIT 0
148146 #define _HFI1_EVENT_LINKDOWN_BIT 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t