@@ -865,15 +865,15 @@ static int
865
865
e1000_intr_test (struct e1000_adapter * adapter , uint64_t * data )
866
866
{
867
867
struct net_device * netdev = adapter -> netdev ;
868
- uint32_t mask , i = 0 , shared_int = TRUE;
869
- uint32_t irq = adapter -> pdev -> irq ;
868
+ uint32_t mask , i = 0 , shared_int = TRUE;
869
+ uint32_t irq = adapter -> pdev -> irq ;
870
870
871
871
* data = 0 ;
872
872
873
873
/* Hook up test interrupt handler just for this test */
874
- if (!request_irq (irq , & e1000_test_intr , 0 , netdev -> name , netdev )) {
875
- shared_int = FALSE;
876
- } else if (request_irq (irq , & e1000_test_intr , SA_SHIRQ ,
874
+ if (!request_irq (irq , & e1000_test_intr , 0 , netdev -> name , netdev )) {
875
+ shared_int = FALSE;
876
+ } else if (request_irq (irq , & e1000_test_intr , SA_SHIRQ ,
877
877
netdev -> name , netdev )){
878
878
* data = 1 ;
879
879
return -1 ;
@@ -889,22 +889,22 @@ e1000_intr_test(struct e1000_adapter *adapter, uint64_t *data)
889
889
/* Interrupt to test */
890
890
mask = 1 << i ;
891
891
892
- if (!shared_int ) {
893
- /* Disable the interrupt to be reported in
894
- * the cause register and then force the same
895
- * interrupt and see if one gets posted. If
896
- * an interrupt was posted to the bus, the
897
- * test failed.
898
- */
899
- adapter -> test_icr = 0 ;
900
- E1000_WRITE_REG (& adapter -> hw , IMC , mask );
901
- E1000_WRITE_REG (& adapter -> hw , ICS , mask );
902
- msec_delay (10 );
903
-
904
- if (adapter -> test_icr & mask ) {
905
- * data = 3 ;
906
- break ;
907
- }
892
+ if (!shared_int ) {
893
+ /* Disable the interrupt to be reported in
894
+ * the cause register and then force the same
895
+ * interrupt and see if one gets posted. If
896
+ * an interrupt was posted to the bus, the
897
+ * test failed.
898
+ */
899
+ adapter -> test_icr = 0 ;
900
+ E1000_WRITE_REG (& adapter -> hw , IMC , mask );
901
+ E1000_WRITE_REG (& adapter -> hw , ICS , mask );
902
+ msec_delay (10 );
903
+
904
+ if (adapter -> test_icr & mask ) {
905
+ * data = 3 ;
906
+ break ;
907
+ }
908
908
}
909
909
910
910
/* Enable the interrupt to be reported in
@@ -923,7 +923,7 @@ e1000_intr_test(struct e1000_adapter *adapter, uint64_t *data)
923
923
break ;
924
924
}
925
925
926
- if (!shared_int ) {
926
+ if (!shared_int ) {
927
927
/* Disable the other interrupts to be reported in
928
928
* the cause register and then force the other
929
929
* interrupts and see if any get posted. If
0 commit comments