|
1 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // e32\include\drivers\ethernet.inl |
|
15 // |
|
16 // WARNING: This file contains some APIs which are internal and are subject |
|
17 // to change without noticed. Such APIs should therefore not be used |
|
18 // outside the Kernel and Hardware Services package. |
|
19 // |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalComponent |
|
24 */ |
|
25 |
|
26 inline void DEthernet::ReceiveIsr() |
|
27 { iLdd->ReceiveIsr(); } |
|
28 |
|
29 inline TInt DChannelEthernet::DisableIrqs() |
|
30 { return ((DEthernet*)iPdd)->DisableIrqs(); } |
|
31 |
|
32 inline void DChannelEthernet::RestoreIrqs(TInt aIrq) |
|
33 { ((DEthernet*)iPdd)->RestoreIrqs(aIrq); } |
|
34 |
|
35 inline TInt DChannelEthernet::PddStart() |
|
36 { return ((DEthernet*)iPdd)->Start(); } |
|
37 |
|
38 inline TInt DChannelEthernet::ValidateConfig(const TEthernetConfigV01 &aConfig) const |
|
39 { return ((DEthernet*)iPdd)->ValidateConfig(aConfig); } |
|
40 |
|
41 inline void DChannelEthernet::PddConfigure(TEthernetConfigV01 &aConfig) |
|
42 { ((DEthernet*)iPdd)->Configure(aConfig); } |
|
43 |
|
44 inline void DChannelEthernet::MacConfigure(TEthernetConfigV01 &aConfig) |
|
45 { ((DEthernet*)iPdd)->MacConfigure(aConfig); } |
|
46 |
|
47 inline void DChannelEthernet::PddCaps(TDes8 &aCaps) const |
|
48 { ((DEthernet*)iPdd)->Caps(aCaps); } |
|
49 |
|
50 inline void DChannelEthernet::PddCheckConfig(TEthernetConfigV01 &aConfig) |
|
51 { ((DEthernet*)iPdd)->CheckConfig(aConfig); } |
|
52 |
|
53 inline TInt DChannelEthernet::PddSend(TBuf8<KMaxEthernetPacket+32> &aBuffer) |
|
54 { return ((DEthernet*)iPdd)->Send(aBuffer); } |
|
55 |
|
56 inline TInt DChannelEthernet::PddReceive(TBuf8<KMaxEthernetPacket+32> &aBuffer, TBool okToUse) |
|
57 { return ((DEthernet*)iPdd)->ReceiveFrame(aBuffer, okToUse); } |