1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314
|
/* Copyright (c) 1996-2004, Adaptec Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* - Neither the name of the Adaptec Corporation nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __MESSAGES_H
#define __MESSAGES_H
//File - MESSAGES.H
//***************************************************************************
//
//Description:
//
// This file contains constant definitions for DPT engine messages.
//
//Author: Doug Anderson
//Date: 10/7/92
//
//Editors:
//
//Remarks:
//
//
//***************************************************************************
//*************************************************************************
// DPT Engine Messages
//*************************************************************************
//
#define MSG_ENGINE_TEST_ON 0x0100L
//
// Description:
// Turn ON engine testing functions of the DPT engine.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//
#define MSG_ENGINE_TEST_OFF 0x0101L
//
// Description:
// Turn OFF engine testing functions of the DPT engine.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//==========================================================================
// Engine/Connection messages
//==========================================================================
//
#define MSG_CONNECT 0x0010L
//
// Description:
// Connect an external source to the DPT engine.
//
// Connect an external source to the DPT comm. engine or a
//comm. engine end point.
//
// Target Types: 0
// Input Data: None
// Return Data: Connection tag (DPT_TAG_T)
//--------------------------------------------------------------------------
//
#define MSG_DISCONNECT 0x0011L
//
// Description:
// Disconnect an external source from the DPT engine.
//
// Disconnect from the current communication engine end point.
//This message allows a user to disconnect from comm. end points one
//end point at a time.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//==========================================================================
// Object acquisition messages
//==========================================================================
//
#define MSG_IO_SCAN_SYSTEM 0x0014L
//
// Description:
// Search the system hardware for all SCSI objects in the system.
// This function will find all HBA's and SCSI devices in the system.
//
// Note:
// 1. This function destroys the current configuration prior to
// scanning for SCSI objects.
// 2. This is equivalent to a MSG_IO_SCAN_PHYSICALS followed by
// a MSG_IO_SCAN_LOGICALS
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_IO_SCAN_HBAS 0x00f1L
//
// Description:
// Search the system hardware for all HBAs in the system. This
// message will not look for any other physical or logical devices.
//
// Note:
// 1. This function destroys the current configuration prior to
// scanning for SCSI objects.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_IO_SCAN_PHYSICALS 0x0015L
//
// Description:
// Search the system hardware for all physical SCSI objects in
// the system. This function will find all HBA's and all physical
// SCSI devices in the system.
//
// Note:
// 1. This function destroys the current configuration prior to
// scanning for SCSI objects.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_IO_SCAN_LOGICALS 0x0016L
//
// Description:
// Search the system hardware for all logical SCSI objects in
// the system. This function requires that a MSG_IO_SCAN_PHYSICALS
// was previously performed.
//
// Note:
// 1. This function does not destroy the current configuration.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//==========================================================================
// Object ID retrieval messages
//==========================================================================
//
#define MSG_ID_PHYSICALS 0x0017L
//
// Description:
// Return the ID structure of all objects of the specified type
//that are found in the target manager's physical object list
//
// Target Types: Any Manager
// Input Data: Object type (uSHORT)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_VISIBLES 0x0018L
//
// Description:
// Return the ID structure of all objects of the specified type
//that are visible to the target manager at the physical level.
//
// Target Types: Any manager
// Input Data: Object type (uSHORT)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_ALL_PHYSICALS 0x0019L
//
// Description:
// Return the ID structure of all objects of the specified type
//that are found in the target manager's physical object list or any
//lower level manager's physical object list.
//
// Target Types: Any manager
// Input Data: Object type (uSHORT)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_LOGICALS 0x001aL
//
// Description:
// Return the ID structure of all objects of the specified type
//that are found in the target manager's logical device list
//
// Target Types: Any manager
// Input Data: Object type (uSHORT)
// RAID type (uSHORT-optional if DPT_RAID_TYPE)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_ALL_LOGICALS 0x001bL
//
// Description:
// Return the ID structure of all objects of the specified type
//that are found in the target manager's logical device list. For each
//device found, the device's component list is traversed. The IDs of
//all objects of the specified type that are found in the device's
//component list are returned also.
//
// Target Types: Any manager
// Input Data: Object type (uSHORT)
// RAID type (uSHORT-optional if DPT_RAID_TYPE)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_COMPONENTS 0x001cL
//
// Description:
// Returns the ID structure of all devices of the specified type
//that are (RAID) components of the target device.
//
// Target Types: Any RAID device
// Input Data: Object type (uSHORT)
// RAID type (uSHORT-optional if DPT_RAID_TYPE)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_ALL_COMPONENTS 0x001dL
//
// Description:
// Returns the ID structure of all devices of the specified type
//that are (RAID) components of the target device. For each device
//found, the device's component list is traversed.
//
// Target Types: Any RAID device
// Input Data: Object type (uSHORT)
// RAID type (uSHORT-optional if DPT_RAID_TYPE)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_HIDDEN_DEVICES 0x001eL
//
// Description:
// Returns the ID structure of all non-component devices that are
// not visible to the OS.
//
// Target Types: 0
// Input Data: None
// Return Data: List of hidden devices (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_BY_VENDOR 0x001fL
//
// Description:
// Return the ID structure of all engine objects that have the
//specified ASCII string in their vendorID field.
//
// Search Type: (Default = 0, Trailing spaces are always ignored)
// ------------
// 0 = Specified string must match vendor ID exactly
// 1 = Match specified string to 1st characters of vendor ID
// - Ignore any trailing characters in the vendor ID
// 2 = Find specified string anywhere in the vendor ID
// (sub-string search)
//
// Target Types: 0
// Input Data: ASCII string (List of bytes)
// Search type (Optional) (uCHAR)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_BY_PRODUCT 0x0020L
//
// Description:
// Return the ID structure of all engine objects that have the
//specified ASCII string in their productID field.
//
// Search Type: (Default = 0, Trailing spaces are always ignored)
// ------------
// 0 = Specified string must match product ID exactly
// 1 = Match specified string to 1st characters of product ID
// - Ignore any trailing characters in the product ID
// 2 = Find specified string anywhere in the product ID
// (sub-string search)
//
// Target Types: 0
// Input Data: ASCII string
// Search type (Optional) (uCHAR)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_BY_REVISION 0x0021L
//
// Description:
// Return the ID structure of all engine objects that have the
//specified ASCII string in their revision field.
//
// Search Type: (Default = 0, Trailing spaces are always ignored)
// ------------
// 0 = Specified string must match revision exactly
// 1 = Match specified string to 1st characters of revision
// - Ignore any trailing characters in the revision
// 2 = Find specified string anywhere in the revision
// (sub-string search)
//
// Target Types: 0
// Input Data: ASCII string
// Search type (Optional) (uCHAR)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_BY_VENDOR_EXTRA 0x0022L
//
// Description:
// Return the ID structure of all engine objects that have the
//specified ASCII string in their vendorExtra field.
//
// Search Type: (Default = 0, Trailing spaces are always ignored)
// ------------
// 0 = Specified string must match vendorExtra exactly
// 1 = Match specified string to 1st characters of vendorExtra
// - Ignore any trailing characters in the vendorExtra
// 2 = Find specified string anywhere in the vendorExtra
// (sub-string search)
//
// Target Types: 0
// Input Data: ASCII string
// Search type (Optional) (uCHAR)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_BY_DPT_NAME 0x0023L
//
// Description:
// Return the ID structure of all engine devices that have the
//specified ASCII string in their dptName field.
//
// Search Type: (Default = 0, Trailing spaces are always ignored)
// ------------
// 0 = Specified string must match DPT name exactly
// 1 = Match specified string to 1st characters of DPT name
// - Ignore any trailing characters in the DPT name
// 2 = Find specified string anywhere in the DPT name
// (sub-string search)
//
// Target Types: 0
// Input Data: ASCII string
// Search type (Optional) (uCHAR)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_BY_SCSI_ADDR 0x0024L
//
// Description:
// Return the ID structure of all engine objects with the specified
//SCSI address.
//
// An optional address mask can be specified to prevent
//the use of specific address fields: (Default mask = 0)
// Mask bit: If set, ignore:
// --------- ---------------
// 0 SCSI LUN
// 1 SCSI ID
// 2 SCSI Channel
// 3 SCSI HBA
//
// Return:
// -------
// 7-6 00 = Managers & Devices
// 01 = Managers & Devices
// 10 = Devices Only
// 11 = Managers Only
//
//
// An optional level can be specified to further qualify the address
//search with a logical level. If a level is specified, only objects
//with a matching address at the specified logical level will be returned.
// Logical Level:
// --------------
// 0 = Driver Logical
// 1 = Driver Physical / HBA Logical
// 2 = HBA Physical / BCD Logical
// 3 = BCD Physical
// 0xff = All that match the address/mask (Default)
//
// Note: If all address fields are ignored, this message can be used to
// return the IDs of all objects, devices, or managers -OR- all
// objects, devices, or managers at the specified logical level.
// (However, the IDs may not be in SCSI address order)
//
// Target Types: 0
// Input Data: SCSI addr (dptSOaddr_S),
// mask (uCHAR-optional)
// level (uCHAR-optional)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ID_BY_STATUS 0x0025L
//
// Description:
// Return the ID structure of all engine objects with the specified
//status.
//
// An optional mask can be specified to prevent the use of specific
//status fields: (Default mask = 0)
// Mask bit: If set, ignore:
// --------- ---------------
// 0 Sub status
// 1 Main status
// 2 Flag field
// 3 Display Status
//
// Return:
// -------
// 7-6 00 = Managers & Devices
// 01 = Managers & Devices
// 10 = Devices Only
// 11 = Managers Only
//
// Target Types: 0
// Input Data: SCSI addr (dptSOaddr_S),
// mask (uCHAR-optional)
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//==========================================================================
// RAID related messages
//==========================================================================
//
#define MSG_RAID_NEW 0x0026L
//
// Description:
// Create a new RAID device.
//
// Target Types: Any RAID manager
// Input Data: raidHeader_S
// List of raidCompList_S
// Return Data: ID of the new RAID device (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_RAID_GHOST 0x0027L
//
// Description:
// Create a new RAID drive without checking any requirements.
//
// Target Types: Any RAID manager
// Input Data: raidHeader_S
// List of raidCompList_S
// Return Data: ID of the new RAID device (dptID_S)
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RAID_DEFINE 0x0028L
//
// Description:
// Define a new RAID type using any of the criteria currently
// available in the engine.
//
// Target Types: Any RAID manager
// Input Data: Reference # (uSHORT)
// RAID definition (raidDefinition_S)
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RAID_GET_DEF 0x0029L
//
// Description:
// Returns the RAID definition structure for the specified RAID
// reference #. If no RAID reference # is specified, all currently
// defined RAID reference numbers are returned.
//
// Target Types: Any RAID manager
// Input Data: Reference # (uSHORT)
// Return Data: raidDefinition_S
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RAID_SET_PARAMS 0x002aL
//
// Description:
// Setup the RAID control structure for the specified RAID reference #.
// The RAID control structure is used when creating a new RAID drive.
//
// Target Types: Any RAID manager
// Input Data: Reference # (uSHORT)
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RAID_GET_PARAMS 0x002bL
//
// Description:
// Returns the RAID control structure for the specified RAID
// reference #.
//
// Target Types: Any RAID manager
// Input Data: RAID type (uSHORT)
// Return Data: raidCtl_S
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RAID_RESTRICT 0x002cL
//
// Description:
// Restrict the target device from being a component of a RAID device.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RAID_UNRESTRICT 0x002dL
//
// Description:
// Undo a MSG_RAID_RESTRICT message.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RAID_HW_ENABLE 0x002eL
//
// Description:
// Attempt to set the system hardware to the current configuration.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RAID_GET_MAP 0x002fL
//
// Description:
// Returns the RAID use map for a SCSI device. If no data is
// returned, the device is not a component of another RAID drive.
//
// Note:
// 1. This message should be targeted at component drives.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: List of RAID maps (raidMap_S)
//--------------------------------------------------------------------------
//
#define MSG_RAID_BUILD 0x0030L
//
// Description:
// Start a destructive build.
//
// Note:
// 1. This message should be targeted at RAID devices.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RAID_REBUILD 0x0031L
//
// Description:
// Start a non-destructive build.
//
// Note:
// 1. This message should be targeted at RAID devices.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RAID_VERIFY 0x0032L
//
// Description:
// Verify the data integrity of a RAID device.
//
// Note:
// 1. This message should be targeted at RAID devices.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RAID_VERIFY_FIX 0x0033L
//
// Description:
// Verify the data integrity of a RAID device.
// Fix any errors found.
//
// Note:
// 1. This message should be targeted at RAID devices.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
// Not supported in 5th gen. firmware
#define MSG_RAID_VERIFY_ABORT 0x0034L
//
// Description:
// Verify the data integrity of a RAID device.
// Abort if any errors found.
//
// Note:
// 1. This message should be targeted at RAID devices.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RAID_ABORT 0x0035L
//
// Description:
// Abort a build, rebuild, or verify operation.
//
// Note:
// 1. This message should be targeted at RAID devices.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_DIAG_GET_PROGRESS 0x0037L
#define MSG_RAID_GET_PROGRESS 0x0037L
//
// Description:
// Get the progress of an outstanding RAID build, rebuild, or
// verify or the progress of a firmware based diagnostic.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: Last LBA completed (uLONG)
// Max. LSU LBA (uLONG)
// Device Status (dptCstatus_S)
// Verify Error Count (uLONG)
// --- New Additions for F/W diags ---
// Total iterations (uLONG)
// Current iteration (uLONG)
// Physical Block # of first error
// Diagnostic test type (uCHAR)
// Diagnostic flags (0x40 = Sequential Sectors)
// Maximum Error Count (uSHORT)
//--------------------------------------------------------------------------
// Obsolete - See MSG_SET_INFO & the file GET_INFO.H
//
#define MSG_RAID_SET_RATE 0x0038L
//
// Description:
// Set the rate for build, rebuild, or verify operations performed
// by the target manager.
//
// Target Types: Any RAID Manager
// Input Data: Rebuild Frequency (uSHORT - tenths of a second)
// Rebuild Amount (uSHORT - # blocks per burst)
// Return Data: None
//--------------------------------------------------------------------------
//==========================================================================
// HBA control messages
//==========================================================================
//
#define MSG_ALARM_ON 0x0039L
//
// Description:
// Turn an HBA's alarm on.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_ALARM_OFF 0x003aL
//
// Description:
// Turn an HBA's alarm off.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented
#define MSG_RESET 0x003bL
//
// Description:
// Reset an object.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RESET_SCSI_BUS 0x003cL
//
// Description:
// Reset a device's SCSI bus.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_LOG_PAGE 0x003dL
//
// Description:
// Returns the specified log page.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Log page code (uCHAR)
// Log flags (uCHAR)
// bit #7-#6 = reserved (must be zero)
// bit #5 = Do not set physical bit (force physical bit
// cleared when targeting physical devices)
// bit #4-#1 = reserved (must be zero)
// bit #0, 1 = Read log (do not clear)
// 0 = Clear entire log after the read
// Offset (Optional - uSHORT)
// Control Byte (uCHAR) - The SCSI control byte
// bit #7 = Async, if set don't return until one or
// more events are in the log.
// bit #6 = Read & Clear, if set clear the events
// returned but preserve unread events.
// bit #5-#0 = reserved (must be zero)
//
// Return Data: Log page data
//--------------------------------------------------------------------------
//
#define MSG_GET_MODE_PAGE 0x003eL
//
// Description:
// Returns the specified mode page.
//
// Target Types: All
// Input Data: Mode page code (uCHAR)
// Mode flags (uCHAR)
// Bit 7 = Use a 10 byte mode sense CDB
// Bit 6 = Force the interpret bit to be set
// Bits 5 = Do not set physical bit (force physical bit
// cleared when targeting physical devices)
// Bits 4-2 = Unused
// Bits 1,0 = PC (Page Control)
// 00 = Current Values
// 01 = Changeable Values
// 10 = Default Values
// 11 = Saved Values
// Return Data: Filler (2 bytes - always zero)
// Mode page data
//
// Note: A 6 byte mode sense SCSI CDB will be used unless bit #7 is set
// in the flags byte.
//--------------------------------------------------------------------------
//
#define MSG_QUIET 0x003fL
//
// Description:
// Prevent accesses to all devices attached to the target HBA.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Blink Drive (uSHORT)
// 0=Blink Target Drive, Non-zero=Blink all but target drive
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_UNQUIET 0x0040L
//
// Description:
// Enable accesses to all devices attached to the target HBA.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Unimplemented in F/W
#define MSG_RELOCK_DRIVES 0x0041L
//
// Description:
// Causes the HBA to re-read the RAID tables from disk and
//configure the system accordingly. This command only needs to be
//issued if the RAID tables are changed directly by an outside source
//that does not go thru the HBA firmware (blowit, blowend...).
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_TIME 0x0042L
//
// Description:
// Get the HBA's time.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: HBA's time (uLONG)
//--------------------------------------------------------------------------
//
#define MSG_SET_TIME 0x0043L
//
// Description:
// Set the HBA's time.
//
// Target Types: DPT_SCSI_HBA
// Input Data: new time (uLONG)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_CALIBRATE_BATTERY 0x00e4L
//
// Description:
// Starts a backup battery calibration process. An initial
//calibration takes the battery through a charge-discharge-recharge
//cycle where a maintenance calibration takes the battery through
//a discharge-charge cycle.
//
// Target Types: DPT_SCSI_HBA
// Input Data: uCHAR (0 = Initial calibration)
// (1 = Maintenance calibration)
// Return Data: None
//==========================================================================
// Absent object messages
//==========================================================================
//
#define MSG_ABS_NEW_OBJECT 0x0044L
//
// Description:
// Create an absent SCSI object.
//
// Target Types: Any SCSI manager
// Input Data: set info structure for the device type (optional)
// Return Data: ID of new object (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_ABS_SET_INFO 0x0045L
//
// Description:
// Set information about an object.
//
// Target Types: All
// Input Data: The object's information structure
// Return Data: None
//--------------------------------------------------------------------------
//==========================================================================
// Messages to get/set object data
//==========================================================================
//
#define MSG_GET_INFO 0x0046L
//
// Description:
// Returns an engine object's information structure.
//
//--- Future -----------------------------------------------------------
// Return information from an engine object. If no input data
//type is specified, all the object's data is returned. If one or more
//data types are specified, the data structures associated with the
//specified data types are returned sequentially.
//--- End Future -------------------------------------------------------
//
// Target Types: All
// Input Data: List of data types to be returned
// (Optional - uSHORT array)
// Return Data: The object's information structure
//--------------------------------------------------------------------------
//
#define MSG_GET_USER_BUFF 0x0047L
//
// Description:
// Return's the target object's user information buffer.
//
// Target Types: All
// Input Data: None
// Return Data: uCHAR userBuff[USER_BUFF_SIZE]
//--------------------------------------------------------------------------
//
#define MSG_SET_USER_BUFF 0x0048L
//
// Description:
// Sets the target object's user information buffer.
//
// Target Types: All
// Input Data: uCHAR userBuff[USER_BUFF_SIZE]
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_DPT_NAME 0x0049L
//
// Description:
// Gets the target device's DPT name field
//
// Target Types: Any device
// Input Data: None
// Return Data: uCHAR dptName[DPT_NAME_SIZE]
//--------------------------------------------------------------------------
//
#define MSG_SET_DPT_NAME 0x004aL
//
// Description:
// Sets the target device's DPT name field
//
// Target Types: Any device
// Input Data: uCHAR dptName[DPT_NAME_SIZE]
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_ENGINE_SIG 0x004bL
//
// Description:
// Returns the engine's DPT signature.
//
// Target Types: Any device
// Input Data: None
// Return Data: dpt_sig_S
//--------------------------------------------------------------------------
//
#define MSG_GET_DRIVER_SIG 0x004cL
//
// Description:
// Returns the driver's DPT signature.
//
// Target Types: Any device
// Input Data: None
// Return Data: dpt_sig_S
//--------------------------------------------------------------------------
//
#define MSG_GET_SYSTEM_INFO 0x004dL
//
// Description:
// Returns the system information structure
//
// Target Types: Any device
// Input Data: None
// Return Data: System information
//--------------------------------------------------------------------------
//
#define MSG_GET_IO_STATS 0x004eL
//
// Description:
// Returns I/O statistics information for the target object.
//
// Target Types: DPT_SCSI_DASD
// DPT_SCSI_HBA
// Input Data: None
// Return Data: Statistics Information
// If DPT_SCSI_DASD = devStats_S
// If DPT_SCSI_HBA = hbaStats_S
//--------------------------------------------------------------------------
//
#define MSG_CLEAR_IO_STATS 0x004fL
//
// Description:
// Clears the I/O statistics information for the target object.
//
// Target Types: DPT_SCSI_DASD
// DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_HBA_STATS 0x0050L
//
// Description:
// Returns HBA specific statistics information.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: Statistics Information
// If DPT_SCSI_DASD = devStats_S
// If DPT_SCSI_HBA = hbaStats_S
//--------------------------------------------------------------------------
//
#define MSG_CLEAR_HBA_STATS 0x0051L
//
// Description:
// Clears the HBA specific statistics information.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_BATTERY_INFO 0x00e2L
//
// Description:
// Gets the backup battery information structure.
//
// Target Types: DPT_SCSI_HBA
// Input Data: uCHAR (optional - returns current values if not specified)
// 0 = Get current values
// 1 = Get default values
// Return Data: dptBatteryInfo_S
//--------------------------------------------------------------------------
//
#define MSG_SET_BATTERY_THRESHOLDS 0x00e3L
//
// Description:
// Gets the backup battery information structure.
//
// Target Types: DPT_SCSI_HBA
// Input Data: dptBatteryThreshold_S
// Return Data: None
//--------------------------------------------------------------------------
//==========================================================================
// SCSI device messages
//==========================================================================
//
#define MSG_FORCE_STATE 0x0052L
//
// Description:
// Force an HBA physical device into a specified state.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: Desired State (BYTE)
// FORCE_OPTIMAL
// FORCE_WARNING
// FORCE_FAILED
// FORCE_REPLACED
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_UPDATE_STATUS 0x0056L
//
// Description:
// Update the target object's status.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: None
// Return Data: dptStatus_S
//--------------------------------------------------------------------------
//
#define MSG_UPDATE_ALL_STATUS 0x0057L
//
// Description:
// Update the status of all object's attached to this manager
// and all sub-manager's.
//
// Target Types: Any DPT Manager
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_SCSI_CMD 0x0058L
//
// Description:
// Send a SCSI command to an object (pass through).
//
// Target Types: All
// Input Data: controlFlags (uSHORT)
// Bit #: Description:
// ------ ------------
// 0 SCSI Bus Reset
// 1 HBA initialize
// 2-4 reserved by EATA
// 5 Interpret override
// 6 Data Out
// 7 Data In
// 8 Do not set physical bit (force physical bit
// cleared when targeting physical devices)
// 9-14 reserved (unused)
// 15 RAID command (Set SW/FW bits)
// dataLength (uLONG)
// scsiCDB (12 bytes)
// write data (if Data Out is set)
// Return Data: read data (if Data In is set)
//--------------------------------------------------------------------------
//
#define MSG_SCSI_READ 0x0059L
//
// Description:
// Perform a SCSI read command to a device.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: Start LBA (uLONG)
// # of blocks (uSHORT)
// Return Data: Data read from the target device
//--------------------------------------------------------------------------
//
#define MSG_SCSI_WRITE 0x005aL
//
// Description:
// Perform a SCSI write command to a device.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: Start LBA (uLONG)
// # of blocks (uSHORT)
// Data to write to the target device
// Return Data: None
//
//--------------------------------------------------------------------------
//
#define MSG_SCSI_FORMAT 0x005bL
//
// Description:
// Issue a SCSI format command to a device. This will perform
// the device's default format which may or may not include a
// certification process depending on the device.
//
// Note: In order to specify an initialization pattern, a block size
// must be specified. Specify a block size of zero if the block
// size should not be set.
//
// Note: This message will return MSG_RTN_COMPLETED if the format
// successfully completed. MSG_RTN_STARTED will be returned
// if the format was successfully started and is in progress.
// If the return immediate bit was set but the command could
// not return immediately, the format cmd will still be issued,
// but it will not return until the format has completed.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: Control Flags (uSHORT)
// Bit: Description, If set...
// ---- ----------------------
// 0 Disable certification
// 1 Return immediate
// (if possible - check return code)
// 3 Allow drive to compute # sectors/track
// Block Size (Sector Size) (Optional - uSHORT)
// (Zero = No change)
// Initialization pattern (Optional - uSHORT)
// Return Data: None
//--------------------------------------------------------------------------
//
//
#define MSG_SET_EMULATION 0x005dL
//
// Description:
// Sets the emulation parameters for a device. To remove
//emulation parameters from a drive send this message with cylinders = 0.
//
// Target Types: DPT_SCSI_DEVICE
// Input Data: Drive # (uSHORT) (1=D:, 0=C:)
// Emulated Parameters (dptCemuParam_S)
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API
#define MSG_SET_RB_BUFFER 0x005eL
//
// Description:
// Save a 128 byte buffer to the reserve block of the target drive.
//
// Target Types: DPT_SCSI_DASD
// Input Data: 128 byte buffer (uCHAR[128])
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API
#define MSG_GET_RB_BUFFER 0x005fL
//
// Description:
// Read a 128 byte buffer from the reserve block of the target drive.
//
// Target Types: DPT_SCSI_DASD
// Input Data: None
// Return Data: 128 byte buffer (uCHAR[128])
//--------------------------------------------------------------------------
#define MSG_CHECK_BUSY 0x00f0L
//
// Description:
// Determines if a device is busy. A device may be flagged as
//busy because it is mounted in the operating system or otherwise
//in a state which indicates the device should not be included in
//an array. If this message is sent to an HBA object, the busy
//checking logic is initialized/re-initialized. This message will
//return a MSG_RTN_IGNORED status if the engine doesn't support the
//busy logic.
//
// Target Types: DPT_SCSI_DASD
// DPT_SCSI_HBA
// Input Data: None
// Return Data: uLONG Busy
// 0 = Not busy
// 1 = Busy
//--------------------------------------------------------------------------
//==========================================================================
// Miscellaneous Messages
//==========================================================================
//
#define MSG_DELETE 0x0060L
//
// Description:
// Attempts to delete the target object.
//
// Note:
// 1. If targeted for a RAID device, its components are restored
// as individual devices.
//
// Target Types: All
// Input Data: Tag of object to be deleted (DPT_TAG_T)
// Return Data: None
//------------------------------------------------------------------------
//
#define MSG_DELETE_ALL 0x0061L
//
// Description:
// Deletes all objects in the connection except the driver.
//
//
// Target Types: 0
// Input Data: None
// Return Data: None
//------------------------------------------------------------------------
//
#define MSG_GET_CONFIG 0x0062L
//
// Description:
// Returns the system configuration as a binary data stream.
//
//
// Target Types: 0
// Input Data: None
// Return Data: System Configuration (binary data)
//------------------------------------------------------------------------
//
#define MSG_SET_CONFIG 0x0063L
//
// Description:
// Loads the system configuration from a binary data stream.
//
//
// Target Types: 0
// Input Data: System Configuration (binary data)
// Return Data: None
//------------------------------------------------------------------------
//
#define MSG_RAID_SET_CONFIG 0x0064L
//
// Description:
// Overlay the specified RAID configuration onto the current
//system configuration.
//
//
// Target Types: 0
// Input Data: System Configuration (binary data)
// Return Data: None
//==========================================================================
// DPT Event Logger Messages
//==========================================================================
//
#define MSG_LOG_READ 0x0065L
//
// Description:
// Non-destructively read the target HBA's event log.
//
// Target Types: DPT_SCSI_HBA
// Input Data: offset (optional - uLONG)
// Return Data: HBA event log information
//--------------------------------------------------------------------------
//
#define MSG_LOG_CLEAR 0x0066L
//
// Description:
// Clear the target HBA's event log.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_SET_HBA_FILTER 0x0067L
//
// Description:
// Set the target HBA's event log control word.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Event log control word (uLONG)
// Save to NV flag (optional - uCHAR)
// 0 = Temporary change (do not save to NV)
// 1 = Save change to NV (Default)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_SET_STATUS 0x0068L
//
// Description:
// Set the DPT event logger's event filter.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Event logger filter
// Save to NV flag (optional - uCHAR)
// 0 = Temporary change (do not save to NV)
// 1 = Save change to NV (Default)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_REGISTER 0x0069L
//
// Description:
// Register the DPT event logger with the engine. This message
//should only be sent by the DPT logger when it is prepared to log
//events.
//
// Target Types: 0
// Input Data: OS dependent
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_UNREGISTER 0x006aL
//
// Description:
// Unregister the DPT event logger from the engine. This message
//should only be sent by the DPT logger when it can no longer log events.
//After this message is sent to the engine, all MSG_LOG_READ requests
//with go directly to the HBA's event log.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_LOAD 0x006bL
//
// Description:
// Requests that the DPT event logger be loaded.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_UNLOAD 0x006cL
//
// Description:
// Requests that the DPT event logger be unloaded.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_START 0x006dL
//
// Description:
// Requests that the DPT event logger begins logging events.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_STOP 0x006eL
//
// Description:
// Requests that the DPT event logger stops logging events.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_GET_STATUS 0x006fL
//
// Description:
// Gets the DPT event logger status.
//
// Target Types: 0
// Input Data: None
// Return Data: Event logger status (filter level, logger loaded...)
//--------------------------------------------------------------------------
//
#define MSG_LOG_GET_SIG 0x0070L
//
// Description:
// Gets the DPT event logger signature structure.
//
// Target Types: 0
// Input Data: None
// Return Data: Event logger signature (dpt_sig_S)
//--------------------------------------------------------------------------
//
#define MSG_RAID1_SET_TARGET 0x0071L
//
// Description:
// Sets the target device as the target drive for a RAID-1
//rebuild (copy) operation. This message should be issued after the
//RAID-1 device has been created in the engine but before a
//MSG_RAID_HW_ENABLE has been issued.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_DIAGNOSTICS_ON 0x0072L
//
// Description:
// Indicates that the target object is performing diagnostics.
//
// Target Types: Any Object
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_DIAGNOSTICS_OFF 0x0073L
//
// Description:
// Clears the diagnostics in progress flag.
//
// Target Types: Any Object
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_DEL_ALL_EMULATION 0x0074L
//
// Description:
// Deletes all emulated drives from the system.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_LOG_SAVE_PARMS 0x0075L
//
// Description:
// Instructs the DPT logger to save its parameters.
//
// Target Types: 0
// Input Data: None
// Return Data: Event logger status (filter level, logger loaded...)
//--------------------------------------------------------------------------
//
#define MSG_DOWNLOAD_FW 0x0076L
//
// Description:
// Downloads FW code to an HBA's non-removable DASD devices.
//
// Target Types: 0
// Input Data: Download cmd (uLONG)
// if (downLoadCmd==FWD_INITIALIZE) {
// Number of blocks (512 bytes) of FW code to
// be downloaded (uSHORT)
// }
// else if (downLoadCmd==FWD_ABORT) {
// Nothing
// }
// else {
// FW Code (Data buffer)
// }
//
// Return Data: None
// Maximum size of downloadable FW code
#define FW_CODE_BLKS 0x0100
// Download cmd values:
// Used to initialize a FW download
#define FWD_INITIALIZE 0x80000000L
// Used to abort a FW download
#define FWD_ABORT 0xc0000000L
//--------------------------------------------------------------------------
//
#define MSG_DEACTIVATE_FW 0x0077L
//
// Description:
// Remove the downloaded firmware from the target HBA's drives.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Automatically done by the engine at scan time
#define MSG_RESERVE_BLOCKS 0x0078L
//
// Description:
// Reserve blocks at the end of the target device for use by DPT.
// Reserved blocks are used for storing non-volatile config. info,
// a RAID table, and downloaded FW code.
//
// Target Types: 0
// Input Data: Number of Blocks to reserve (uSHORT)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_COMPATABILITY 0x0079L
//
// Description:
// Returns the engine compatability indicator. The first engine
//released did not support this message. All subsequent releases of
//the DPT engine will increment the compatability indicator, if the
//engine changes in some way as to make it incompatable with
//applications written for an older engine. Reasons for incompatability
//would include a change in the data structures returned by the engine.
//
//
// Target Types: 0
// Input Data: None
// Return Data: Engine compatability indicator (uLONG)
//--------------------------------------------------------------------------
//
#define MSG_SET_MODE_PAGE 0x007bL
//
// Description:
// Sends the specified mode page to the target object.
//
// Target Types: All
// Input Data: Mode flags (uCHAR)
// Bit 7 = Use a 10 byte mode sense CDB
// Bit 6 = Force the interpret bit to be set
// Bits 5 = Do not set physical bit (force physical bit
// cleared when targeting physical devices)
// Bits 4-2 = Unused
// Bit 1 = Do not set page format bit
// Bit 0 = Do not set save page bit
// Unused (uCHAR)
// Mode page data
// Return Data: None
//
// Note: A 6 byte mode select SCSI CDB will be used unless bit #7 is set
// in the flags byte or if there is more than 0xfb bytes of mode
// page data
//--------------------------------------------------------------------------
//
#define MSG_SET_INFO 0x007cL
//
// Description:
// Set an engine object's data structure. Set's the specified
//data structure for the target engine object. A valid data type
//must be specified for this command to complete successfully.
//
// Target Types: All
// Input Data: Data Type (uSHORT)
// Data structure (For the specified data type)
// Return Data: None
//
//--------------------------------------------------------------------------
//
#define MSG_GET_NV_INFO 0x007dL
//
// Description:
// Gets the contents of the target HBA's non-volatile memory.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: Contents of the target HBA's non-volatile
// memory. (128 bytes)
//
//--------------------------------------------------------------------------
//
#define MSG_SET_NV_INFO 0x007eL
//
// Description:
// Sets the contents of the target HBA's non-volatile memory.
//The engine will automatiically compute the checksum prior to
//writing the data to the NV RAM. This message should be used in
//conjunction with MSG_GET_NV_INFO to modify an HBA's non-volatile
//RAM.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Contents of the target HBA's non-volatile
// memory. (128 bytes)
// Return Data: None
//
//--------------------------------------------------------------------------
//
#define MSG_ID_ALL_HIDDEN 0x007fL
//
// Description:
// Returns the ID structure of all non-component devices that are
// not visible to the OS. For each device found, the device's component
// list is traversed.
//
// Target Types: 0
// Input Data: None
// Return Data: List of hidden devices (dptID_S)
//
//--------------------------------------------------------------------------
//NOT_IN_API - Only meaningful to the DPT statistics logger
#define MSG_STATS_LOG_REGISTER 0x0080L
//
// Description:
// Register the DPT stats logger with the engine. This message
// should only be sent by the DPT stats logger when it is prepared to
// log events.
//
// Target Types: 0
// Input Data: OS dependent
// Return Data: None
//--------------------------------------------------------------------------
//NOT_IN_API - Only meaningful to the DPT statistics logger
#define MSG_STATS_LOG_UNREGISTER 0x0081L
//
// Description:
// Unregister the DPT stats logger from the engine. This message
// should only be sent by the DPT stats logger when it can no longer
// log events.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_STATS_LOG_GET_STATUS 0x0082L
//
// Description:
// Returns the control structures used to control the stats
// collecting behavior of the specifed target.
//
// Target Types: DPT_SCSI_HBA or DPT_SCSI_DASD
// Input Data: None
// Return Data: List of control structures (StatControl_S)
//--------------------------------------------------------------------------
//
#define MSG_STATS_LOG_SET_STATUS 0x0083L
//
// Description:
// Sets the stats collecting behavior of the specified
// target object.
//
// Target Types: DPT_SCSI_HBA or DPT_SCSI_DASD
// Input Data: Stat group number (uLONG)
// Collection frequency flag (uLONG)
// Record data flags (uLONG)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_STATS_LOG_READ 0x0084L
//
// Description:
// Sets the stats collecting behavior of the specified
// target object.
//
// Target Types: DPT_SCSI_HBA or DPT_SCSI_DASD
// Input Data: Stat group number (uLONG)
// Collection frequency flag (uLONG)
// Record data flags (uLONG)
//
// optional - Starting time (dptTime_S)
// optional - Ending time (dptTime_S)
//
// Return Data: StatsHeader_S
// Requested info
//--------------------------------------------------------------------------
//
#define MSG_FLASH_SWITCH_INTO 0x0085L
//
// Description:
// Attempts to switch the target HBA from operational mode
// into flash mode.
//
// Note:
// 1. It is not necesary to issue this command prior to programming
// the flash since the first write command will automatically
// switch into flash mode and erase the flash.
//
// 2. In flash mode the HBA will only respond to flash related commands
// and the standard SCSI inquiry command.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_FLASH_SWITCH_OUT_OF 0x0086L
//
// Description:
// Attempts to switch the target HBA from flash mode into
// operational mode. This message causes firmware to perform
// a "cold" boot. Since firmware is going through its normal
// power up boot process if a flash checksum failure is detected,
// the boot code could keep the HBA in flash mode.
// If a non-zero input (to engine) byte is specified, the firmware
// will attempt to switch into operational mode by-passing the flash
// checksum verification. This allows the flash programming software
// to burn the flash, switch to operational mode to verify correct
// firmware functionality, switch back into flash mode, then burn the
// flash checksum. This insures that the checksum is only written
// if the firmware that was burned into the flash is operational
// (at least operational enough to switch back into flash mode).
//
// Target Types: DPT_SCSI_HBA
// Input Data: Skip Checksum Test (uCHAR)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_FLASH_WRITE 0x0087L
//
// Description:
// Writes the specified data to the HBA's flash memory. Each
// successive MSG_FLASH_WRITE command writes to the flash memory
// starting where the previous MSG_FLASH_WRITE command left off.
// The DPT engine will automatic verify each write to the flash
// memory. The number of bytes written with each MSG_FLASH_WRITE
// message must be an even multiple of 512 (512, 1024, 1536, 2048...)
//
// Note:
// 1. The first write command issued will cause the firmware
// to switch into flash mode and erase the flash memory.
//
// 2. If the first write command fails with an ERR_FLASH_SWITCH_MODES
// return code, the firmware was unable to switch into flash
// mode for one of the following reasons:
// A. There was dirty cache data
// B. There was an active build, rebuild, verify, or diagnostic
// C. There was some other outstanding condition that could
// have caused data corruption if a mode switch was made.
// If unable to switch into flash mode, insure that all builds,
// rebuilds, verifies, and diagnostics are stopped and try again.
//
// 3. In flash mode the HBA will only respond to flash related commands
// and the standard SCSI inquiry command.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Data to be written to the flash
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_FLASH_WR_NO_VERIFY 0x0088L
//
// Description:
// This message is identical to the MSG_FLASH_WRITE message
// except the engine will not verify each write to the flash memory.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Data to be written to the flash
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_FLASH_WRITE_DONE 0x0089L
//
// Description:
// This message must be sent to the HBA after all data has
// been written to the flash memory. This message causes flash
// memory checksums to be computed for data integrity purposes.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_FLASH_READ 0x008aL
//
// Description:
// This message reads the specified number of bytes from
// the specified offset within the HBA's flash memory. This flash
// command is supported from operational mode.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Offset (uLONG)
// Number of bytes (uLONG)
// Return Data: Flash data
//--------------------------------------------------------------------------
//
#define MSG_FLASH_STATUS 0x008bL
//
// Description:
// This message returns detailed status information about
// the HBA's flash memory.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: flash write offset (uLONG)
// f/w status 0 (uLONG)
// 0 = Partial status info is contained in the
// following dptFlashStatus_S
// 1 = Complete status info is contained in the
// following dptFlashStatus_S
// flash status (dptFlashStatus_S)
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
// No longer supported
#define MSG_DIAG_SCHEDULE 0x008cL
//
// Description:
// Schedules a firmware level diagnostic to be performed on
// the target device.
//
// Target Types: DPT_SCSI_DASD (F/W Array or F/W physical only)
// Input Data: Test Type (uCHAR)
// 1 = Buffer Read
// 2 = Buffer Read/Write
// 3 = Media Read
// 4 = Media Read/Write
// Flags (uCHAR)
// 0x010 = Random sectors (Applies to media tests only)
// Maximum Error Count (uSHORT)
// Number of Iterations (uLONG)
// If random sectors = # sectors to test
// If sequential sectors = # complete test iterations
// If zero = perform test indefinately (forever)
// Start Time (uLONG) - Absolute time in seconds
// since Jan. 1, 1970
// If zero = Start test immediately
// Repeat Rate (uLONG) - In seconds, This number
// is added to the absolute start time to
// determine the next start time
// If zero = Execute test 1 time only
// Return Data: None
//--------------------------------------------------------------------------
// No longer supported
#define MSG_DIAG_UNSCHEDULE 0x008dL
//
// Description:
// This message unschedules a diagnostic on a device. This
// message deletes a diagnostic scheduled with MSG_DIAG_SCHEDULE.
//
// Target Types: DPT_SCSI_DASD (F/W Array or F/W physical only)
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
// No longer supported
#define MSG_DIAG_STOP 0x008eL
//
// Description:
// This message stops an active diagnostic on the target device.
// This message will not unschedule the diagnostic, it merely stops
// the diagnostic until the next scheduled start time.
//
// Target Types: DPT_SCSI_DASD (F/W Array or F/W physical only)
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
// No longer supported
#define MSG_DIAG_EXCLUDE 0x008fL
//
// Description:
// Sets an exclusion period in which no firmware based diagnostics
// and no RAID rebuilds or verifies can be performed.
//
// Target Types: DPT_SCSI_HBA
// Input Data: Start of exclusion period (uCHAR)
// 24hr counter w/ 1 hour resolution
// Ex. 0 = 12:00am (Midnight)
// 1 = 1:00am
// 2 = 2:00am
// 12 = 12:00pm (Noon)
// 23 = 11:00pm
// Values greater than 23 are invalid
// End of exclusion period (uCHAR)
// Same units as above
// Return Data: None
//--------------------------------------------------------------------------
// No longer supported
#define MSG_DIAG_GET_SCHEDULE 0x0090L
//
// Description:
// Returns firmware based diagnostic scheduling information
// for the target device. This command should only be issued
// if dptDevInfo_S.scheduledDiag is non-zero (a diagnostic is
// scheduled).
//
// Target Types: DPT_SCSI_DASD (F/W Array or F/W physical only)
// Input Data: None
// Return Data: Test Type (uCHAR)
// 1 = Buffer Read
// 2 = Buffer Read/Write
// 3 = Media Read
// 4 = Media Read/Write
// Flags (uCHAR)
// 0x40 = All sectors sequentially
// (else random sectors)
// (Applies to media tests only)
// Maximum Error Count (uSHORT)
// Number of Iterations (uLONG)
// If random sectors = # sectors to test
// If sequential sectors = # complete test iterations
// If zero = perform test indefinately (forever)
// Start Time (uLONG) - Absolute time in seconds
// since Jan. 1, 1970
// If zero = Start test immediately
// Repeat Rate (uLONG) - In seconds, This number
// is added to the absolute start time to
// determine the next start time
// If zero = Execute test 1 time only
// Time until test begins (in minutes) (uSHORT)
//--------------------------------------------------------------------------
//
#define MSG_RAID_GET_LIMITS 0x0091L
//
// Description:
// Returns an HBA's RAID array limit information.
//
// Target Types: DPT_SCSI_HBA
// Input Data: None
// Return Data: Firmware array limit info (dptArrayLimits_S)
//--------------------------------------------------------------------------
//
#define MSG_SMART_EMUL_ON 0x0092L
//
// Description:
// Turns SMART emulation on for the target device.
//
// Target Types: DPT_SCSI_DASD
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_SMART_EMUL_OFF 0x0093L
//
// Description:
// Turn SMART emulation off for the target device.
//
// Target Types: DPT_SCSI_DASD
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_FLASH_SET_REGION 0x0094L
//
// Description:
// This message sets the region to flash for Gen 5 HBA
//
// Target Types: DPT_SCSI_HBA
// Input Data: Region to flash (uLONG)
// 0 = Firmware
// 1 = BIOS
// 2 = Utility
// 3 = NVRAM
// 4 = Serial number
// BootBlockSize (uLONG) - firmware image only
// Bits 0-7 = BootBlockSize in 16k units
// Bit 13 = If set bottom aligned f/w image
// else top aligned f/w image (bit 0x2000)
// ImageSize in bytes (uLONG) - firmware image only
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RESERVE_DEVICE 0x00f2L
//
// Description:
// Issue a SCSI "reserve" command to a device to obtain exlcusive
//access to the device. This commands will only succeed if the device
//is not already reserved by another host. This message may target
//physical drives, arrays, or HBAs. If an HBA is targeted, the HBA
//attempts to gain exlusive access to all devices. If an array is
//targeted, the HBA attempts to gain exclusive access to all underlying
//physical drives.
//
// Target Types: DPT_SCSI_HBA, DPT_SCSI_DASD
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_RELEASE_DEVICE 0x00f3L
//
// Description:
// Issue a SCSI "release" command to a device to release exlusive
//access to the device. This command undoes the exclusive lock
//obtained with a "MSG_RESERVE_DEVICE" command. This message may
//target physical drives, arrays, or HBAs. If an HBA is targeted,
//the HBA attempts to release all devices. If an array is targeted,
//the HBA attempts to release all underlying physical drives.
//
// Target Types: DPT_SCSI_HBA, DPT_SCSI_DASD
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_SET_ARRAY_DRIVE_SIZES 0x00f4L
//
// Description:
// This message sets an HBA's drive size list. The drive size list
//defines drive size ranges. Array components are rounded down to the
//lower limit of the range in which they fall. The purpose of this
//rounding is to allow physical drives within the same capacity range
//to be used interchangeably in an array.
//
// Target Types: DPT_SCSI_HBA
// Input Data: save (uLONG)
// if zero = make temp. change in DPT Engine
// else if non-zero = Save new drive size table in HBA's NVRAM
// # of entries(n) (uLONG)
// entry #1 (uLONG)
// ...
// entry #n (uLONG)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSG_GET_ARRAY_DRIVE_SIZES 0x00f5L
//
// Description:
// This message gets an HBA's drive size list. The drive size list
//defines drive size ranges. Array components are rounded down to the
//lower limit of the range in which they fall. The purpose of this
//rounding is to allow physical drives within the same capacity range
//to be used interchangeably in an array.
//
// Target Types: DPT_SCSI_HBA
// Input Data: none
// Return Data: max entries (uLONG)
// - Maximum number of entries firmware can store in NVRAM
// # of entries(n) (uLONG)
// entry #1 (uLONG)
// ...
// entry #n (uLONG)
//--------------------------------------------------------------------------
//
#define MSG_GET_MEMBANK_CAPACITIES 0x00f6L
//
// Description:
// This message returns the size of the memory in each SIMM slot in
//megabytes.
//
// Target Types: DPT_SCSI_HBA
// Input Data: none
// Return Data: membank0 (uLONG)
// membank1 (uLONG)
// membank2 (uLONG)
// membank3 (uLONG)
//--------------------------------------------------------------------------
//
#define MSG_GET_CHAN_INFO 0x00f7L
//
// Description:
// This message returns detailed channel information.
//
// Target Types: DPT_SCSI_HBA
// Input Data: none
// Return Data: # channels (uLONG)
// array of dptChanInfo2_S structures
// (one for each channel supported)
//--------------------------------------------------------------------------
//
#define MSG_RAID_SET_LUN_SEGMENTS 0x00f8L
//
// Description:
// This message sets the LUN segmenting on an array.
//
// Target Types: DPT_RAID_DEV
// Input Data: numSegments (uLONG) - number of arraySegment_S entries
// structSize (uLONG) - size of each arraySegment_S entry
// arraySegment_S (1 - 8 entries)
// Return Data: none
//--------------------------------------------------------------------------
//
#define MSG_RAID_GET_LUN_SEGMENTS 0x00f9L
//
// Description:
// This message gets the LUN segmenting of an array.
//
// Target Types: DPT_RAID_DEV
// Input Data: none
// Return Data: numSegments (uLONG) - number of arraySegment_S entries returned
// structSize (uLONG) - size of each arraySegment_S entry
// arraySegment_S[numSegments]
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
//==========================================================================
// Communication Messages
//
// Messages interpreted by the communication engine when not
// attached to an HBA engine.
//==========================================================================
//
#define MSGC_SCAN_FOR_END_PTS 0x00a0L
//
// Description:
// Builds a list of potential connection points. These connection
//points could be remote comm. engines or a DPT HBA engine located at
//the current communication end point.
//
// Target Types:
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_ID_END_PTS 0x00a1L
//
// Description:
// Returns the list of communication end points visible to the
//current end point. The communication end point list is built by
//performing a MSG_SCAN_FOR_END_POINTS.
//
// Target Types:
// Input Data: None
// Return Data: List of end point IDs
//--------------------------------------------------------------------------
//
#define MSGC_ID_COMM_MODULES 0x00a2L
//
// Description:
// Returns a list of communication modules (SPX, TLI, RS-232...)
//available at the current end point.
//
// Target Types:
// Input Data: None
// Return Data: List of comm. modules
//--------------------------------------------------------------------------
//
#define MSGC_SET_MOD_FLAGS 0x00a3L
//
// Description:
// Sets the specified bits in the target comm. module's user flag
//word.
//
// Target Types: Comm. module
// Input Data: Flag mask - Bits to set (uSHORT)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_CLR_MOD_FLAGS 0x00a4L
//
// Description:
// Clears the specified bits in the target comm. module's user flag
//word.
//
// Target Types: Comm. module
// Input Data: Flag mask - Bits to clear (uSHORT)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_DISCONNECT_ALL 0x00a5L
//
// Description:
// Disconnects from all end points up to the local comm. engine.
//This message allows a user to disconnect easily from a deeply nested
//comm. link.
//
// Target Types:
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//Obsolete - Replaced with MSGC_SET_PASSWORD and MSGC_SET_USERNAME
#define MSGC_LOGIN 0x00a6L
//
// Description:
// Logs a user into the target DPT engine. A user cannot
//connect to a DPT engine until a successfull MSG_LOGIN has been
//performed.
//
// Target Types: DPT engine module
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_ICRS_REQ_START 0x00a7L
//
// Description:
// Requests that an input connection search thread be started.
// This message does not start a search thread directly, it simply
// requests that a search thread be started. The local DPT comm.
// process is responsible for actually starting the search thread.
//
// Note: ICRS = Input Connection Request Search
//
// Target Types: DPT comm. module
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_ICRS_REQ_STOP 0x00a8L
//
// Description:
// Requests that an input connection search thread be stopped.
// This message sets a flag that is polled by the search thread
// function to determine if the search thread should terminate.
//
// Note: ICRS = Input Connection Request Search
//
// Target Types: DPT comm. module
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_ICRS_FULFILL_REQ 0x00a9L
//
// Description:
// This message fullfills a MSGC_ICS_START_REQ message. This
// message should typically only be sent by the local DPT comm.
// process. This message will start a child thread of the calling
// process.
//
// Note: ICRS = Input Connection Request Search
//
// Target Types: DPT comm. module
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_ICRS_START_THREAD 0x00aaL
//
// Description:
// This message performs a combination of a MSG_ICRS_START_REQ
// followed by a MSG_ICRS_FULLFILL_REQ. This function will start
// an input connection search thread as a child thread of the calling
// process. This message guarantees that the search thread will
// be a child thread of the calling process by insuring that no
// other process sends a successfull MSGC_ICRS_FULLFILL_REQ between
// the MSGC_ICRS_START_REQ and MSGC_ICRS_FULLFILL_REQ messages.
//
// Note: ICRS = Input Connection Request Search
//
// Target Types: DPT comm. module
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_LINK_ALIVE 0x00abL
//
// Description:
// This message is sent to a DPT comm. engine to keep the comm.
// link from timing out if no other messages are sent to the comm.
// engine.
//
// Target Types: 0
// Input Data: None
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_NEW_MODULE 0x00acL
//
// Description:
// This message adds a new master comm. module to the comm.
// engine. This message is only supported when calling the comm.
// engine entry point function (not supported remotely). This
// message is used to add serial port/modem modules to the comm.
// engine.
//
// Target Types: 0
// Input Data: Comm. Protocol (uSHORT)
// Protocol Specific
// Serial Port # (uSHORT)
// Baud Rate (uLONG)
// IRQ # (Optional - uSHORT)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_DSPLY_STD_OUT 0x00afL
//
// Description:
// This message displays the data specified in the "toEng_P"
// buffer to standard output.
//
// Target Types: 0
// Input Data: Display data (char[])
// Return Data: None
//--------------------------------------------------------------------------
#define MSG_ID_ALL_BROADCASTERS 0x000000b0L
//
// Description:
// Returns tag/type structured for all the broadcasters currently loaded with the
// logger
//
//
// Target Types: 0
// Input Data: None
// Return Data: array of LoggerID_S's
//--------------------------------------------------------------------------
#define MSG_ID_BROADCASTERS 0x000000b1L
//
// Description:
// Returns the broadcast modules currently loaded, or the list of broadcasters
// inside a module
//
//
//
// Target Types: 0
// Input Data:
//
// (DPT_TAG_T) 0 Will return a list of modules (DLLs, NLMs, etc)
// currently loaded
//
// or
//
// Module Tag Will return a list of the broadcasters inside the module
//
// Return Data: array of LoggerID_S's
//--------------------------------------------------------------------------
#define MSG_GET_BROADCASTER_INFO 0x000000b2L
//
// Description:
// Returns information about a broadcast module or a specific broadcaster
//
//
//
//
// Target Types: 0
//
// Input Data:
//
// (DPT_TAG_T) 0 For a module itself, will return a broadcastModuleCfg_S
//
// or
//
// Module Tag Will get information for the broadcaster inside the specified
// module.//
//
// if the first tag is 0 then enter the tag of the module
// otherwise the tag of the broadcaster inside the module
//
// Return Data: if first tag is 0: broadcastModuleCfg_S
// else: broadcasterCfg__S + broadcaster unique data
//--------------------------------------------------------------------------
#define MSG_SET_BROADCASTER_INFO 0x000000b3L
//
// Description:
// Sets changes to broadcasters and modules
//
//
//
// Target Types: 0
//
// Input Data:
//
// (DPT_TAG_T) 0 For a module itself
//
// or
//
// Module Tag Will get information for the broadcaster inside the specified
// module.
//
//
// if the first tag is 0 then insert the tag of the module
// otherwise the tag of the broadcaster inside the module
//
// if module tag is 0, insert a broadcasterModuleCfg_S else
// insert broadcasrerCfg_S + broadcaster specific info
//
// Return Data: none
//--------------------------------------------------------------------------
#define MSG_LOAD_BROADCAST_MODULE 0x000000b4L
//
// Description:
// Attempts to load a new broadcating module
//
//
//
//
// Target Types: 0
//
//
// Input Data: NULL terminated string
//
// Return Data: none
//
//--------------------------------------------------------------------------
#define MSG_UNLOAD_BROADCAST_MODULE 0x000000b5L
//
// Description:
// Unloads a currently running broadcast module
//
//
//
//
// Target Types: 0
//
//
// Input Data: (DPT_TAG_T) Module tag
//
// Return Data: none
//--------------------------------------------------------------------------
#define MSG_CREATE_BROADCASTER 0x000000b6L
//
// Description:
// Attempts to create a new broadcaster inside a specified module
//
//
//
//
// Target Types: 0
//
//
// Input Data: (DPT_TAG_T) Module tag
//
// Return Data: none
//--------------------------------------------------------------------------
#define MSG_DELETE_BROADCASTER 0x000000b7L
//
// Description:
// Removes a preexisting broadcaster
//
//
//
//
// Target Types: 0
//
//
// Input Data: (DPT_TAG_T) Module tag
// (DPT_TAG_T) Broadcaster Tag
//
// Return Data: none
//--------------------------------------------------------------------------
//
#define MSGC_SET_USERNAME 0x00b8L
//
// Description:
// This message sets the user name used to validate on a remote
//comm. engine server.
//
// Note: This message is used with MSGC_SET_PASSWORD to replace MSGC_LOGIN
//
// Target Types: 0
// Input Data: username (up to DPTCE_USERNAME_LEN chars)
// Return Data: None
//--------------------------------------------------------------------------
//
#define MSGC_SET_PASSWORD 0x00b9L
//
// Description:
// This message sets the password used to validate on a remote
//comm. engine server.
//
// Note: This message is used with MSGC_SET_USERNAME to replace MSGC_LOGIN
//
// Target Types: 0
// Input Data: password (up to DPTCE_PASSWORD_LEN chars)
// Return Data: None
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
//
#define MSG_STATS_LOG_CLEAR 0x00baL
//
// Description: Clears all the log files for the specified device
//
//
//
// Target Types: DPT_SCSI_HBA or DPT_SCSI_DASD
// Input Data: None
//
//
// Return Data: None
//
//
#define MSG_RAID_CHANGE 0x00bbL
//
// Description:
// Modifies a RAID device.
//
// Target Types: Any RAID manager
// Input Data: DPT_TAG_T (array tag)
// uCHAR flags
// bits
// 0 - Remove these components. Will only work for
// components that were added since the last ENABLE
// raidHeader_S
// List of raidCompList_S
// Return Data: None
//
#define MSG_GET_ACCESS_RIGHTS 0x00bcL
//
// Description:
// gets the current device access rights
//
// Target Types: Any device
// Input Data: none
//
// Return Data: dptMultiInitList_S (for a device) or a dptMultiInitPage_S + dptMultiInitList_S (for a hba)
//
#define MSG_SET_ACCESS_RIGHTS 0x00bdL
//
// Description:
// sets the current device access rights
//
// Target Types: Any device
// Input Data:
// if target is the hba: dptMultiInitPage_S
// uCHAR options
//
// 0 - if set acquire new rights
// 1 - if set make changes permament
//
// dptMultiInitList_S (for a device, if sent to the hba all devices will get these rights)
//
// Return Data: none (for a device) or a list of device tags that failed (if sent to a hba)
//
// NOTE: You can not set the rights on a component of an array, the engine will
// automatically set the options of the array if the message is sent to a
// component
//
#define MSG_GET_BROADCASTER_SIG 0x00beL
//
// Description:
// gets the broadcat module sig
//
// Target Types: 0
// Input Data: 0, module tag
//
// Return Data: dpt_sig_S
#define MSG_ASSIGN_NEW_MAGIC_NUM 0x00bfL
//
// Description:
// gives new magic numbers to arrays
//
// Target Types: RAID MGR
// Input Data: none
//
// Return Data: none
#define MSG_GET_NUM_HW_ENABLES 0x00c0L
//
// Description:
// returns the number of MSG_RAID_HW_ENABLE's that have come down the pike
//
// Target Types: 0
// Input Data: none
//
// Return Data: uLONG in big endian format
#define MSG_ALMS_ID_ALERTS 0x00c1L
//
// Desc: Returns the IDs of all known alerts
//
// target: 0
// input: 0
// output: LoggerID_S's
#define MSG_ALMS_ID_USERS 0x00c2L
//
// Desc: Returns the IDs of all known users or the users associated with an alert
//
// target: 0
// input: 0 for complete user list
// alert tag for users this alert is to be sent to
// output: LoggerID_S's
#define MSG_ALMS_ID_EVENTS 0x00c3L
//
// Desc: Get the IDs of the events associated with an alert or in an event group
//
// target: 0
// input: event folder tag or alert tag
// output: LoggerID_S's
#define MSG_ALMS_ID_EVENT_FOLDER 0x00c4L
//
// Desc: Gets the ids of evetn groups
//
// target: 0
// input: 0
// output: LoggerID_S's
#define MSG_ALMS_ID_SERVERS 0x00c5L
//
// Desc: Gets the ids of either all the known server, the servers associated with an alert or a users server
//
// target: 0
// input: alert tag or user tag or server location tag
// output: LoggerID_S's
#define MSG_ALMS_ID_SERVER_LOCATIONS 0x00c6L
//
// Desc: Gets the id of server locations
//
// target: 0
// input: 0
// output: LoggerID_S's
#define MSG_ALMS_ID_MOVEABLE_RESOURCE_FOLDER 0x00c7L
//
// Desc: Gets the ids of resource groups that can be assigned to different users
//
// target: 0
// input: 0
// output: LoggerID_S's
#define MSG_ALMS_ID_ALERT_SCHEDULE 0x00c8L
//
// Desc: Gets the ids of schedules for a certain alert/user
//
// target: 0
// input: alert tag
//
// user tag (optional)
// broadcast method type (optional)
// output: LoggerID_S's
#define MSG_ALMS_GET_INFO 0x00c9L
//
// Desc: gets the info of an object
//
// target: 0
// input: tag of resource
// output: alertInfo_C or userInfo_C or serverInfo_C or serverLocationInfo_C or beeperInfo_C or
// eventInfo_C or eventFolderInfo_C or moveableResourceFolderInfo_C
#define MSG_ALMS_SET_INFO 0x00caL
//
// Desc: sets the info of an object
//
// target: 0
// input: tag of resource
// alertInfo_C or userInfo_C or serverInfo_C or serverLocationInfo_C or beeperInfo_C or
// eventInfo_C or eventFolderInfo_C or moveableResourceFolderInfo_C
// output: none
#define MSG_ALMS_CREATE 0x00cbL
//
// Desc: create an object inside the alert manager
//
// target: 0
// input: type of resource
//
// If creating a scheduleTimesInfo you need to add the following items:
// uLONG broadcast type
// DPT_TAG_T user tag
//
// output: LoggerID_S
#define MSG_ALMS_DELETE 0x00ccL
//
// Desc: deletes an object inside the alert manager
//
// target: 0
// input: tag
// output: LoggerID_S if object is still linked to another
#define MSG_ALMS_LINK 0x00cdL
//
// Desc: links a resource to another, used to assmeble the pieces on an alert
//
// target: 0
// input: tag of resource to link
// tag of resource to be linked to
// output: none
#define MSG_ALMS_UNLINK 0x00ceL
//
// Desc: unlinks a resource from another
//
// target: 0
// input: tag of resource to unlink
// tag of resource to unlink from
// output: none
#define MSG_ALMS_ACTIVATE 0x00cfL
//
// Desc: the final message that activates an alert, does final sanity checking, if it passes the
// alert will be used
//
// NOTE: if a link or unlink command is sent to a piece in an alert, the alert is deactivated or
// if a set info is sent to an alert object itself it will also be deactivated
//
// target: 0
// input: tag of alert
//
// output: TBD
#define MSG_ALMS_ID_MOVEABLE_RESOURCES 0x00d0L
//
// Desc: Gets the ids of moveable resources
//
// target: 0
// input: 0 or
// DPT_TAG_T of resource folder
// output: LoggerID_S's
#define MSG_ALMS_EVENT_DATA 0x00d1L
//
// Desc: Sends the event data to the alert manager for further processing
//
// target: 0
// input: Log page 34
// output: none
#define MSG_ALMS_REGISTER 0x00d2L
//
// Desc: Tells the engine the alert manager is there
//
// target: 0
// input: none
// output: none
#define MSG_ALMS_UNREGISTER 0x00d3L
//
// Desc: Tells the engine that the alert manager is no longer there
//
// target: 0
// input: none
// output: none
#define MSG_GET_ENVIRON_INFO 0x00e0L
//
// Desc: gets information about the environmental conditions on/around the hba
//
// target: hba
// input: none
// output: dptHBAenviron_S
//
// NOTE: 0xffffffff in any field means there is no information
// temps are in celcius
#define MSG_SET_ENVIRON_INFO 0x00e1L
//
// Desc: sets environmental thresholds
//
// target: hba
// input: dptHBAenviron_S
// output: none
//
//--------------------------------------------------------------------------
//==========================================================================
// I2O specific messages
//==========================================================================
//
#define MSG_I2O_DMA_TEST 0x00e5L
//
// Description:
// Perform a DMA test on the controller. The DMA test will transfer
//512 bytes of data from one location to another. If the data is moved
//with PIO, the CPU will simply move the data without moving the data
//to a buffer in local or Domino memory. If the data is moved with
//DMA, the CPU will DMA the data from the source address to Domino memory
//and then to the destination address. This command can only fail if an
//ECC error is detected during the DMA from Domino memory to host memory.
//
// Target Types: Only I2O HBAs
// Input Data: uCHAR Flags (optional - assumed zero if not specified)
// Bit #0 = If set, use DMA transfer
// If cleared, use PIO transfer
// uCHAR Default flags (optional - assumed zero if not specified)
// Bit #0 = If set, use default source data byte
// Bit #1 = If set, use default destination data byte
// uCHAR Default source data (optional, ignore is "source data" is specified)
// uCHAR Default destination data (optional, ignored if "destination data" is specified)
// uCHAR[512] - Source data (optional - set to "default source data" if not specified and "default source data" is flagged for use)
// uCHAR[512] - Destination data (optional - set to "default destination data" if not specified and "default destination data" is flagged for use)
//
// Return Data: uCHAR[4] - Parameter Table ID (0x4B, little endian)
// uCHAR[4] - Parameter Table Length (528, little endian)
// uCHAR[512] - Destination Data
// uCHAR[16] - ECC Syndrome
//--------------------------------------------------------------------------
//
#define MSG_I2O_RAM_TEST 0x00e6L
//
// Description:
// Perform a RAM test on the controller. The RAM test verifies
//stuck bits by using a 55h/AAh pattern. RAM test commands will be
//rejected if the controller has dirty cache or outstanding commands.
//No commands can be issued to the controller during a RAM test. If
//the test completes without error, the result data will contain all
//zeroes. Thus, if both the "Expected Data" and "Actual Data" result
//fields are zero, no RAM errors were found.
//
//Note: The RAM test cannot be issued when the controller is in
//operational mode.
//
// Target Types: Only I2O HBAs
// Input Data: uCHAR Flags
// Bit #0 = If set, test Domino memory
// If cleared, test local memory
//
// Return Data: uLONG Failing Address (lower 32 bits)
// uLONG Failing Address (upper 32 bits)
// uCHAR Expected Data
// uCHAR Actual Data
//--------------------------------------------------------------------------
//
#define MSG_I2O_BIST 0x00e7L
//
// Description:
// MSG_I2O_BIST initiates the controller's built-in-self-test.
//The BIST command may be issued at any time, even while host commands
//are being processed. When BIST is received, the firmware will
//execute the same tests that are performed at power-up. The only
//modification to those tests is that the firmware will not be
//re-downloaded and the code segment of the firmware image in flash
//will simply be compare to the image in RAM. Also, the Domino RAM
//test will not be run if there are any active host commands or if
//there is dirty data in the cache. During the test, the I2O Message
//Unit and internal controller interrupts will be shutdown.
//
//Note: The complete firmware image contains a default data segment
//which has been changed since download. Therefore the image can
//neither be compared or re-downloaded.
//
// Target Types: Only I2O HBAs
// Input Data: none
//
// Return Data: uCHAR BIST Status
// 0 = BIST successful
// 1 = Flash compare failed
// 2 = Domino data path test failed
// 3 = PLX data path test failed
// 4 = Domino RAM test failed
//--------------------------------------------------------------------------
//
#define MSG_I2O_ID_PCI_OBJECTS 0x00e8L
//
// Description:
// Return a list of the PCI device objects associated with an I2O HBA.
//
// Target Types: Only I2O HBAs
// Input Data: none
// Return Data: List of object IDs (dptID_S)
//--------------------------------------------------------------------------
//
#define MSG_I2O_ACCESS_MEMORY 0x00e9L
//
// Description:
// Access memory associated with an I2O HBA.
//
// Target Types: Only I2O I/O Objects
// Input Data: uLONG Operation - The task to perform
// 0 = Reserved
// 1 = Read
// 2 = Write
// 3 = Write/Read (write followed by read of same location)
// 4 = Reserved
// 5 = Reserved
// uLONG Address Space
// 0 = PCI config. space
// 1 = BAR0 address space (BAR = base address register)
// 2 = BAR1 address space
// 3 = BAR2...
// uLONG Offset - offset within address space
// uLONG Size - size of the memory access (in bytes)
// uCHAR Data[Size] - data to write (if a write operation)
//
// Return Data: uCHAR Data[Size] - data read (if a read operation)
//--------------------------------------------------------------------------
//
#define MSG_I2O_IOP_RESET 0x00eaL
//
// Description:
// Issues an I2O ExecIopReset message to the HBA. Special driver
//support is required for this command to work.
//
// Target Types: Only I2O HBAs
// Input Data: none
// Return Data: uCHAR status
// 0 = Command timeout
// 1 = In progress
// 2 = Rejected
//--------------------------------------------------------------------------
//
#define MSG_I2O_OUTBOUND_INIT 0x00ebL
//
// Description:
// Issues an I2O ExecOutboundInit message to the HBA. Special driver
//support is required for this command to work.
//
// Target Types: Only I2O HBAs
// Input Data: uLONG Host page frame size (in bytes) - optional
// uSHORT Message frame size (# 32 bit words) - optional
// uCHAR Init code (reported with eacb ExecStatusGet) - optional
//
// Return Data: uCHAR status
// 0 = Command timeout
// 1 = In progress
// 2 = Rejected
// 3 = Failed
// 4 = Complete
//--------------------------------------------------------------------------
//
#define MSG_I2O_STATUS_GET 0x00ecL
//
// Description:
// Issues an I2O ExecStatusGet message to the HBA. Special driver
//support is required for this command to work.
//
// Target Types: Only I2O HBAs
// Input Data: none
//
// Return Data: I2O_EXEC_STATUS_GET_REPLY - This is an I2O defined structure
//--------------------------------------------------------------------------
//
#define MSG_I2O_SYS_TAB_SET 0x00edL
//
// Description:
// Issues an I2O ExecSysTabSet message to the HBA. Special driver
//support is required for this command to work.
//
// Target Types: Only I2O HBAs
// Input Data: uSHORT IOP ID
// uSHORT Host Unit ID
// uSHORT Segment Number
// uSHORT reserved
// uLONG Size of system table (in bytes) - If zero, defaults are used
// uLONG Size of private memory space declaration (in bytes) - If zero, defaults are use
// uLONG Size of private I/O space declaration (in bytes) - If zero, defaults are used
// System Table - This is an I2O defined structure
// Private memory space declaration - This is an I2O defined structure
// Private I/O space declaration - This is an I2O defined structure
//
// Return Data: Reply packet - default I2O reply packet
//--------------------------------------------------------------------------
//
#define MSG_I2O_SEND_MESSAGE 0x00eeL
//
// Description:
// Issues the specified I2O message to the HBA. The scatter/gather
//list in the I2O message frame describes the I/O buffers for the message.
//
// Target Types: Only I2O HBAs
// Input Data: I2O message frame
// Output Buffer #1
// Output Buffer #2
// Output Buffer #3...
//
// Return Data: I2O reply packet
// Input Buffer #1
// Input Buffer #2
// Input Buffer #3...
//--------------------------------------------------------------------------
//
#define MSG_I2O_RESYNC 0x00efL
//
// Description:
// Synchronizes the following software modules with firmware. When
//arrays are created/deleted TIDs are added/deleted in firmware.
//The operating system, the DPT driver, and the DPT engine all need
//to be synchronized with the current firmware configuration before
//they can utilize the new devices. This message ensures the various
//software modules are synchronized with the controller firmware.
//
// Target Types: Only I2O HBAs
// Input Data: uLONG Flags
// Bit:
// ----
// 0 = Perform a complete init. (issue IOP reset to controller etc.)
// This can be use to pull a controller out of a soft blink LED condition
// or to re-initialize a controller after performing hardware level diagnostics.
// 1 = Synchronize the DPT driver
// 2 = Synchronize the DPT engine (EATA to I2O layer)
// 3 = Synchronize the OS (device nodes)
//
// Return Data: none
//--------------------------------------------------------------------------
//***************************************************
//
// Last non-communication message number used: 0x0f9
//
//***************************************************
#endif
|