]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SimpleNetwork.h
Update comments for Protocol definitions to match UEFI spec.
[mirror_edk2.git] / MdePkg / Include / Protocol / SimpleNetwork.h
index 875857224165e50168b90c53f4ed6c1415b4c0c4..48033d803c50b3b2e4be2d52cd7fd355516b30e5 100644 (file)
@@ -552,76 +552,18 @@ EFI_STATUS
 // \r
 #define EFI_SIMPLE_NETWORK_INTERFACE_REVISION   EFI_SIMPLE_NETWORK_PROTOCOL_REVISION\r
 \r
-/**  \r
-  @par Protocol Description:\r
-  The EFI_SIMPLE_NETWORK_PROTOCOL protocol is used to initialize access \r
-  to a network adapter. Once the network adapter initializes, \r
-  the EFI_SIMPLE_NETWORK_PROTOCOL protocol provides services that \r
-  allow packets to be transmitted and received.\r
-  \r
-  @param Revision\r
-  Revision of the EFI_SIMPLE_NETWORK_PROTOCOL. All future revisions must \r
-  be backwards compatible. If a future version is not backwards compatible \r
-  it is not the same GUID.\r
-\r
-  @param Start\r
-  Prepares the network interface for further command operations. \r
-  No other EFI_SIMPLE_NETWORK_PROTOCOL interface functions will operate \r
-  until this call is made. \r
-\r
-  @param Stop\r
-  Stops further network interface command processing. \r
-  No other EFI_SIMPLE_NETWORK_PROTOCOL interface functions will operate \r
-  after this call is made until another Start() call is made. \r
-\r
-  @param Initialize\r
-  Resets the network adapter and allocates the transmit and receive buffers. \r
-\r
-  @param Reset\r
-  Resets the network adapter and reinitializes it with the parameters \r
-  provided in the previous call to Initialize(). \r
-\r
-  @param Shutdown\r
-  Resets the network adapter and leaves it in a state safe for another driver \r
-  to initialize. The memory buffers assigned in the Initialize() call are released. \r
-  After this call, only the Initialize() or Stop() calls may be used. \r
-\r
-  @param ReceiveFilters\r
-  Enables and disables the receive filters for the network interface and, \r
-  if supported, manages the filtered multicast \r
-  HW MAC (Hardware Media Access Control) address list. \r
-\r
-  @param StationAddress\r
-  Modifies or resets the current station address, if supported. \r
-\r
-  @param Statistics\r
-  Collects statistics from the network interface and allows the statistics to be reset. \r
-\r
-  @param MCastIpToMac\r
-  Maps a multicast IP address to a multicast HW MAC address. \r
-\r
-  @param NvData\r
-  Reads and writes the contents of the NVRAM devices attached to the network interface. \r
-\r
-  @param GetStatus\r
-  Reads the current interrupt status and the list of recycled transmit \r
-  buffers from the network interface. \r
-\r
-  @param Transmit\r
-  Places a packet in the transmit queue. \r
-\r
-  @param Receive\r
-  Retrieves a packet from the receive queue, along with the status \r
-  flags that describe the packet type. \r
-\r
-  @param WaitForPacket\r
-  Event used with WaitForEvent() to wait for a packet to be received.\r
-\r
-  @param Mode\r
-  Pointer to the EFI_SIMPLE_NETWORK_MODE data for the device. \r
-\r
-**/\r
+///\r
+/// The EFI_SIMPLE_NETWORK_PROTOCOL protocol is used to initialize access \r
+/// to a network adapter. Once the network adapter initializes, \r
+/// the EFI_SIMPLE_NETWORK_PROTOCOL protocol provides services that \r
+/// allow packets to be transmitted and received.\r
+///\r
 struct _EFI_SIMPLE_NETWORK_PROTOCOL {\r
+  ///\r
+  /// Revision of the EFI_SIMPLE_NETWORK_PROTOCOL. All future revisions must \r
+  /// be backwards compatible. If a future version is not backwards compatible \r
+  /// it is not the same GUID.\r
+  ///\r
   UINT64                              Revision;\r
   EFI_SIMPLE_NETWORK_START            Start;\r
   EFI_SIMPLE_NETWORK_STOP             Stop;\r
@@ -636,7 +578,13 @@ struct _EFI_SIMPLE_NETWORK_PROTOCOL {
   EFI_SIMPLE_NETWORK_GET_STATUS       GetStatus;\r
   EFI_SIMPLE_NETWORK_TRANSMIT         Transmit;\r
   EFI_SIMPLE_NETWORK_RECEIVE          Receive;\r
+  ///\r
+  /// Event used with WaitForEvent() to wait for a packet to be received.\r
+  ///\r
   EFI_EVENT                           WaitForPacket;\r
+  ///\r
+  /// Pointer to the EFI_SIMPLE_NETWORK_MODE data for the device.\r
+  ///\r
   EFI_SIMPLE_NETWORK_MODE             *Mode;\r
 };\r
 \r