Class AMDPCNetII
Inheritance
System.Object
AMDPCNetII
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
BusData
Declaration
public readonly int BusData
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
mac
Declaration
Field Value
|
Improve this Doc
View Source
MAC1
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MAC2
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
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 |
System.Collections.Generic.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 |
System.Collections.Generic.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
|
Improve this Doc
View Source
RegisterAddress
Declaration
public readonly int RegisterAddress
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RegisterData
Declaration
public readonly int RegisterData
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
CardType
Declaration
public override CardType CardType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
InitializationBlockAddress
Declaration
protected uint InitializationBlockAddress { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
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 uint SoftwareStyleRegister { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
StatusRegister
Declaration
protected uint StatusRegister { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
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
Exceptions
Type |
Condition |
System.ArgumentOutOfRangeException |
Thrown on memory error.
|
System.OverflowException |
Thrown if length is bigger than Int32.MaxValue.
|
|
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.
|
Exceptions
Type |
Condition |
System.ArgumentOutOfRangeException |
Thrown on memory error.
|
System.OverflowException |
Thrown if aData length is bigger than Int32.MaxValue.
|