u-boot/drivers/net/npe/include
Axel Lin a62cd29c98 net: Use ARRAY_SIZE at appropriate places
Use ARRAY_SIZE instead of having similar implementation in each drivers.
The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used
at all, so this patch removes it instead of converting it to use ARRAY_SIZE.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Ben Warren <biggerbadderben@gmail.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: York Sun <yorksun@freescale.com>
2013-08-19 12:34:18 -05:00
..
ix_error.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
ix_macros.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
ix_os_type.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
ix_ossl.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
ix_symbols.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
ix_types.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxAssert.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxAtmdAcc.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxAtmdAccCtrl.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxAtmm.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxAtmSch.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxAtmTypes.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxDmaAcc.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthAcc_p.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxEthAcc.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthAccDataPlane_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthAccMac_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthAccMii_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthAccQueueAssign_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthDB_p.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxEthDB.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxEthDBLocks_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthDBLog_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthDBMessages_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthDBPortDefs.h net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
IxEthDBQoS.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthMii_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxEthMii.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxEthNpe.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxFeatureCtrl.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxHssAcc.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxI2cDrv.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeA.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeDl.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxNpeDlImageMgr_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeDlMacros_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeDlNpeMgr_p.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxNpeDlNpeMgrEcRegisters_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeDlNpeMgrUtils_p.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxNpeMh.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeMhConfig_p.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxNpeMhMacros_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeMhReceive_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeMhSend_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeMhSolicitedCbMgr_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeMhUnsolicitedCbMgr_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxNpeMicrocode.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsal.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxOsalAssert.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBackward.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBackwardAssert.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBackwardBufferMgt.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBackwardCacheMMU.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBackwardMemMap.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBackwardOsServices.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBackwardOssl.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBufferMgt.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalBufferMgtDefault.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalConfig.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalEndianess.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalIoMem.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalMemAccess.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOem.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOs.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOsAssert.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOsBufferMgt.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOsIxp400.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOsIxp400CustomizedMapping.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOsTypes.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalOsUtilitySymbols.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsalTypes.h net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
IxOsalUtilitySymbols.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsBuffMgt.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsBuffPoolMgt.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsBufLib.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsCacheMMU.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsPrintf.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsServices.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsServicesComponents.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsServicesEndianess.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsServicesMemAccess.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxOsServicesMemMap.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxParityENAcc.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxPerfProfAcc.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxQMgr.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxQMgrAqmIf_p.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxQMgrDefines_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxQMgrDispatcher_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxQMgrLog_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxQMgrQAccess_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxQMgrQCfg_p.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxQueueAssignments.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxSspAcc.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxTimerCtrl.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxTimeSyncAcc.h Consolidate bool type 2013-04-01 16:33:52 -04:00
IxTypes.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxUART.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
IxVersionId.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00
npe.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
os_datatypes.h dm: net: Move IXP NPE to drivers/net/ 2012-09-24 13:17:24 -05:00