Kill off PXENV_UNDI_FORCE_INTERRUPT support; we have no reason to
authorMichael Brown <mcb30@etherboot.org>
Tue, 3 Jul 2007 14:36:29 +0000 (15:36 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 3 Jul 2007 14:36:29 +0000 (15:36 +0100)
suspect that we need it, and implementing it would require needlessly
complicating the net device API.

src/interface/pxe/pxe_undi.c

index 0ce4b29..468dafc 100644 (file)
@@ -394,18 +394,15 @@ PXENV_EXIT_t pxenv_undi_initiate_diags ( struct s_PXENV_UNDI_INITIATE_DIAGS
 
 /* PXENV_UNDI_FORCE_INTERRUPT
  *
- * Status: working
+ * Status: won't implement (would require driver API changes for no
+ * perceptible benefit)
  */
 PXENV_EXIT_t pxenv_undi_force_interrupt ( struct s_PXENV_UNDI_FORCE_INTERRUPT
                                          *undi_force_interrupt ) {
        DBG ( "PXENV_UNDI_FORCE_INTERRUPT" );
 
-#if 0
-       eth_irq ( FORCE );
-#endif
-
-       undi_force_interrupt->Status = PXENV_STATUS_SUCCESS;
-       return PXENV_EXIT_SUCCESS;
+       undi_force_interrupt->Status = PXENV_STATUS_UNSUPPORTED;
+       return PXENV_EXIT_FAILURE;
 }
 
 /* PXENV_UNDI_GET_MCAST_ADDRESS