#include "Snp.h"\r
\r
/**\r
- this routine calls undi to get the status of the interrupts, get the list of\r
- transmit buffers that completed transmitting!\r
-\r
- @param Snp pointer to snp driver structure\r
- @param InterruptStatusPtr a non null pointer gets the interrupt status\r
- @param TransmitBufferListPtrs a non null ointer gets the list of pointers of\r
- previously transmitted buffers whose\r
- transmission was completed asynchrnously.\r
-\r
+ Call undi to get the status of the interrupts, get the list of transmit \r
+ buffers that completed transmitting. \r
+\r
+ @param Snp Pointer to snp driver structure.\r
+ @param InterruptStatusPtr A non null pointer to contain the interrupt \r
+ status.\r
+ @param TransmitBufferListPtrs A non null pointer to contain the list of \r
+ pointers of previous transmitted buffers whose\r
+ transmission was completed asynchrnously.\r
+ \r
+ @retval EFI_SUCCESS The status of the network interface was retrieved.\r
+ @retval EFI_DEVICE_ERROR The command could not be sent to the network \r
+ interface.\r
\r
**/\r
EFI_STATUS\r
//\r
// Issue UNDI command and check result.\r
//\r
- DEBUG ((EFI_D_NET, "\nSnp->undi.get_status() "));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->undi.get_status() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
if (Snp->Cdb.StatCode != EFI_SUCCESS) {\r
DEBUG (\r
- (EFI_D_NET,\r
+ (EFI_D_ERROR | EFI_D_NET,\r
"\nSnp->undi.get_status() %xh:%xh\n",\r
Snp->Cdb.StatFlags,\r
Snp->Cdb.StatFlags)\r