1 /******************************************************************************/
3 /* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 Broadcom */
5 /* All rights reserved. */
7 /* This program is free software; you can redistribute it and/or modify */
8 /* it under the terms of the GNU General Public License as published by */
9 /* the Free Software Foundation, located in the file LICENSE. */
13 /******************************************************************************/
15 #if INCLUDE_5701_AX_FIX
17 #include "bcm570x_mm.h"
20 LM_STATUS LM_LoadRlsFirmware(PLM_DEVICE_BLOCK pDevice)
22 T3_FWIMG_INFO FwImgInfo;
24 FwImgInfo.StartAddress = t3FwStartAddr;
25 FwImgInfo.Text.Buffer = (PLM_UINT8)t3FwText;
26 FwImgInfo.Text.Offset = t3FwTextAddr;
27 FwImgInfo.Text.Length = t3FwTextLen;
28 FwImgInfo.ROnlyData.Buffer = (PLM_UINT8)t3FwRodata;
29 FwImgInfo.ROnlyData.Offset = t3FwRodataAddr;
30 FwImgInfo.ROnlyData.Length = t3FwRodataLen;
31 FwImgInfo.Data.Buffer = (PLM_UINT8)t3FwData;
32 FwImgInfo.Data.Offset = t3FwDataAddr;
33 FwImgInfo.Data.Length = t3FwDataLen;
35 if (LM_LoadFirmware(pDevice,
37 T3_RX_CPU_ID | T3_TX_CPU_ID,
38 T3_RX_CPU_ID) != LM_STATUS_SUCCESS)
40 return LM_STATUS_FAILURE;
43 return LM_STATUS_SUCCESS;
46 #endif /* INCLUDE_5701_AX_FIX */