Browse Source

[undi] Include PXENV_GET_IFACE_INFO's ServiceFlags in debug output

tags/v0.9.8
Michael Brown 15 years ago
parent
commit
198ae0a131
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/arch/i386/drivers/net/undinet.c

+ 3
- 2
src/arch/i386/drivers/net/undinet.c View File

705
 				   &undi_iface,
705
 				   &undi_iface,
706
 				   sizeof ( undi_iface ) ) ) != 0 )
706
 				   sizeof ( undi_iface ) ) ) != 0 )
707
 		goto err_undi_get_iface_info;
707
 		goto err_undi_get_iface_info;
708
-	DBGC ( undinic, "UNDINIC %p has type %s and link speed %d\n",
709
-	       undinic, undi_iface.IfaceType, undi_iface.LinkSpeed );
708
+	DBGC ( undinic, "UNDINIC %p has type %s, speed %d, flags %08x\n",
709
+	       undinic, undi_iface.IfaceType, undi_iface.LinkSpeed,
710
+	       undi_iface.ServiceFlags );
710
 	if ( strncmp ( ( ( char * ) undi_iface.IfaceType ), "Etherboot",
711
 	if ( strncmp ( ( ( char * ) undi_iface.IfaceType ), "Etherboot",
711
 		       sizeof ( undi_iface.IfaceType ) ) == 0 ) {
712
 		       sizeof ( undi_iface.IfaceType ) ) == 0 ) {
712
 		DBGC ( undinic, "UNDINIC %p Etherboot 5.4 workaround enabled\n",
713
 		DBGC ( undinic, "UNDINIC %p Etherboot 5.4 workaround enabled\n",

Loading…
Cancel
Save