summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/contrib/dev/nve/adapter.h579
-rw-r--r--sys/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu317
-rw-r--r--sys/contrib/dev/nve/basetype.h281
-rw-r--r--sys/contrib/dev/nve/drvinfo.h190
-rw-r--r--sys/contrib/dev/nve/i386/nvenetlib.o.bz2.uu316
-rw-r--r--sys/contrib/dev/nve/os.h128
-rw-r--r--sys/contrib/dev/nve/phy.h164
7 files changed, 1975 insertions, 0 deletions
diff --git a/sys/contrib/dev/nve/adapter.h b/sys/contrib/dev/nve/adapter.h
new file mode 100644
index 0000000..82ef8ef
--- /dev/null
+++ b/sys/contrib/dev/nve/adapter.h
@@ -0,0 +1,579 @@
+/***************************************************************************\
+|* *|
+|* Copyright 2001-2004 NVIDIA Corporation. All Rights Reserved. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL *|
+|* TO NVIDIA, CORPORATION. USE, REPRODUCTION OR DISCLOSURE TO ANY *|
+|* THIRD PARTY IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORP. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROVIDED "AS IS" WITHOUT *|
+|* EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING ALL IMPLIED *|
+|* WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A *|
+|* PARTICULAR PURPOSE. *|
+|* *|
+\***************************************************************************/
+
+/*
+ FILE: adapter.h
+ DATE: 2/7/00
+
+ This file contains the hardware interface to the ethernet adapter.
+*/
+
+#ifndef _ADAPTER_H_
+#define _ADAPTER_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define HDA_VERSION_STRING "HDR A: $Revision: #46 $"
+
+#ifdef MODS_NETWORK_BUILD
+#ifndef _DRVAPP_H_
+#include "drvapp.h"
+#endif
+#endif
+
+//////////////////////////////////////////////////////////////////
+// For the set and get configuration calls.
+typedef struct _ADAPTER_CONFIG
+{
+ NV_UINT32 ulFlags;
+} ADAPTER_CONFIG, *PADAPTER_CONFIG;
+//////////////////////////////////////////////////////////////////
+
+typedef struct _ADAPTER_WRITE_OFFLOAD
+{
+ NV_UINT32 usBitmask;
+ NV_UINT32 ulMss;
+
+} ADAPTER_WRITE_OFFLOAD;
+
+//////////////////////////////////////////////////////////////////
+// For the ADAPTER_Write1 call.
+/* This scatter gather list should be same as defined in ndis.h by MS.
+ For ULONG_PTR MS header file says that it will be of same size as
+ pointer. It has been defined to take care of casting between differenet
+ sizes.
+*/
+typedef struct _NVSCATTER_GATHER_ELEMENT {
+ NV_UINT32 PhysLow;
+ NV_UINT32 PhysHigh;
+ NV_UINT32 Length;
+ NV_VOID *Reserved;
+} NVSCATTER_GATHER_ELEMENT, *PNVSCATTER_GATHER_ELEMENT;
+
+#ifndef linux
+#pragma warning(disable:4200)
+#endif
+typedef struct _NVSCATTER_GATHER_LIST {
+ NV_UINT32 NumberOfElements;
+ NV_VOID *Reserved;
+ NVSCATTER_GATHER_ELEMENT Elements[0]; // Made 0 sized element to remove MODS compilation error
+ // Elements[0] and Elements[] have the same effect.
+ // sizeof(NVSCATTER_GATHER_LIST) is the same (value of 8) in both cases
+ // And both lead to Warning 4200 in MSVC
+} NVSCATTER_GATHER_LIST, *PNVSCATTER_GATHER_LIST;
+#ifndef linux
+#pragma warning(default:4200)
+#endif
+
+typedef struct _ADAPTER_WRITE_DATA1
+{
+ NV_UINT32 ulTotalLength;
+ PNV_VOID pvID;
+ NV_UINT8 uc8021pPriority;
+ ADAPTER_WRITE_OFFLOAD *psOffload;
+ PNVSCATTER_GATHER_LIST pNVSGL;
+} ADAPTER_WRITE_DATA1, *PADAPTER_WRITE_DATA1;
+
+
+//////////////////////////////////////////////////////////////////
+// For the ADAPTER_Write call.
+typedef struct _ADAPTER_WRITE_ELEMENT
+{
+ PNV_VOID pPhysical;
+ NV_UINT32 ulLength;
+} ADAPTER_WRITE_ELEMENT, *PADAPTER_WRITE_ELEMENT;
+
+
+#define ADAPTER_WRITE_OFFLOAD_BP_SEGOFFLOAD 0
+#define ADAPTER_WRITE_OFFLOAD_BP_IPV4CHECKSUM 1
+#define ADAPTER_WRITE_OFFLOAD_BP_IPV6CHECKSUM 2
+#define ADAPTER_WRITE_OFFLOAD_BP_TCPCHECKSUM 3
+#define ADAPTER_WRITE_OFFLOAD_BP_UDPCHECKSUM 4
+#define ADAPTER_WRITE_OFFLOAD_BP_IPCHECKSUM 5
+
+
+// pvID is a value that will be passed back into OSAPI.pfnPacketWasSent
+// when the transmission completes. if pvID is NULL, the ADAPTER code
+// assumes the caller does not want the pfnPacketWasSent callback.
+typedef struct _ADAPTER_WRITE_DATA
+{
+ NV_UINT32 ulNumberOfElements;
+ NV_UINT32 ulTotalLength;
+ PNV_VOID pvID;
+ NV_UINT8 uc8021pPriority;
+ ADAPTER_WRITE_OFFLOAD *psOffload;
+ ADAPTER_WRITE_ELEMENT sElement[100];
+} ADAPTER_WRITE_DATA, *PADAPTER_WRITE_DATA;
+//////////////////////////////////////////////////////////////////
+
+
+
+//////////////////////////////////////////////////////////////////
+// For the ADAPTER_Read call.
+typedef struct _ADAPTER_READ_ELEMENT
+{
+ PNV_VOID pPhysical;
+ NV_UINT32 ulLength;
+} ADAPTER_READ_ELEMENT, *PADAPTER_READ_ELEMENT;
+
+typedef struct _ADAPTER_READ_OFFLOAD
+{
+ NV_UINT8 ucChecksumStatus;
+
+} ADAPTER_READ_OFFLOAD;
+
+typedef struct _ADAPTER_READ_DATA
+{
+ NV_UINT32 ulNumberOfElements;
+ NV_UINT32 ulTotalLength;
+ PNV_VOID pvID;
+ NV_UINT32 ulFilterMatch;
+ ADAPTER_READ_OFFLOAD sOffload;
+ ADAPTER_READ_ELEMENT sElement[10];
+} ADAPTER_READ_DATA, *PADAPTER_READ_DATA;
+
+
+#define RDFLAG_CHK_NOCHECKSUM 0
+#define RDFLAG_CHK_IPPASSTCPFAIL 1
+#define RDFLAG_CHK_IPPASSUDPFAIL 2
+#define RDFLAG_CHK_IPFAIL 3
+#define RDFLAG_CHK_IPPASSNOTCPUDP 4
+#define RDFLAG_CHK_IPPASSTCPPASS 5
+#define RDFLAG_CHK_IPPASSUDPPASS 6
+#define RDFLAG_CHK_RESERVED 7
+
+
+// The ulFilterMatch flag can be a logical OR of the following
+#define ADREADFL_UNICAST_MATCH 0x00000001
+#define ADREADFL_MULTICAST_MATCH 0x00000002
+#define ADREADFL_BROADCAST_MATCH 0x00000004
+//////////////////////////////////////////////////////////////////
+
+
+
+//////////////////////////////////////////////////////////////////
+// For the ADAPTER_GetPowerCapabilities call.
+typedef struct _ADAPTER_POWERCAPS
+{
+ NV_UINT32 ulPowerFlags;
+ NV_UINT32 ulMagicPacketWakeUpFlags;
+ NV_UINT32 ulPatternWakeUpFlags;
+ NV_UINT32 ulLinkChangeWakeUpFlags;
+ NV_SINT32 iMaxWakeUpPatterns;
+} ADAPTER_POWERCAPS, *PADAPTER_POWERCAPS;
+
+// For the ADAPTER_GetPowerState and ADAPTER_SetPowerState call.
+typedef struct _ADAPTER_POWERSTATE
+{
+ NV_UINT32 ulPowerFlags;
+ NV_UINT32 ulMagicPacketWakeUpFlags;
+ NV_UINT32 ulPatternWakeUpFlags;
+ NV_UINT32 ulLinkChangeWakeUpFlags;
+} ADAPTER_POWERSTATE, *PADAPTER_POWERSTATE;
+
+// Each of the flag fields in the POWERCAPS structure above can have
+// any of the following bitflags set giving the capabilites of the
+// adapter. In the case of the wake up fields, these flags mean that
+// wake up can happen from the specified power state.
+
+// For the POWERSTATE structure, the ulPowerFlags field should just
+// have one of these bits set to go to that particular power state.
+// The WakeUp fields can have one or more of these bits set to indicate
+// what states should be woken up from.
+#define POWER_STATE_D0 0x00000001
+#define POWER_STATE_D1 0x00000002
+#define POWER_STATE_D2 0x00000004
+#define POWER_STATE_D3 0x00000008
+
+#define POWER_STATE_ALL (POWER_STATE_D0 | \
+ POWER_STATE_D1 | \
+ POWER_STATE_D2 | \
+ POWER_STATE_D3)
+//////////////////////////////////////////////////////////////////
+
+
+
+//////////////////////////////////////////////////////////////////
+// The ADAPTER_GetPacketFilterCaps call returns a NV_UINT32 that can
+// have the following capability bits set.
+#define ACCEPT_UNICAST_PACKETS 0x00000001
+#define ACCEPT_MULTICAST_PACKETS 0x00000002
+#define ACCEPT_BROADCAST_PACKETS 0x00000004
+#define ACCEPT_ALL_PACKETS 0x00000008
+
+#define ETH_LENGTH_OF_ADDRESS 6
+
+// The ADAPTER_SetPacketFilter call uses this structure to know what
+// packet filter to set. The ulPacketFilter field can contain some
+// union of the bit flags above. The acMulticastMask array holds a
+// 48 bit MAC address mask with a 0 in every bit position that should
+// be ignored on compare and a 1 in every bit position that should
+// be taken into account when comparing to see if the destination
+// address of a packet should be accepted for multicast.
+typedef struct _PACKET_FILTER
+{
+ NV_UINT32 ulFilterFlags;
+ NV_UINT8 acMulticastAddress[ETH_LENGTH_OF_ADDRESS];
+ NV_UINT8 acMulticastMask[ETH_LENGTH_OF_ADDRESS];
+} PACKET_FILTER, *PPACKET_FILTER;
+//////////////////////////////////////////////////////////////////
+
+
+//////////////////////////////////////////////////////////////////
+// A WAKE_UP_PATTERN is a 128-byte pattern that the adapter can
+// look for in incoming packets to decide when to wake up. Higher-
+// level protocols can use this to, for example, wake up the
+// adapter whenever it sees an IP packet that is addressed to it.
+// A pattern consists of 128 bits of byte masks that indicate
+// which bytes in the packet are relevant to the pattern, plus
+// values for each byte.
+#define WAKE_UP_PATTERN_SIZE 128
+
+typedef struct _WAKE_UP_PATTERN
+{
+ NV_UINT32 aulByteMask[WAKE_UP_PATTERN_SIZE/32];
+ NV_UINT8 acData[WAKE_UP_PATTERN_SIZE];
+} WAKE_UP_PATTERN, *PWAKE_UP_PATTERN;
+
+
+
+//
+//
+// Adapter offload
+//
+typedef struct _ADAPTER_OFFLOAD {
+
+ NV_UINT32 Type;
+ NV_UINT32 Value0;
+
+} ADAPTER_OFFLOAD, *PADAPTER_OFFLOAD;
+
+#define ADAPTER_OFFLOAD_VLAN 0x00000001
+#define ADAPTER_OFFLOAD_IEEE802_1P 0x00000002
+#define ADAPTER_OFFLOAD_IEEE802_1PQ_PAD 0x00000004
+
+//////////////////////////////////////////////////////////////////
+
+// CMNDATA_OS_ADAPTER
+// Structure common to OS and Adapter layers
+// Used for moving data from the OS layer to the adapter layer through SetCommonData
+// function call from OS layer to Adapter layer
+//
+
+typedef struct _CMNDATA_OS_ADAPTER
+{
+#ifndef linux
+ ASF_SEC0_BASE sRegSec0Base;
+#endif
+ NV_UINT32 bFPGA;
+ NV_UINT32 ulFPGAEepromSize;
+ NV_UINT32 bChecksumOffloadEnable;
+ NV_UINT32 ulChecksumOffloadBM;
+ NV_UINT32 ulChecksumOffloadOS;
+ NV_UINT32 ulMediaIF;
+ NV_UINT32 bOemCustomEventRead;
+
+ // Debug only right now
+ //!!! Beware mods is relying on the fields blow.
+ NV_UINT32 ulWatermarkTFBW;
+ NV_UINT32 ulBackoffRseed;
+ NV_UINT32 ulBackoffSlotTime;
+ NV_UINT32 ulModeRegTxReadCompleteEnable;
+ NV_UINT32 ulFatalErrorRegister;
+
+} CMNDATA_OS_ADAPTER;
+
+
+//////////////////////////////////////////////////////////////////
+// The functional typedefs for the ADAPTER Api
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_CLOSE) (PNV_VOID pvContext, NV_UINT8 ucIsPowerDown);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_INIT) (PNV_VOID pvContext, NV_UINT16 usForcedSpeed, NV_UINT8 ucForceDpx, NV_UINT8 ucForceMode, NV_UINT8 ucAsyncMode, NV_UINT32 *puiLinkState);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_DEINIT) (PNV_VOID pvContext, NV_UINT8 ucIsPowerDown);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_START) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_STOP) (PNV_VOID pvContext, NV_UINT8 ucIsPowerDown);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_QUERY_WRITE_SLOTS) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_WRITE) (PNV_VOID pvContext, ADAPTER_WRITE_DATA *pADWriteData);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_WRITE1) (PNV_VOID pvContext, ADAPTER_WRITE_DATA1 *pADWriteData1);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_QUERY_INTERRUPT) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_HANDLE_INTERRUPT) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_DISABLE_INTERRUPTS) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_ENABLE_INTERRUPTS) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_CLEAR_INTERRUPTS) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_CLEAR_TX_DESC) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_LINK_SPEED) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_LINK_MODE) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_LINK_STATE) (PNV_VOID pvContext, NV_UINT32 *pulLinkState);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_IS_LINK_INITIALIZING) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_RESET_PHY_INIT_STATE) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_TRANSMIT_QUEUE_SIZE) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_RECEIVE_QUEUE_SIZE) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_STATISTICS) (PNV_VOID pvContext, PADAPTER_STATS pADStats);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_POWER_CAPS) (PNV_VOID pvContext, PADAPTER_POWERCAPS pADPowerCaps);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_POWER_STATE) (PNV_VOID pvContext, PADAPTER_POWERSTATE pADPowerState);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_SET_POWER_STATE) (PNV_VOID pvContext, PADAPTER_POWERSTATE pADPowerState);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_SET_LOW_SPEED_FOR_PM) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_GET_PACKET_FILTER_CAPS) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_SET_PACKET_FILTER) (PNV_VOID pvContext, PPACKET_FILTER pPacketFilter);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_SET_WAKE_UP_PATTERN) (PNV_VOID pvContext, NV_SINT32 iPattern, PWAKE_UP_PATTERN pPattern);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_ENABLE_WAKE_UP_PATTERN) (PNV_VOID pvContext, NV_SINT32 iPattern, NV_SINT32 iEnable);
+typedef NV_API_CALL NV_SINT32 (* PFN_SET_NODE_ADDRESS) (PNV_VOID pvContext, NV_UINT8 *pNodeAddress);
+typedef NV_API_CALL NV_SINT32 (* PFN_GET_NODE_ADDRESS) (PNV_VOID pvContext, NV_UINT8 *pNodeAddress);
+typedef NV_API_CALL NV_SINT32 (* PFN_GET_ADAPTER_INFO) (PNV_VOID pvContext, PNV_VOID pVoidPtr, NV_SINT32 iType, NV_SINT32 *piLength);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_READ_PHY) (PNV_VOID pvContext, NV_UINT32 ulPhyAddr, NV_UINT32 ulPhyReg, NV_UINT32 *pulValue);
+typedef NV_API_CALL NV_SINT32 (* PFN_ADAPTER_WRITE_PHY) (PNV_VOID pvContext, NV_UINT32 ulPhyAddr, NV_UINT32 ulPhyReg, NV_UINT32 ulValue);
+typedef NV_API_CALL NV_VOID(* PFN_ADAPTER_SET_SPPED_DUPLEX) (PNV_VOID pvContext);
+typedef NV_API_CALL NV_SINT32 (*PFN_REGISTER_OFFLOAD) (PNV_VOID pvContext, PADAPTER_OFFLOAD pOffload);
+typedef NV_API_CALL NV_SINT32 (*PFN_DEREGISTER_OFFLOAD) (PNV_VOID pvContext, PADAPTER_OFFLOAD pOffload);
+typedef NV_API_CALL NV_SINT32 (*PFN_RX_BUFF_READY) (PNV_VOID pvContext, PMEMORY_BLOCK pMemBlock, PNV_VOID pvID);
+
+#ifndef linux
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_SETUPREGISTERS) (PNV_VOID pvContext, NV_SINT32 bInitTime);
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_GETSEC0BASEADDRESS) (PNV_VOID pvContext, ASF_SEC0_BASE **ppsSec0Base);
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_SETSOURCEIPADDRESS) (PNV_VOID pvContext, NV_UINT8 *pucSrcIPAddress);
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_GETDESTIPADDRESS) (PNV_VOID pvContext, NV_UINT8 *pucDestIPAddress);
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_SETDESTIPADDRESS) (PNV_VOID pvContext, NV_UINT8 *pucDestIPAddress);
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_WRITEEEPROMANDSETUPREGISTERS) (PNV_VOID pvContext, NV_BOOLEAN bCompare, PNV_VOID pucValue, PNV_VOID pszSec0BaseMember,
+ NV_UINT16 usCount, NV_UINT32 ulAddressOffset);
+
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_ISASFREADY) (PNV_VOID pvContext, ASF_ASFREADY *psASFReady);
+
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_SETDESTMACADDRESS) (PNV_VOID pvContext, NV_UINT8 *pucDestMACAddress);
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_GETSOURCEMACADDRESS) (PNV_VOID pvContext, NV_UINT8 *pucSrcMACAddress);
+
+typedef NV_SINT32 (*PFN_ADAPTER_ASF_CHECK_FOR_EEPROM_PRESENCE) (PNV_VOID pvContext);
+#endif
+
+typedef NV_API_CALL NV_VOID (*PFN_ADAPTER_SET_COMMONDATA) (PNV_VOID pvContext, CMNDATA_OS_ADAPTER *psOSAdpater);
+typedef NV_API_CALL NV_VOID (*PFN_ADAPTER_SET_CHECKSUMOFFLOAD) (PNV_VOID pvContext, NV_UINT32 bSet);
+
+
+
+typedef struct _ADAPTER_API
+{
+ // The adapter context
+ PNV_VOID pADCX;
+
+ // The adapter interface
+ PFN_ADAPTER_CLOSE pfnClose;
+ PFN_ADAPTER_INIT pfnInit;
+ PFN_ADAPTER_DEINIT pfnDeinit;
+ PFN_ADAPTER_START pfnStart;
+ PFN_ADAPTER_STOP pfnStop;
+ PFN_ADAPTER_QUERY_WRITE_SLOTS pfnQueryWriteSlots;
+ PFN_ADAPTER_WRITE pfnWrite;
+ PFN_ADAPTER_WRITE1 pfnWrite1;
+ PFN_ADAPTER_QUERY_INTERRUPT pfnQueryInterrupt;
+ PFN_ADAPTER_HANDLE_INTERRUPT pfnHandleInterrupt;
+ PFN_ADAPTER_DISABLE_INTERRUPTS pfnDisableInterrupts;
+ PFN_ADAPTER_ENABLE_INTERRUPTS pfnEnableInterrupts;
+ PFN_ADAPTER_CLEAR_INTERRUPTS pfnClearInterrupts;
+ PFN_ADAPTER_CLEAR_TX_DESC pfnClearTxDesc;
+ PFN_ADAPTER_GET_LINK_SPEED pfnGetLinkSpeed;
+ PFN_ADAPTER_GET_LINK_MODE pfnGetLinkMode;
+ PFN_ADAPTER_GET_LINK_STATE pfnGetLinkState;
+ PFN_ADAPTER_IS_LINK_INITIALIZING pfnIsLinkInitializing;
+ PFN_ADAPTER_RESET_PHY_INIT_STATE pfnResetPhyInitState;
+ PFN_ADAPTER_GET_TRANSMIT_QUEUE_SIZE pfnGetTransmitQueueSize;
+ PFN_ADAPTER_GET_RECEIVE_QUEUE_SIZE pfnGetReceiveQueueSize;
+ PFN_ADAPTER_GET_STATISTICS pfnGetStatistics;
+ PFN_ADAPTER_GET_POWER_CAPS pfnGetPowerCaps;
+ PFN_ADAPTER_GET_POWER_STATE pfnGetPowerState;
+ PFN_ADAPTER_SET_POWER_STATE pfnSetPowerState;
+ PFN_ADAPTER_SET_LOW_SPEED_FOR_PM pfnSetLowSpeedForPM;
+ PFN_ADAPTER_GET_PACKET_FILTER_CAPS pfnGetPacketFilterCaps;
+ PFN_ADAPTER_SET_PACKET_FILTER pfnSetPacketFilter;
+ PFN_ADAPTER_SET_WAKE_UP_PATTERN pfnSetWakeUpPattern;
+ PFN_ADAPTER_ENABLE_WAKE_UP_PATTERN pfnEnableWakeUpPattern;
+ PFN_SET_NODE_ADDRESS pfnSetNodeAddress;
+ PFN_GET_NODE_ADDRESS pfnGetNodeAddress;
+ PFN_GET_ADAPTER_INFO pfnGetAdapterInfo;
+ PFN_ADAPTER_SET_SPPED_DUPLEX pfnSetSpeedDuplex;
+ PFN_ADAPTER_READ_PHY pfnReadPhy;
+ PFN_ADAPTER_WRITE_PHY pfnWritePhy;
+ PFN_REGISTER_OFFLOAD pfnRegisterOffload;
+ PFN_DEREGISTER_OFFLOAD pfnDeRegisterOffload;
+ PFN_RX_BUFF_READY pfnRxBuffReady;
+#ifndef linux
+ PFN_ADAPTER_ASF_SETUPREGISTERS pfnASFSetupRegisters;
+ PFN_ADAPTER_ASF_GETSEC0BASEADDRESS pfnASFGetSec0BaseAddress;
+ PFN_ADAPTER_ASF_SETSOURCEIPADDRESS pfnASFSetSourceIPAddress;
+ PFN_ADAPTER_ASF_GETDESTIPADDRESS pfnASFGetDestIPAddress;
+ PFN_ADAPTER_ASF_SETDESTIPADDRESS pfnASFSetDestIPAddress;
+ PFN_ADAPTER_ASF_WRITEEEPROMANDSETUPREGISTERS pfnASFWriteEEPROMAndSetupRegisters;
+ PFN_ADAPTER_ASF_SETDESTMACADDRESS pfnASFSetDestMACAddress;
+ PFN_ADAPTER_ASF_GETSOURCEMACADDRESS pfnASFGetSourceMACAddress;
+ PFN_ADAPTER_ASF_ISASFREADY pfnASFIsASFReady;
+ PFN_ADAPTER_ASF_CHECK_FOR_EEPROM_PRESENCE pfnASFCheckForEepromPresence;
+#endif
+ PFN_ADAPTER_SET_COMMONDATA pfnSetCommonData;
+
+ PFN_ADAPTER_SET_CHECKSUMOFFLOAD pfnSetChecksumOffload;
+
+} ADAPTER_API, *PADAPTER_API;
+//////////////////////////////////////////////////////////////////
+
+#define MAX_PACKET_TO_ACCUMULATE 16
+
+typedef struct _ADAPTER_OPEN_PARAMS
+{
+ PNV_VOID pOSApi; //pointer to OSAPI structure passed from higher layer
+ PNV_VOID pvHardwareBaseAddress; //memory mapped address passed from higher layer
+ NV_UINT32 ulPollInterval; //poll interval in micro seconds. Used in polling mode
+ NV_UINT32 MaxDpcLoop; //Maximum number of times we loop to in function ADAPTER_HandleInterrupt
+ NV_UINT32 MaxRxPkt; //Maximum number of packet we process each time in function UpdateReceiveDescRingData
+ NV_UINT32 MaxTxPkt; //Maximum number of packet we process each time in function UpdateTransmitDescRingData
+ NV_UINT32 MaxRxPktToAccumulate; //maximum number of rx packet we accumulate in UpdateReceiveDescRingData before
+ //indicating packets to OS.
+ NV_UINT32 SentPacketStatusSuccess; //Status returned from adapter layer to higher layer when packet was sent successfully
+ NV_UINT32 SentPacketStatusFailure; ////Status returned from adapter layer to higher layer when packet send was unsuccessful
+ NV_UINT32 SetForcedModeEveryNthRxPacket; //NOT USED: For experiment with descriptor based interrupt
+ NV_UINT32 SetForcedModeEveryNthTxPacket; //NOT USED: For experiment with descriptor based interrupt
+ NV_UINT32 RxForcedInterrupt; //NOT USED: For experiment with descriptor based interrupt
+ NV_UINT32 TxForcedInterrupt; //NOT USED: For experiment with descriptor based interrupt
+ NV_UINT32 DeviceId; //Of MAC
+ NV_UINT32 DeviceType;
+ NV_UINT32 PollIntervalInusForThroughputMode; //Of MAC
+ NV_UINT32 bASFEnabled;
+ NV_UINT32 ulDescriptorVersion;
+ NV_UINT32 ulMaxPacketSize;
+
+
+#define MEDIA_IF_AUTO 0
+#define MEDIA_IF_RGMII 1
+#define MEDIA_IF_MII 2
+ NV_UINT32 ulMediaIF;
+
+ NV_UINT32 PhyPowerIsolationTimeoutInms;
+ NV_UINT32 PhyResetTimeoutInms;
+ NV_UINT32 PhyAutonegotiateTimeoutInms;
+ NV_UINT32 PhyLinkupTimeoutInms;
+ NV_UINT32 PhyRdWrTimeoutInus;
+ NV_UINT32 PhyPowerdownOnClose;
+
+ // Added for Bug 100715
+ NV_UINT32 bDisableMIIInterruptAndReadPhyStatus;
+
+}ADAPTER_OPEN_PARAMS, *PADAPTER_OPEN_PARAMS;
+
+//////////////////////////////////////////////////////////////////
+// This is the one function in the adapter interface that is publicly
+// available. The rest of the interface is returned in the pAdapterApi.
+// The first argument needs to be cast to a OSAPI structure pointer.
+// The second argument should be cast to a ADPATER_API structure pointer.
+NV_API_CALL NV_SINT32 ADAPTER_Open (PADAPTER_OPEN_PARAMS pAdapterOpenParams, PNV_VOID *pvpAdapterApi, NV_UINT32 *pulPhyAddr);
+
+//////////////////////////////////////////////////////////////////
+
+
+
+//////////////////////////////////////////////////////////////////
+// Here are the error codes the adapter function calls return.
+#define ADAPTERERR_NONE 0x0000
+#define ADAPTERERR_COULD_NOT_ALLOC_CONTEXT 0x0001
+#define ADAPTERERR_COULD_NOT_CREATE_CONTEXT 0x0002
+#define ADAPTERERR_COULD_NOT_OPEN_PHY 0x0003
+#define ADAPTERERR_TRANSMIT_QUEUE_FULL 0x0004
+#define ADAPTERERR_COULD_NOT_INIT_PHY 0x0005
+#define ADAPTERERR_PHYS_SIZE_SMALL 0x0006
+#define ADAPTERERR_ERROR 0x0007 // Generic error
+//////////////////////////////////////////////////////////////////
+
+// This block moved from myadap.h
+// nFlag for Stop/Start ReceiverAndOrTransmitter can be an OR of
+// the following two flags
+#define AFFECT_RECEIVER 0x01
+#define AFFECT_TRANSMITTER 0x02
+
+#define REDUCE_LENGTH_BY 48
+
+#define EXTRA_WRITE_SLOT_TO_REDUCE_PER_SEND 4
+#define MAX_TX_DESCS 256
+#define MAX_TX_DESCS_VER2 (256 * 4)
+
+typedef struct _TX_INFO_ADAP
+{
+ NV_UINT32 NoOfDesc;
+ PNV_VOID pvVar2;
+}TX_INFO_ADAP, *PTX_INFO_ADAP;
+
+#define WORKAROUND_FOR_MCP3_TX_STALL
+
+#ifdef WORKAROUND_FOR_MCP3_TX_STALL
+NV_SINT32 ADAPTER_WorkaroundTXHang(PNV_VOID pvContext);
+#endif
+
+//#define TRACK_INIT_TIME
+
+#ifdef TRACK_INIT_TIME
+//This routine is defined in entry.c adapter doesn't link int64.lib
+//We defined here so that its easy to use it in phy as well as mswin
+
+#define MAX_PRINT_INDEX 32
+extern NV_VOID PrintTime(NV_UINT32 ulIndex);
+#define PRINT_INIT_TIME(_a) PrintTime((_a))
+#else
+#define PRINT_INIT_TIME(_a)
+#endif
+
+// Segmentation offload info
+#define DEVCAPS_SEGOL_BP_ENABLE 0
+#define DEVCAPS_SEGOL_BP_IPOPTIONS 1
+#define DEVCAPS_SEGOL_BP_TCPOPTIONS 2
+#define DEVCAPS_SEGOL_BP_SEGSIZE_LO 8
+#define DEVCAPS_SEGOL_BP_SEGSIZE_HI 31
+
+
+// Checksum offload info
+// Byte 0 : V4 TX
+#define DEVCAPS_V4_TX_BP_IPOPTIONS 0
+#define DEVCAPS_V4_TX_BP_TCPOPTIONS 1
+#define DEVCAPS_V4_TX_BP_TCPCHECKSUM 2
+#define DEVCAPS_V4_TX_BP_UDPCHECKSUM 3
+#define DEVCAPS_V4_TX_BP_IPCHECKSUM 4
+
+// Byte 0 : V4 RX
+#define DEVCAPS_V4_RX_BP_IPOPTIONS 8
+#define DEVCAPS_V4_RX_BP_TCPOPTIONS 9
+#define DEVCAPS_V4_RX_BP_TCPCHECKSUM 10
+#define DEVCAPS_V4_RX_BP_UDPCHECKSUM 11
+#define DEVCAPS_V4_RX_BP_IPCHECKSUM 12
+
+// Byte 1 : V6 TX
+#define DEVCAPS_V6_TX_BP_IPOPTIONS 16
+#define DEVCAPS_V6_TX_BP_TCPOPTIONS 17
+#define DEVCAPS_V6_TX_BP_TCPCHECKSUM 18
+#define DEVCAPS_V6_TX_BP_UDPCHECKSUM 19
+
+// Byte 2 : V6 RX
+#define DEVCAPS_V6_RX_BP_IPOPTIONS 24
+#define DEVCAPS_V6_RX_BP_TCPOPTIONS 25
+#define DEVCAPS_V6_RX_BP_TCPCHECKSUM 26
+#define DEVCAPS_V6_RX_BP_UDPCHECKSUM 27
+
+
+#define DESCR_VER_1 1 // MCP1, MCP2 and CK8 descriptor version
+#define DESCR_VER_2 2 // The decsriptor structure for CK8G
+
+// Get device and vendor IDs from 32 bit DeviceVendorID
+#define GET_DEVICEID(x) (((x) >> 16) & 0xFFFF)
+#define GET_VENDORID(x) ((x) & 0xFFFF)
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif // _ADAPTER_H_
diff --git a/sys/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu b/sys/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu
new file mode 100644
index 0000000..c546f97
--- /dev/null
+++ b/sys/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu
@@ -0,0 +1,317 @@
+begin-base64 644 nvenetlib.o.bz2
+QlpoOTFBWSZTWUBpjdcAPKd/////////////////////////////////////////////4EQ9vr29
+1e2gT7XjfPPtu9XYzj63x8EUopASoTa1bM0yAX3u93162+757e3eN7x1efWvPe3uTay266i7u7tq
+nvXdxGenrevXO1uPOiPPRPOim6bbTvc9va9A68vp3Y9zfV6pX257bNpavtxbNTWTdj6Deoj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PVnz3PkUxnFpbQe/GljMm+2nyiWYyi8se1Pgs7Io3KkZLKm60QMYsiznpSC20N
+A23IASWiCzMKJHy9/tZDHq/WyZW90eb8hPGz+qEshg7JlMRA2hQH7ik3BoVPPUXa52z7veuLlw4c
+LZaEa3wsQ5ttx2JtOURDuGAnZwKVqI52xTEwhYsVQqHWiyC+CDIeNPD3GChUhhuvm8NZIZooKdP2
+luZ1drBvrWNK9MEcVi46HN0hRBUY5y4k1l8eSJSMtyC2KiF3gy3t4y6CxJKW/hRHtetmsFBVjWrv
+IpLpUMeOpV+LBbLl66RKYvVaAFgtq20zJasBqwM1oIHJStQH+TDje7mRKywsK6fCDqbZR9f1Pc/Z
+8Lrs35uLnZ51zBJtIvC3hGqKIM8aSSNbpZcg6I1r67W3AyqEQys2FXlkft0eUgVDA54Ve2/r43ee
+NlWI4PoQhb5gsxg2PzBnkjlwMKvpGx+wUapCCExUMJNYypmGQUKw6JagK/0f76kEl8o+XBz2UNb7
+soq8u4WmBbcw+gcf2vJ+Ci1MCHdJaw4PsTRCTRzq+y6/mzU4N7/vGVMZUnhihjvBuvenHzyOz0IB
+6CVlJCeT3icVNkYCA27RXj5vuPV+ed4VQOnwt5Mz7KQ/AwfQJKl6SZgYCYMEhYQ9X+Xk3/DTO8s4
+Z4dtCOzGhtGMgBf/xdyRThQkEBpjdcA=
+====
diff --git a/sys/contrib/dev/nve/basetype.h b/sys/contrib/dev/nve/basetype.h
new file mode 100644
index 0000000..fd38148
--- /dev/null
+++ b/sys/contrib/dev/nve/basetype.h
@@ -0,0 +1,281 @@
+/***************************************************************************\
+|* *|
+|* Copyright 2001-2004 NVIDIA Corporation. All Rights Reserved. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL *|
+|* TO NVIDIA, CORPORATION. USE, REPRODUCTION OR DISCLOSURE TO ANY *|
+|* THIRD PARTY IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORP. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROVIDED "AS IS" WITHOUT *|
+|* EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING ALL IMPLIED *|
+|* WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A *|
+|* PARTICULAR PURPOSE. *|
+|* *|
+\***************************************************************************/
+
+
+/*++
+
+File:
+
+ basetype.h
+
+
+Abstract:
+
+ This file contains the base type definitions used by the networking driver.
+
+
+Revision History:
+
+ SNo. Date Author Description
+ 1. 2/7/2000 AJha Created
+
+*/
+
+#ifndef _BASETYPE_H_
+#define _BASETYPE_H_
+
+#ifndef IN
+#define IN
+#endif
+
+#ifndef OUT
+#define OUT
+#endif
+
+//
+// Useful "types"
+
+#ifndef NULL
+#define NULL 0
+#endif
+
+#ifndef TRUE
+#define TRUE 1
+#endif
+
+#ifndef FALSE
+#define FALSE 0
+#endif
+
+#if 1
+//
+// Don't use as these are going to be deleted soon. Use NV_ instead
+//
+#define VOID void
+typedef VOID *PVOID;
+
+typedef unsigned char UCHAR;
+typedef UCHAR * PUCHAR;
+typedef unsigned short USHORT;
+typedef USHORT * PUSHORT;
+#ifdef linux
+typedef unsigned int ULONG;
+#else
+typedef unsigned long ULONG;
+#endif
+typedef ULONG * PULONG;
+
+typedef char CHAR;
+typedef short SHORT;
+typedef long LONG;
+
+typedef unsigned int UINT;
+typedef unsigned int *PUINT;
+
+
+#endif
+
+
+#define NV_VOID void
+typedef NV_VOID *PNV_VOID;
+
+typedef unsigned long NV_BOOLEAN, *PNV_BOOLEAN;
+
+typedef unsigned char NV_UINT8, *PNV_UINT8;
+typedef unsigned short NV_UINT16, *PNV_UINT16;
+#ifdef linux
+typedef unsigned int NV_UINT32, *PNV_UINT32;
+#else
+typedef unsigned long NV_UINT32, *PNV_UINT32;
+#endif
+
+typedef signed char NV_SINT8, *PNV_SINT8;
+typedef signed short NV_SINT16, *PNV_SINT16;
+typedef signed long NV_SINT32, *PNV_SINT32;
+
+
+#if defined(linux)
+
+ typedef unsigned long long NV_UINT64, *PNV_UINT64;
+ typedef signed long long NV_SINT64, *PNV_SINT64;
+
+#else
+ #if _MSC_VER >= 1200 // MSVC 6.0 onwards
+ typedef unsigned __int64 NV_UINT64, *PNV_UINT64;
+ typedef signed __int64 NV_SINT64, *PNV_SINT64;
+ #else
+ typedef unsigned long NV_UINT64, *PNV_UINT64;
+ typedef signed long NV_SINT64, *PNV_SINT64;
+ #endif
+
+#endif
+
+#ifndef _AMD64_
+typedef unsigned int NV_UINT;
+typedef signed int NV_INT;
+#else
+
+#if defined(linux)
+
+typedef unsigned long long NV_UINT;
+typedef signed long long NV_INT;
+
+#else
+
+typedef unsigned __int64 NV_UINT;
+typedef signed __int64 NV_INT;
+
+#endif
+#endif
+
+
+//
+// Floating point definitions
+//
+typedef float NV_REAL32; // 4-byte floating point
+typedef double NV_REAL64; // 8-byte floating point
+
+
+
+//
+// Bit defintions
+//
+#define NV_BIT(bitpos) (1 << (bitpos))
+
+// NV_BIT_SET
+// Sets the specified bit position (0..31).
+// Parameter bits can be 1 byte to 4 bytes, but the caller needs to make sure bitpos fits into it.
+// x = 0xA0
+// NV_BIT_SET(x, 1)
+// Result: x = 0xA2
+#define NV_BIT_SET(bits, bitpos) ((bits) |= (NV_BIT(bitpos)))
+
+// NV_BIT_CLEAR
+// Clears the specified bit position (0..31)
+// Parameter bits can be 1 byte to 4 bytes, but the caller needs to make sure bitpos fits into it.
+// x = 0xAA
+// NV_BIT_CLEAR(x, 1)
+// Result: x = 0xA8
+#define NV_BIT_CLEAR(bits, bitpos) ((bits) &= (~NV_BIT(bitpos)))
+
+// NV_BIT_GET
+// Gets the bit at the specified bit position (0..31)
+// Parameter bits can be 1 byte to 4 bytes, but the caller needs to make sure bitpos fits into it.
+// Result is either 1 or 0.
+// x = 0xAA
+// NV_BIT_GET(x, 1)
+// Result: x = 1
+#define NV_BIT_GET(bits, bitpos) (((bits) >> (bitpos)) & 0x0001)
+
+
+// NV_BIT_GETVALUE
+// Gets the value from a 32 bit ULONG at specified bit position.
+// Parameter bits needs to be 4 bytes long.
+// Ex. ul32 = 0xFEDCBA98
+// ulVal = NV_BIT_GETVALUE(ul32, 3, 0) : Gets value from Bit position 3 to 0
+// Result : ulVal = 8
+#define NV_BIT_GETVALUE(ulOrigValue, bitposHi, bitposLow) (((ulOrigValue) >> (bitposLow)) & (~(0xFFFFFFFF << ((bitposHi) - (bitposLow) +1))))
+
+// NV_BIT_SETVALUE
+// Set a value in a 32 bit ULONG at a specific bit position.
+// Parameter bits needs to be 4 bytes long.
+// Ex. ul32 = 0xFEDCBA98
+// NV_BIT_SETVALUE(ul32, 0xF, 3, 0) : Sets value at Bit position 3 to 0
+// Result : ul32 becomes 0xFEDCBA9F
+#define NV_BIT_SETVALUE(ulOrigValue, ulWindowValue, bitposHi, bitposLow) \
+ ((ulOrigValue) = ((((ulOrigValue) & (~ ((0xFFFFFFFF >> (31 - (bitposHi))) & (0xFFFFFFFF << (bitposLow))))) | ((ulWindowValue) << (bitposLow)))))
+
+
+#define NV_BYTE(ulus, bytepos) ((ulus >> (8 * (bytepos))) & 0xFF)
+
+
+#define SWAP_U16(us) ((((us) & 0x00FF) << 8) | \
+ (((us) & 0xFF00) >> 8))
+
+#define SWAP_U32(ul) ((((ul) & 0x000000FF) << 24) | \
+ (((ul) & 0x0000FF00) << 8) | \
+ (((ul) & 0x00FF0000) >> 8) | \
+ (((ul) & 0xFF000000) >> 24))
+
+#define NV_FIELD_OFFSET(TYPE, FIELD) ((NV_UINT32)((NV_UINT64)&((TYPE *)0)->FIELD))
+
+#define ADDRESS_OFFSET(structure, member) ((NV_UINT32) ((NV_UINT8 *) &(structure).member \
+ - (NV_UINT8 *) &(structure)))
+
+
+#define NV_MIN(a, b) ((a < b) ? a : b)
+#define NV_MAX(a, b) ((a > b) ? a : b)
+
+#ifdef AMD64
+#define PNV_VOID_TO_NV_UINT64(x) ((NV_UINT64)(x))
+#define PNV_VOID_TO_NV_UINT32(x) ((NV_UINT32)(NV_UINT64)(x))
+#define NV_UINT64_TO_PNV_VOID(x) ((PNV_VOID)(x))
+#define NV_UINT32_TO_PNV_VOID(x) ((PNV_VOID)(NV_UINT64)(x))
+#else
+#define PNV_VOID_TO_NV_UINT64(x) ((NV_UINT64)(NV_UINT32)(x))
+#define PNV_VOID_TO_NV_UINT32(x) ((NV_UINT32)(x))
+#define NV_UINT64_TO_PNV_VOID(x) ((PNV_VOID)(NV_UINT32)(x))
+#define NV_UINT32_TO_PNV_VOID(x) ((PNV_VOID)(x))
+#endif
+
+#define NV_MAKE_TAG32(s) (((NV_UINT32)((s)[3]) << 24) | ((NV_UINT32)((s)[2]) << 16) | \
+ ((NV_UINT32)((s)[1]) << 8) | ((NV_UINT32)((s)[0])))
+
+#define NV_MAKE_TAG64(s) (((NV_UINT64)((s)[7]) << 56) | ((NV_UINT64)((s)[6]) << 48) | \
+ ((NV_UINT64)((s)[5]) << 40) | ((NV_UINT64)((s)[4]) << 32) | \
+ ((NV_UINT64)((s)[3]) << 24) | ((NV_UINT64)((s)[2]) << 16) | \
+ ((NV_UINT64)((s)[1]) << 8) | ((NV_UINT64)((s)[0])))
+
+typedef union _NVLARGE_INTEGER {
+
+#if 0
+ // NO UNNAMED UNIONS ALLOWED !@
+ struct {
+ NV_UINT32 LowPart;
+ NV_SINT32 HighPart;
+ };
+#endif
+
+ struct {
+ NV_UINT32 LowPart;
+ NV_SINT32 HighPart;
+ } u;
+
+ NV_SINT64 QuadPart;
+
+} NVLARGE_INTEGER, *PNVLARGE_INTEGER;
+
+
+#ifndef LINUX
+typedef unsigned short NV_WCHAR;
+#else
+typedef unsigned long NV_WCHAR;
+#endif
+
+typedef NV_WCHAR *PNV_WSTR;
+
+#if defined(linux)
+#if !defined(NV_API_CALL)
+#if defined (__i386__)
+#define NV_API_CALL __attribute__ ((regparm(0)))
+#else
+#define NV_API_CALL
+#endif
+#endif
+#else
+#define NV_API_CALL
+#endif
+
+#endif // _BASETYPE_H_
diff --git a/sys/contrib/dev/nve/drvinfo.h b/sys/contrib/dev/nve/drvinfo.h
new file mode 100644
index 0000000..41c659a
--- /dev/null
+++ b/sys/contrib/dev/nve/drvinfo.h
@@ -0,0 +1,190 @@
+/***************************************************************************\
+|* *|
+|* Copyright 2001-2003 NVIDIA, Corporation. All rights reserved. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL *|
+|* TO NVIDIA, CORPORATION. USE, REPRODUCTION OR DISCLOSURE TO ANY *|
+|* THIRD PARTY IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORP. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROVIDED "AS IS" WITHOUT *|
+|* EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING ALL IMPLIED *|
+|* WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A *|
+|* PARTICULAR PURPOSE. *|
+|* *|
+\***************************************************************************/
+
+/*
+ * This file contains the header info common to the network drivers and applications.
+ * Currently, these applications include ASF, co-installers, and qstats.
+ *
+ *
+ */
+
+#ifndef _DRVINFO_H_
+#define _DRVINFO_H_
+
+// Switch to byte packing, regardless of global packing specified by the compiler switch
+#pragma pack(1)
+
+//////////////////////////////////////////////////////////////////
+// For the ADAPTER_GetStatistics call used by qstats. This
+// is the template used by the legacy driver.
+#define MAX_TRANSMIT_COLISION_STATS 16
+
+#define ADAPTER_STATS_LEGACY_VERSION 1
+#define ADAPTER_STATS_RM_VERSION 2
+
+typedef struct _ADAPTER_STATS_V1
+{
+ NV_UINT32 ulVersion;
+
+ NV_UINT32 ulSuccessfulTransmissions;
+ NV_UINT32 ulFailedTransmissions;
+ NV_UINT32 ulRetryErrors;
+ NV_UINT32 ulUnderflowErrors;
+ NV_UINT32 ulLossOfCarrierErrors;
+ NV_UINT32 ulLateCollisionErrors;
+ NV_UINT32 ulDeferredTransmissions;
+ NV_UINT32 ulExcessDeferredTransmissions;
+ NV_UINT32 aulSuccessfulTransmitsAfterCollisions[MAX_TRANSMIT_COLISION_STATS];
+
+ NV_UINT32 ulMissedFrames;
+ NV_UINT32 ulSuccessfulReceptions;
+ NV_UINT32 ulFailedReceptions;
+ NV_UINT32 ulCRCErrors;
+ NV_UINT32 ulFramingErrors;
+ NV_UINT32 ulOverFlowErrors;
+ NV_UINT32 ulFrameErrorsPrivate; //Not for public.
+ NV_UINT32 ulNullBufferReceivePrivate; //Not for public, These are the packets which we didn't indicate to OS
+
+ //interrupt related statistics
+ NV_UINT32 ulRxInterrupt;
+ NV_UINT32 ulRxInterruptUnsuccessful;
+ NV_UINT32 ulTxInterrupt;
+ NV_UINT32 ulTxInterruptUnsuccessful;
+ NV_UINT32 ulPhyInterrupt;
+
+} ADAPTER_STATS_V1, *PADAPTER_STATS_V1;
+//////////////////////////////////////////////////////////////////
+
+//////////////////////////////////////////////////////////////////
+// For the ADAPTER_GetStatistics call used by qstats. This
+// is the template used by the FD.
+typedef struct _ADAPTER_STATS
+{
+ NV_UINT32 ulVersion;
+ NV_UINT8 ulMacAddress[6];
+
+ //
+ // Tx counters.
+ //
+ NV_UINT64 ulSuccessfulTransmissions;
+ NV_UINT64 ulFailedTransmissions;
+ NV_UINT64 ulRetryErrors;
+ NV_UINT64 ulUnderflowErrors;
+ NV_UINT64 ulLossOfCarrierErrors;
+ NV_UINT64 ulLateCollisionErrors;
+ NV_UINT64 ulDeferredTransmissions;
+ NV_UINT64 ulExcessDeferredTransmissions;
+ NV_UINT64 aulSuccessfulTransmitsAfterCollisions[MAX_TRANSMIT_COLISION_STATS];
+
+ //
+ // New Tx counters for GigE.
+ //
+ NV_UINT64 ulTxByteCount;
+
+ //
+ // Rx counters.
+ //
+ NV_UINT64 ulMissedFrames;
+ NV_UINT64 ulSuccessfulReceptions;
+ NV_UINT64 ulFailedReceptions;
+ NV_UINT64 ulCRCErrors;
+ NV_UINT64 ulLengthErrors;
+ NV_UINT64 ulFramingErrors;
+ NV_UINT64 ulOverFlowErrors;
+ NV_UINT64 ulRxNoBuffer;
+ NV_UINT64 ulFrameErrorsPrivate; //Not for public.
+ NV_UINT64 ulNullBufferReceivePrivate; //Not for public, These are the packets which we didn't indicate to OS
+
+ //
+ // New Rx counters for GigE.
+ //
+ NV_UINT64 ulRxExtraByteCount;
+ NV_UINT64 ulRxFrameTooLongCount;
+ NV_UINT64 ulRxFrameAlignmentErrorCount;
+ NV_UINT64 ulRxLateCollisionErrors;
+ NV_UINT64 ulRxRuntPacketErrors;
+
+ NV_UINT64 ulRxUnicastFrameCount;
+ NV_UINT64 ulRxMulticastFrameCount;
+ NV_UINT64 ulRxBroadcastFrameCount;
+ NV_UINT64 ulRxPromiscuousModeFrameCount;
+
+ //Interrupt related statistics
+ NV_UINT64 ulRxInterrupt;
+ NV_UINT64 ulRxInterruptUnsuccessful;
+ NV_UINT64 ulTxInterrupt;
+ NV_UINT64 ulTxInterruptUnsuccessful;
+ NV_UINT64 ulPhyInterrupt;
+
+
+ //
+ // Handy things to know
+ //
+ NV_UINT64 ulDescriptorVersion;
+ NV_UINT64 ulPollingCfg; // configured for cpu or throughput
+ NV_UINT64 ulPollingState; // current optimizefor state.
+
+ NV_UINT64 ulNumTxDesc;
+ NV_UINT64 ulNumRxDesc;
+
+ //
+ // Useful to determine if TX is stuck.
+ //
+ NV_UINT64 ulNumTxPktsQueued;
+ NV_UINT64 ulNumTxPktsInProgress;
+
+ //
+ // Rx Xsum Cntrs
+ //
+ NV_UINT64 ulNoRxPktsNoXsum;
+ NV_UINT64 ulNoRxPktsXsumIpPassTcpFail;
+ NV_UINT64 ulNoRxPktsXsumIpPassUdpFail;
+ NV_UINT64 ulNoRxPktsXsumIpFail;
+ NV_UINT64 ulNoRxPktsXsumIpPassNoTcpUdp;
+ NV_UINT64 ulNoRxPktsXsumIpPassTcpPass;
+ NV_UINT64 ulNoRxPktsXsumIpPassUdpPass;
+ NV_UINT64 ulNoRxPktsXsumReserved;
+
+#ifdef _PERF_LOOP_CNTRS
+ NV_UINT64 ulNumTxCmplsToProcess;
+ NV_UINT64 ulNumRxCmplsToProcess;
+ NV_UINT64 ulNumIntsToProcess;
+
+ NV_UINT64 IntLoop0Cnt;
+ NV_UINT64 IntLoop1Cnt;
+ NV_UINT64 IntLoop2Cnt;
+ NV_UINT64 IntLoop3Cnt;
+ NV_UINT64 IntLoop4Cnt;
+ NV_UINT64 IntLoop5Cnt;
+ NV_UINT64 IntLoop6To10Cnt;
+ NV_UINT64 IntLoop11Cnt;
+ NV_UINT64 IntMaxLoopCnt;
+
+ NV_UINT64 IntRxCnt0;
+ NV_UINT64 IntTxCnt0;
+
+ NV_UINT64 MaxRxLoopCnt;
+ NV_UINT64 MaxTxLoopCnt;
+
+#endif
+} ADAPTER_STATS, *PADAPTER_STATS;
+//////////////////////////////////////////////////////////////////
+
+#pragma pack()
+
+
+#endif // #define _DRVINFO_H_
+
+
diff --git a/sys/contrib/dev/nve/i386/nvenetlib.o.bz2.uu b/sys/contrib/dev/nve/i386/nvenetlib.o.bz2.uu
new file mode 100644
index 0000000..2e27d7e
--- /dev/null
+++ b/sys/contrib/dev/nve/i386/nvenetlib.o.bz2.uu
@@ -0,0 +1,316 @@
+begin-base64 640 nvenetlib.o.bz2
+QlpoOTFBWSZTWa2/tOcAMlF/////////////////////////////////////////////4EOTW9s1
+vHvub2a719HuPZ9m9711ToA09l3r3vfeHq+3uz6wACeAS+Wj77u6pd73vLXs67326l9sRLuPnjwd
+afed99vu83XD0AqVU3l3s57vXPLl1LtXe7rHVaVHW2Hrcdzi7ZXSnde7r3ttgzvPe92Sedlu7uvD
+3kcz08XnuDe7vbplss7p7Lt7bZpWgGu93ep1r3nhV5Lset2bzzr3uo93e7vDre1t51vQ9d2vfad5
+TyDvODQiBABMmgaJphMAACMaAE0aT00GRoaamp5HoymU9TxNJmEyNU9kYmSNiGk2KaeptGiemhPU
+zQp4psT1NMGgU2nqelPITwnqaJtGiZNBoQmgBAAJowTTSNJ6ZGmSegjTAmBMjQZNTaGSjzKaPQKe
+y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Ob/ufvYVmz4h5MlY4tR/
+LVNDvTmve9yZ/VzZpoc7Kzf1PWM6YU6nuEuT6rBkv7+HQwhPrdZb5f4eX+n+0b9dbU1AcHT51X4E
+rK9nXoXnGANV72H8GJFZ3q+YgPnkw2nvfd/T8FbP0Pk/2HbE+r7LuuY41FDuEohRWIiHK9mFrTRN
+B/+LuSKcKEhW39pzgA==
+====
diff --git a/sys/contrib/dev/nve/os.h b/sys/contrib/dev/nve/os.h
new file mode 100644
index 0000000..4749543
--- /dev/null
+++ b/sys/contrib/dev/nve/os.h
@@ -0,0 +1,128 @@
+/***************************************************************************\
+|* *|
+|* Copyright 2001-2004 NVIDIA Corporation. All Rights Reserved. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL *|
+|* TO NVIDIA, CORPORATION. USE, REPRODUCTION OR DISCLOSURE TO ANY *|
+|* THIRD PARTY IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORP. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROVIDED "AS IS" WITHOUT *|
+|* EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING ALL IMPLIED *|
+|* WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A *|
+|* PARTICULAR PURPOSE. *|
+|* *|
+\***************************************************************************/
+
+/*
+ FILE: os.h
+ DATE: 2/7/00
+
+ This file contains the os interface. Note that the os interface is
+ itself an OS-independent API. The OS specific module is implemented
+ by ndis.c for Win9X/NT and linuxnet.c for linux.
+*/
+#ifndef _OS_H_
+#define _OS_H_
+
+#include "phy.h"
+
+#define HDO_VERSION_STRING "HDR O: $Revision: #21 $";
+
+// This is the maximum packet size that we will be sending
+// #define MAX_PACKET_SIZE 2048
+//#define RX_BUFFER_SIZE 2048
+
+#define MIN_PACKET_MTU_SIZE 576
+#define MAX_PACKET_MTU_SIZE 9202
+#define MAX_PACKET_SIZE_2048 2048
+#define MAX_PACKET_SIZE_1514 1514
+#define MAX_PACKET_SIZE_1518 1518
+#define MAX_PACKET_SIZE_JUMBO (9 * 1024)
+
+typedef struct _MEMORY_BLOCK
+{
+ PNV_VOID pLogical;
+ PNV_VOID pPhysical;
+ NV_UINT32 uiLength;
+} MEMORY_BLOCK, *PMEMORY_BLOCK;
+
+#define ALLOC_MEMORY_NONCACHED 0x0001
+#define ALLOC_MEMORY_ALIGNED 0x0002
+
+typedef struct _MEMORY_BLOCKEX
+{
+ PNV_VOID pLogical;
+ PNV_VOID pPhysical;
+ NV_UINT32 uiLength;
+ /* Parameter to OS layer to indicate what type of memory is needed */
+ NV_UINT16 AllocFlags;
+ NV_UINT16 AlignmentSize; //always power of 2
+ /* Following three fields used for aligned memory allocation */
+ PNV_VOID pLogicalOrig;
+ NV_UINT32 pPhysicalOrigLow;
+ NV_UINT32 pPhysicalOrigHigh;
+ NV_UINT32 uiLengthOrig;
+} MEMORY_BLOCKEX, *PMEMORY_BLOCKEX;
+
+
+// The typedefs for the OS functions
+typedef NV_API_CALL NV_SINT32 (* PFN_MEMORY_ALLOC) (PNV_VOID pOSCX, PMEMORY_BLOCK pMem);
+typedef NV_API_CALL NV_SINT32 (* PFN_MEMORY_FREE) (PNV_VOID pOSCX, PMEMORY_BLOCK pMem);
+typedef NV_API_CALL NV_SINT32 (* PFN_MEMORY_ALLOCEX) (PNV_VOID pOSCX, PMEMORY_BLOCKEX pMem);
+typedef NV_API_CALL NV_SINT32 (* PFN_MEMORY_FREEEX) (PNV_VOID pOSCX, PMEMORY_BLOCKEX pMem);
+typedef NV_API_CALL NV_SINT32 (* PFN_CLEAR_MEMORY) (PNV_VOID pOSCX, PNV_VOID pMem, NV_SINT32 iLength);
+typedef NV_API_CALL NV_SINT32 (* PFN_STALL_EXECUTION) (PNV_VOID pOSCX, NV_UINT32 ulTimeInMicroseconds);
+typedef NV_API_CALL NV_SINT32 (* PFN_ALLOC_RECEIVE_BUFFER) (PNV_VOID pOSCX, PMEMORY_BLOCK pMem, PNV_VOID *ppvID);
+typedef NV_API_CALL NV_SINT32 (* PFN_FREE_RECEIVE_BUFFER) (PNV_VOID pOSCX, PMEMORY_BLOCK pMem, PNV_VOID pvID);
+typedef NV_API_CALL NV_SINT32 (* PFN_PACKET_WAS_SENT) (PNV_VOID pOSCX, PNV_VOID pvID, NV_UINT32 ulSuccess);
+typedef NV_API_CALL NV_SINT32 (* PFN_PACKET_WAS_RECEIVED) (PNV_VOID pOSCX, PNV_VOID pvADReadData, NV_UINT32 ulSuccess, NV_UINT8 *pNewBuffer, NV_UINT8 uc8021pPriority);
+typedef NV_API_CALL NV_SINT32 (* PFN_LINK_STATE_HAS_CHANGED) (PNV_VOID pOSCX, NV_SINT32 nEnabled);
+typedef NV_API_CALL NV_SINT32 (* PFN_ALLOC_TIMER) (PNV_VOID pvContext, PNV_VOID *ppvTimer);
+typedef NV_API_CALL NV_SINT32 (* PFN_FREE_TIMER) (PNV_VOID pvContext, PNV_VOID pvTimer);
+typedef NV_API_CALL NV_SINT32 (* PFN_INITIALIZE_TIMER) (PNV_VOID pvContext, PNV_VOID pvTimer, PTIMER_FUNC pvFunc, PNV_VOID pvFuncParameter);
+typedef NV_API_CALL NV_SINT32 (* PFN_SET_TIMER) (PNV_VOID pvContext, PNV_VOID pvTimer, NV_UINT32 dwMillisecondsDelay);
+typedef NV_API_CALL NV_SINT32 (* PFN_CANCEL_TIMER) (PNV_VOID pvContext, PNV_VOID pvTimer);
+
+typedef NV_API_CALL NV_SINT32 (* PFN_PREPROCESS_PACKET) (PNV_VOID pvContext, PNV_VOID pvADReadData, PNV_VOID *ppvID,
+ NV_UINT8 *pNewBuffer, NV_UINT8 uc8021pPriority);
+typedef NV_API_CALL PNV_VOID (* PFN_PREPROCESS_PACKET_NOPQ) (PNV_VOID pvContext, PNV_VOID pvADReadData);
+typedef NV_API_CALL NV_SINT32 (* PFN_INDICATE_PACKETS) (PNV_VOID pvContext, PNV_VOID *ppvID, NV_UINT32 ulNumPacket);
+typedef NV_API_CALL NV_SINT32 (* PFN_LOCK_ALLOC) (PNV_VOID pOSCX, NV_SINT32 iLockType, PNV_VOID *ppvLock);
+typedef NV_API_CALL NV_SINT32 (* PFN_LOCK_ACQUIRE) (PNV_VOID pOSCX, NV_SINT32 iLockType, PNV_VOID pvLock);
+typedef NV_API_CALL NV_SINT32 (* PFN_LOCK_RELEASE) (PNV_VOID pOSCX, NV_SINT32 iLockType, PNV_VOID pvLock);
+typedef NV_API_CALL PNV_VOID (* PFN_RETURN_BUFFER_VIRTUAL) (PNV_VOID pvContext, PNV_VOID pvADReadData);
+
+// Here are the OS functions that those objects below the OS interface
+// can call up to.
+typedef struct _OS_API
+{
+ // OS Context -- this is a parameter to every OS API call
+ PNV_VOID pOSCX;
+
+ // Basic OS functions
+ PFN_MEMORY_ALLOC pfnAllocMemory;
+ PFN_MEMORY_FREE pfnFreeMemory;
+ PFN_MEMORY_ALLOCEX pfnAllocMemoryEx;
+ PFN_MEMORY_FREEEX pfnFreeMemoryEx;
+ PFN_CLEAR_MEMORY pfnClearMemory;
+ PFN_STALL_EXECUTION pfnStallExecution;
+ PFN_ALLOC_RECEIVE_BUFFER pfnAllocReceiveBuffer;
+ PFN_FREE_RECEIVE_BUFFER pfnFreeReceiveBuffer;
+ PFN_PACKET_WAS_SENT pfnPacketWasSent;
+ PFN_PACKET_WAS_RECEIVED pfnPacketWasReceived;
+ PFN_LINK_STATE_HAS_CHANGED pfnLinkStateHasChanged;
+ PFN_ALLOC_TIMER pfnAllocTimer;
+ PFN_FREE_TIMER pfnFreeTimer;
+ PFN_INITIALIZE_TIMER pfnInitializeTimer;
+ PFN_SET_TIMER pfnSetTimer;
+ PFN_CANCEL_TIMER pfnCancelTimer;
+ PFN_PREPROCESS_PACKET pfnPreprocessPacket;
+ PFN_PREPROCESS_PACKET_NOPQ pfnPreprocessPacketNopq;
+ PFN_INDICATE_PACKETS pfnIndicatePackets;
+ PFN_LOCK_ALLOC pfnLockAlloc;
+ PFN_LOCK_ACQUIRE pfnLockAcquire;
+ PFN_LOCK_RELEASE pfnLockRelease;
+ PFN_RETURN_BUFFER_VIRTUAL pfnReturnBufferVirtual;
+} OS_API, *POS_API;
+
+#endif // _OS_H_
diff --git a/sys/contrib/dev/nve/phy.h b/sys/contrib/dev/nve/phy.h
new file mode 100644
index 0000000..87596a5
--- /dev/null
+++ b/sys/contrib/dev/nve/phy.h
@@ -0,0 +1,164 @@
+/***************************************************************************\
+|* *|
+|* Copyright 2001-2004 NVIDIA Corporation. All Rights Reserved. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL *|
+|* TO NVIDIA, CORPORATION. USE, REPRODUCTION OR DISCLOSURE TO ANY *|
+|* THIRD PARTY IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORP. *|
+|* *|
+|* THE INFORMATION CONTAINED HEREIN IS PROVIDED "AS IS" WITHOUT *|
+|* EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING ALL IMPLIED *|
+|* WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A *|
+|* PARTICULAR PURPOSE. *|
+|* *|
+\***************************************************************************/
+
+/*
+ FILE: phy.h
+ DATE: 2/7/00
+
+ This file contains the functional interface to the PHY.
+*/
+#ifndef _PHY_H_
+#define _PHY_H_
+
+//#include "basetype.h"
+//#include "nvevent.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define DEFAULT_PHY_ADDRESS 1
+
+
+#define HDP_VERSION_STRING "HDR P: $Revision: #23 $"
+
+//
+// Defaults for PHY timeout values.
+//
+#define PHY_POWER_ISOLATION_MS_TIMEOUT_DEFAULT 50
+#define PHY_RESET_MS_TIMEOUT_DEFAULT 50
+#define PHY_AUTONEG_MS_TIMEOUT_DEFAULT 3000
+#define PHY_LINK_UP_MS_TIMEOUT_DEFAULT 2400
+#define PHY_RDWR_US_TIMEOUT_DEFAULT 2048
+#define PHY_POWER_DOWN_US_TIMEOUT_DEFAULT 500
+
+
+/////////////////////////////////////////////////////////////////////////
+// The phy module knows the values that need to go into the phy registers
+// but typically the method of writing those registers is controlled by
+// another module (usually the adapter because it is really the hardware
+// interface.) Hence, the phy needs routines to call to read and write the
+// phy registers. This structure with appropriate routines will be provided
+// in the PHY_Open call.
+
+typedef NV_API_CALL NV_SINT32 (* PFN_READ_PHY) (PNV_VOID pvData, NV_UINT32 ulPhyAddr, NV_UINT32 ulPhyReg, NV_UINT32 *pulValue);
+typedef NV_API_CALL NV_SINT32 (* PFN_WRITE_PHY) (PNV_VOID pvData, NV_UINT32 ulPhyAddr, NV_UINT32 ulPhyReg, NV_UINT32 ulValue);
+
+typedef struct PHY_SUPPORT_API
+{
+ PNV_VOID pADCX;
+ PFN_READ_PHY pfnRead;
+ PFN_WRITE_PHY pfnWrite;
+ // PFN_EVENT_OCCURED pfnEventOccurred;
+
+ //
+ // These fields are passed down via the FD. FD get's them
+ // from the registry. They allow one to fine tune the timeout
+ // values in the PHY.
+ //
+ NV_UINT32 PhyPowerIsolationTimeoutInms;
+ NV_UINT32 PhyResetTimeoutInms;
+ NV_UINT32 PhyAutonegotiateTimeoutInms;
+ NV_UINT32 PhyLinkupTimeoutInms;
+ NV_UINT32 PhyPowerdownOnCloseInus;
+
+} PHY_SUPPORT_API, *PPHY_SUPPORT_API;
+/////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////
+// The functional typedefs for the PHY Api
+typedef NV_SINT32 (* PFN_PHY_INIT) (PNV_VOID pvContext, NV_UINT32 *pulLinkState, NV_UINT32 PhyMode);
+typedef NV_SINT32 (* PFN_PHY_DEINIT) (PNV_VOID pvContext);
+typedef NV_SINT32 (* PFN_PHY_CLOSE) (PNV_VOID pvContext);
+typedef NV_SINT32 (* PFN_GET_LINK_SPEED) (PNV_VOID pvContext);
+typedef NV_SINT32 (* PFN_GET_LINK_MODE) (PNV_VOID pvContext);
+typedef NV_SINT32 (* PFN_GET_LINK_STATE) (PNV_VOID pvContext, NV_UINT32 *pulLinkState);
+typedef NV_SINT32 (* PFN_IS_LINK_INITIALIZING) (PNV_VOID pvContext);
+typedef NV_SINT32 (* PFN_RESET_PHY_INIT_STATE) (PNV_VOID pvContext);
+typedef NV_SINT32 (* PFN_FORCE_SPEED_DUPLEX) (PNV_VOID pvContext, NV_UINT16 usSpeed, NV_UINT8 ucForceDpx, NV_UINT8 ucForceMode);
+typedef NV_SINT32 (* PFN_PHY_POWERDOWN) (PNV_VOID pvContext);
+typedef NV_SINT32 (* PFN_SET_LOW_SPEED_FOR_PM) (PNV_VOID pvContext);
+
+
+typedef struct _PHY_API
+{
+ // This is the context to pass back in as the first arg on all
+ // the calls in the API below.
+ PNV_VOID pPHYCX;
+
+ PFN_PHY_INIT pfnInit;
+ PFN_PHY_INIT pfnInitFast;
+ PFN_PHY_DEINIT pfnDeinit;
+ PFN_PHY_CLOSE pfnClose;
+ PFN_GET_LINK_SPEED pfnGetLinkSpeed;
+ PFN_GET_LINK_MODE pfnGetLinkMode;
+ PFN_GET_LINK_STATE pfnGetLinkState;
+ PFN_IS_LINK_INITIALIZING pfnIsLinkInitializing;
+ PFN_RESET_PHY_INIT_STATE pfnResetPhyInitState;
+ PFN_FORCE_SPEED_DUPLEX pfnForceSpeedDuplex;
+ PFN_PHY_POWERDOWN pfnPowerdown;
+ PFN_SET_LOW_SPEED_FOR_PM pfnSetLowSpeedForPM;
+} PHY_API, *PPHY_API;
+/////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////
+// This is the one function in the PHY interface that is publicly
+// available. The rest of the interface is returned in the pPhyApi;
+// The first argument needs to be cast to a POS_API structure ptr.
+// On input the second argument is a ptr to a PPHY_SUPPORT_API.
+// On output, the second argument should be treated as a ptr to a
+// PPHY_API and set appropriately.
+extern NV_SINT32 PHY_Open (PNV_VOID pvOSApi, PNV_VOID pPhyApi, NV_UINT32 *pulPhyAddr, NV_UINT32 *pulPhyConnected);
+/////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////
+// Here are the error codes the phy functions can return.
+#define PHYERR_NONE 0x0000
+#define PHYERR_COULD_NOT_ALLOC_CONTEXT 0x0001
+#define PHYERR_RESET_NEVER_FINISHED 0x0002
+#define PHYERR_NO_AVAILABLE_LINK_SPEED 0x0004
+#define PHYERR_INVALID_SETTINGS 0x0005
+#define PHYERR_READ_FAILED 0x0006
+#define PHYERR_WRITE_FAILED 0x0007
+#define PHYERR_NO_PHY 0x0008
+#define PHYERR_NO_RESOURCE 0x0009
+#define PHYERR_POWER_ISOLATION_TIMEOUT 0x000A
+#define PHYERR_POWER_DOWN_TIMEOUT 0x000B
+#define PHYERR_AUTONEG_TIMEOUT 0x000C
+#define PHYERR_PHY_LINK_SPEED_UNCHANGED 0x000D
+
+#define PHY_INVALID_PHY_ADDR 0xFFFF;
+
+/////////////////////////////////////////////////////////////////////////
+
+// This value can be used in the ulPhyLinkSpeed field.
+#define PHY_LINK_SPEED_UNKNOWN 0x0FFFFFFFF
+
+//
+// Values used to configure PHY mode.
+//
+#define PHY_MODE_MII 1
+#define PHY_MODE_RGMII 2
+
+typedef NV_VOID (* PTIMER_FUNC) (PNV_VOID pvContext);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif //_PHY_H_
OpenPOWER on IntegriCloud