Compartir a través de


OAL_KITLETH_INIT (Compact 2013)

10/16/2014

This function pointer initializes the KITL Ethernet device driver.

Syntax

typedef BOOL (*OAL_KITLETH_INIT)(
  UINT8 *pAddress,
  UINT32 offset,
  UINT16 mac[3]
);

Parameters

  • pAddress
    [in] Pointer to the physical address of the KITL Ethernet device driver.
  • offset
    [in] This parameter should not be used. The current implementation passes the physical address.
  • mac
    [in, out] When used on input, this parameter specifies the MAC address for hardware that does not store the MAC address. On output, it contains the MAC address used for KITL Ethernet communications.

Return Value

TRUE indicates success.

FALSE indicates failure.

Remarks

The pfnInit member of the OAL_KITL_ETH_DRIVER structure points to the custom function that implements OAL_KITLETH_INIT.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

KITL Functions for Ethernet Drivers
KITL Functions for Production-Quality OAL