Kaynağa Gözat

Force pci.o to be included.

Print warning message at probe time.
tags/v0.9.3
Michael Brown 19 yıl önce
ebeveyn
işleme
02df45352c
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5
    0
      src/drivers/net/legacy.c

+ 5
- 0
src/drivers/net/legacy.c Dosyayı Görüntüle

81
 		return rc;
81
 		return rc;
82
 	}
82
 	}
83
 
83
 
84
+	/* Do not remove this message */
85
+	printf ( "WARNING: Using legacy NIC wrapper\n" );
86
+
84
 	return 0;
87
 	return 0;
85
 }
88
 }
86
 
89
 
106
 void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
109
 void dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
107
 	return;
110
 	return;
108
 }
111
 }
112
+
113
+REQUIRE_OBJECT ( pci );

Loading…
İptal
Kaydet