]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/nseries.c
Add USB option in machine options
[mirror_qemu.git] / hw / nseries.c
index 7ada90d28067170f070a1d72515cd29eeaec44c2..9306aa15a75c65b9607a80f398a019cd9f6996de 100644 (file)
@@ -1334,8 +1334,9 @@ static void n8x0_init(ram_addr_t ram_size, const char *boot_device,
     n8x0_dss_setup(s);
     n8x0_cbus_setup(s);
     n8x0_uart_setup(s);
-    if (usb_enabled)
+    if (usb_enabled(false)) {
         n8x0_usb_setup(s);
+    }
 
     if (kernel_filename) {
         /* Or at the linux loader.  */