sl@0: // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32\include\drivers\ethernet.inl sl@0: // sl@0: // WARNING: This file contains some APIs which are internal and are subject sl@0: // to change without noticed. Such APIs should therefore not be used sl@0: // outside the Kernel and Hardware Services package. sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: inline void DEthernet::ReceiveIsr() sl@0: { iLdd->ReceiveIsr(); } sl@0: sl@0: inline TInt DChannelEthernet::DisableIrqs() sl@0: { return ((DEthernet*)iPdd)->DisableIrqs(); } sl@0: sl@0: inline void DChannelEthernet::RestoreIrqs(TInt aIrq) sl@0: { ((DEthernet*)iPdd)->RestoreIrqs(aIrq); } sl@0: sl@0: inline TInt DChannelEthernet::PddStart() sl@0: { return ((DEthernet*)iPdd)->Start(); } sl@0: sl@0: inline TInt DChannelEthernet::ValidateConfig(const TEthernetConfigV01 &aConfig) const sl@0: { return ((DEthernet*)iPdd)->ValidateConfig(aConfig); } sl@0: sl@0: inline void DChannelEthernet::PddConfigure(TEthernetConfigV01 &aConfig) sl@0: { ((DEthernet*)iPdd)->Configure(aConfig); } sl@0: sl@0: inline void DChannelEthernet::MacConfigure(TEthernetConfigV01 &aConfig) sl@0: { ((DEthernet*)iPdd)->MacConfigure(aConfig); } sl@0: sl@0: inline void DChannelEthernet::PddCaps(TDes8 &aCaps) const sl@0: { ((DEthernet*)iPdd)->Caps(aCaps); } sl@0: sl@0: inline void DChannelEthernet::PddCheckConfig(TEthernetConfigV01 &aConfig) sl@0: { ((DEthernet*)iPdd)->CheckConfig(aConfig); } sl@0: sl@0: inline TInt DChannelEthernet::PddSend(TBuf8 &aBuffer) sl@0: { return ((DEthernet*)iPdd)->Send(aBuffer); } sl@0: sl@0: inline TInt DChannelEthernet::PddReceive(TBuf8 &aBuffer, TBool okToUse) sl@0: { return ((DEthernet*)iPdd)->ReceiveFrame(aBuffer, okToUse); }