aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/qtest/npcm7xx_emc-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/qtest/npcm7xx_emc-test.c b/tests/qtest/npcm7xx_emc-test.c
index f7646fae2c..63f6cadb5c 100644
--- a/tests/qtest/npcm7xx_emc-test.c
+++ b/tests/qtest/npcm7xx_emc-test.c
@@ -228,7 +228,10 @@ static int *packet_test_init(int module_num, GString *cmd_line)
* KISS and use -nic. The driver accepts 'emc0' and 'emc1' as aliases
* in the 'model' field to specify the device to match.
*/
- g_string_append_printf(cmd_line, " -nic socket,fd=%d,model=emc%d ",
+ g_string_append_printf(cmd_line, " -nic socket,fd=%d,model=emc%d "
+ "-nic user,model=npcm7xx-emc "
+ "-nic user,model=npcm-gmac "
+ "-nic user,model=npcm-gmac",
test_sockets[1], module_num);
g_test_queue_destroy(packet_test_clear, test_sockets);