Class AMDPCNetII
Inheritance
System.Object
AMDPCNetII
Assembly: Cosmos.HAL2.dll
Syntax
public class AMDPCNetII : NetworkDevice
Constructors
|
Improve this Doc
View Source
AMDPCNetII(PCIDevice)
Declaration
public AMDPCNetII(PCIDevice device)
Parameters
Fields
|
Improve this Doc
View Source
io
Declaration
protected AMDPCNetIIIOGroup io
Field Value
|
Improve this Doc
View Source
mac
Declaration
Field Value
|
Improve this Doc
View Source
mInitBlock
Declaration
protected ManagedMemoryBlock mInitBlock
Field Value
|
Improve this Doc
View Source
mInitDone
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
mRecvBuffer
Declaration
protected Queue<byte[]> mRecvBuffer
Field Value
Type |
Description |
Queue<System.Byte[]> |
|
|
Improve this Doc
View Source
mRxBuffers
Declaration
protected List<ManagedMemoryBlock> mRxBuffers
Field Value
|
Improve this Doc
View Source
mRxDescriptor
Declaration
protected ManagedMemoryBlock mRxDescriptor
Field Value
|
Improve this Doc
View Source
mTransmitBuffer
Declaration
protected Queue<byte[]> mTransmitBuffer
Field Value
Type |
Description |
Queue<System.Byte[]> |
|
|
Improve this Doc
View Source
mTxBuffers
Declaration
protected List<ManagedMemoryBlock> mTxBuffers
Field Value
|
Improve this Doc
View Source
mTxDescriptor
Declaration
protected ManagedMemoryBlock mTxDescriptor
Field Value
|
Improve this Doc
View Source
pciCard
Declaration
protected PCIDevice pciCard
Field Value
Properties
|
Improve this Doc
View Source
CardType
Declaration
public override CardType CardType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
InitializationBlockAddress
Declaration
protected UInt32 InitializationBlockAddress { get; set; }
Property Value
|
Improve this Doc
View Source
MACAddress
Declaration
public override MACAddress MACAddress { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Name
Declaration
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
Ready
Declaration
public override bool Ready { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
SoftwareStyleRegister
Declaration
protected UInt32 SoftwareStyleRegister { get; set; }
Property Value
|
Improve this Doc
View Source
StatusRegister
Declaration
protected UInt32 StatusRegister { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
BytesAvailable()
Declaration
public override int BytesAvailable()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Enable()
Declaration
public override bool Enable()
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
FindAll()
Retrieve all AMD PCNetII network cards found on computer.
Declaration
public static void FindAll()
|
Improve this Doc
View Source
HandleNetworkInterrupt(ref INTs.IRQContext)
Declaration
protected void HandleNetworkInterrupt(ref INTs.IRQContext aContext)
Parameters
|
Improve this Doc
View Source
IsReceiveBufferFull()
Declaration
public override bool IsReceiveBufferFull()
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsSendBufferFull()
Declaration
public override bool IsSendBufferFull()
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
QueueBytes(Byte[], Int32, Int32)
Add bytes to the transmit buffer queue.
Declaration
public override bool QueueBytes(byte[] buffer, int offset, int length)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
bytes array to queue.
|
System.Int32 |
offset |
Offset of the data in the buffer.
|
System.Int32 |
length |
Data length.
|
Returns
Type |
Description |
System.Boolean |
TRUE on success.
|
Overrides
|
Improve this Doc
View Source
ReceiveBytes(Byte[], Int32, Int32)
Declaration
public override bool ReceiveBytes(byte[] buffer, int offset, int max)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
System.Int32 |
offset |
|
System.Int32 |
max |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
ReceivePacket()
Declaration
public override byte[] ReceivePacket()
Returns
Type |
Description |
System.Byte[] |
|
Overrides
|
Improve this Doc
View Source
SendBytes(ref Byte[])
Send bytes to memory block.
Declaration
protected bool SendBytes(ref byte[] aData)
Parameters
Type |
Name |
Description |
System.Byte[] |
aData |
A data to send.
|
Returns
Type |
Description |
System.Boolean |
TRUE on success.
|