ncsi-pkt.h (188de5dd80b2b7986e75821374efb67081049b6e) ncsi-pkt.h (cb10c7c0dfd9e6fd3d69ced98b05cbd198c48cf6)
1/*
2 * Copyright Gavin Shan, IBM Corporation 2016.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */

--- 151 unchanged lines hidden (view full) ---

160
161/* OEM Response Packet as per NCSI Specification */
162struct ncsi_rsp_oem_pkt {
163 struct ncsi_rsp_pkt_hdr rsp; /* Command header */
164 __be32 mfr_id; /* Manufacture ID */
165 unsigned char data[]; /* Payload data */
166};
167
1/*
2 * Copyright Gavin Shan, IBM Corporation 2016.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */

--- 151 unchanged lines hidden (view full) ---

160
161/* OEM Response Packet as per NCSI Specification */
162struct ncsi_rsp_oem_pkt {
163 struct ncsi_rsp_pkt_hdr rsp; /* Command header */
164 __be32 mfr_id; /* Manufacture ID */
165 unsigned char data[]; /* Payload data */
166};
167
168/* Broadcom Response Data */
169struct ncsi_rsp_oem_bcm_pkt {
170 unsigned char ver; /* Payload Version */
171 unsigned char type; /* OEM Command type */
172 __be16 len; /* Payload Length */
173 unsigned char data[]; /* Cmd specific Data */
174};
175
168/* Get Link Status */
169struct ncsi_rsp_gls_pkt {
170 struct ncsi_rsp_pkt_hdr rsp; /* Response header */
171 __be32 status; /* Link status */
172 __be32 other; /* Other indications */
173 __be32 oem_status; /* OEM link status */
174 __be32 checksum;
175 unsigned char pad[10];

--- 254 unchanged lines hidden ---
176/* Get Link Status */
177struct ncsi_rsp_gls_pkt {
178 struct ncsi_rsp_pkt_hdr rsp; /* Response header */
179 __be32 status; /* Link status */
180 __be32 other; /* Other indications */
181 __be32 oem_status; /* OEM link status */
182 __be32 checksum;
183 unsigned char pad[10];

--- 254 unchanged lines hidden ---