Implementation of converting an multicast IP address to multicast HW MAC\r
address.\r
\r
-Copyright (c) 2004 - 2007, Intel Corporation. <BR> \r
-All rights reserved. This program and the accompanying materials are licensed \r
+Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed \r
and made available under the terms and conditions of the BSD License which \r
accompanies this distribution. The full text of the license may be found at \r
http://opensource.org/licenses/bsd-license.php \r
Db = Snp->Db;\r
Snp->Cdb.OpCode = PXE_OPCODE_MCAST_IP_TO_MAC;\r
Snp->Cdb.OpFlags = (UINT16) (IPv6 ? PXE_OPFLAGS_MCAST_IPV6_TO_MAC : PXE_OPFLAGS_MCAST_IPV4_TO_MAC);\r
- Snp->Cdb.CPBsize = sizeof (PXE_CPB_MCAST_IP_TO_MAC);\r
- Snp->Cdb.DBsize = sizeof (PXE_DB_MCAST_IP_TO_MAC);\r
+ Snp->Cdb.CPBsize = (UINT16) sizeof (PXE_CPB_MCAST_IP_TO_MAC);\r
+ Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_MCAST_IP_TO_MAC);\r
\r
Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb;\r
Snp->Cdb.DBaddr = (UINT64)(UINTN) Db;\r
//\r
// Issue UNDI command and check result.\r
//\r
- DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->undi.mcast_ip_to_mac() "));\r
+ DEBUG ((EFI_D_NET, "\nSnp->undi.mcast_ip_to_mac() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
\r
case PXE_STATCODE_UNSUPPORTED:\r
DEBUG (\r
- (EFI_D_ERROR | EFI_D_NET,\r
+ (EFI_D_NET,\r
"\nSnp->undi.mcast_ip_to_mac() %xh:%xh\n",\r
Snp->Cdb.StatFlags,\r
Snp->Cdb.StatCode)\r
// to caller.\r
//\r
DEBUG (\r
- (EFI_D_ERROR | EFI_D_NET,\r
+ (EFI_D_NET,\r
"\nSnp->undi.mcast_ip_to_mac() %xh:%xh\n",\r
Snp->Cdb.StatFlags,\r
Snp->Cdb.StatCode)\r