]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/bcm/InterfaceIsr.c
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / drivers / staging / bcm / InterfaceIsr.c
index f928fe4d564d4a95075021a1e16de50ff16bed25..220ff922bdcffca89cfa4dbb1d20f223c54632d6 100644 (file)
@@ -1,6 +1,5 @@
 #include "headers.h"
 
-#ifndef BCM_SHM_INTERFACE
 
 static void read_int_callback(struct urb *urb/*, struct pt_regs *regs*/)
 {
@@ -8,6 +7,10 @@ static void read_int_callback(struct urb *urb/*, struct pt_regs *regs*/)
        PS_INTERFACE_ADAPTER psIntfAdapter = (PS_INTERFACE_ADAPTER)urb->context;
        PMINI_ADAPTER Adapter = psIntfAdapter->psAdapter ;
 
+       if (netif_msg_intr(Adapter))
+               pr_info(PFX "%s: interrupt status %d\n",
+                       Adapter->dev->name, status);
+
        if(Adapter->device_removed == TRUE)
        {
                BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, INTF_INIT, DBG_LVL_ALL,"Device has Got Removed.");
@@ -87,7 +90,7 @@ static void read_int_callback(struct urb *urb/*, struct pt_regs *regs*/)
                                BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, INTF_INIT, DBG_LVL_ALL,"Interrupt IN endPoint  has got halted/stalled...need to clear this");
                                Adapter->bEndPointHalted = TRUE ;
                                wake_up(&Adapter->tx_packet_wait_queue);
-                               urb->status = STATUS_SUCCESS ;;
+                               urb->status = STATUS_SUCCESS ;
                                return;
                }
            /* software-driven interface shutdown */
@@ -164,40 +167,3 @@ INT StartInterruptUrb(PS_INTERFACE_ADAPTER psIntfAdapter)
        return status;
 }
 
-/*
-Function:                              InterfaceEnableInterrupt
-
-Description:                   This is the hardware specific Function for configuring
-                                               and enabling the interrupts on the device.
-
-Input parameters:              IN PMINI_ADAPTER Adapter   - Miniport Adapter Context
-
-
-Return:                                BCM_STATUS_SUCCESS - If configuring the interrupts was successful.
-                                               Other           - If an error occured.
-*/
-
-void InterfaceEnableInterrupt(PMINI_ADAPTER Adapter)
-{
-
-}
-
-/*
-Function:                              InterfaceDisableInterrupt
-
-Description:                   This is the hardware specific Function for disabling the interrupts on the device.
-
-Input parameters:              IN PMINI_ADAPTER Adapter   - Miniport Adapter Context
-
-
-Return:                                BCM_STATUS_SUCCESS - If disabling the interrupts was successful.
-                                               Other           - If an error occured.
-*/
-
-void InterfaceDisableInterrupt(PMINI_ADAPTER Adapter)
-{
-
-}
-
-#endif
-