You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: software/tools/oc_find_card
+96-2Lines changed: 96 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,17 @@ normal=$(tput sgr0)
30
30
# v2.0 : modified Jan 16th 2018 to have -v option providing extra information
31
31
# v2.1 : modified Feb 26th 2020 adding AD9Hx in CAPI2 and OC modes
32
32
# v2.2 : modified March 19th 2020 adding -t (accel type) option; this is to prevent reporting 2 cards (1 CAPI2, 1 OpenCAPI) as only 1 card with 2 characteristics (both have $card ID=0)
33
+
# v2.3 : modified April 17th 2020 adding -d (debug) option; Displays DEBUG additional info
33
34
34
-
version=2.2
35
+
version=2.3
35
36
accel=UNKNOWN
36
37
VERBOSE=0
37
38
38
39
# Print usage message helper function
39
40
functionusage() {
40
41
echo"Usage: $PROGRAM"
41
42
echo" [-v] Prints extra information (to be put as first param)"
43
+
echo" [-d] Debug mode to display additional system info"
42
44
echo" [-A] <accelerator> use either ADKU3, N250S, S121B_BPIx16, S121B_SPIx4, AD8K5, RCXVUP, FX609, S241, N250SP, AD9V3, OC-AD9V3, AD9H3, OC-AD9H3, AD9H7, OC-AD9H7, U200 or ALL"
43
45
echo" [-C] <0..3> Print accelerator name for this Card"
44
46
echo" [-t] <1..3> Specifies the Type of CAPI: CAPI1.0, CAPI2.0 or OPENCAPI (CAPI3.0)"
@@ -268,12 +270,104 @@ function detect_oc_card_name()
0 commit comments