aboutsummaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-22 21:03:55 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-22 21:03:55 +0000
commit6806364989f71456a65c630bc380249c9462204c (patch)
tree0e3b81d05997c1fa33b895d1e4611c5204b55d2d /usb-linux.c
parent6972f93538fc3ad18e791c69ffa1342da11d7159 (diff)
Native BSD host USB support (Juergen Lock, Lonnie Mendez)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5780 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/usb-linux.c b/usb-linux.c
index a499c10e94..334b45d30f 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -34,7 +34,6 @@
#include "qemu-timer.h"
#include "console.h"
-#if defined(__linux__)
#include <dirent.h>
#include <sys/ioctl.h>
#include <signal.h>
@@ -1697,25 +1696,3 @@ void usb_host_info(void)
term_printf(" Device %s.%s ID %s:%s\n", bus, addr, vid, pid);
}
}
-
-#else
-
-#include "hw/usb.h"
-
-void usb_host_info(void)
-{
- term_printf("USB host devices not supported\n");
-}
-
-/* XXX: modify configure to compile the right host driver */
-USBDevice *usb_host_device_open(const char *devname)
-{
- return NULL;
-}
-
-int usb_host_device_close(const char *devname)
-{
- return 0;
-}
-
-#endif