diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-19 13:00:43 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-19 13:00:43 +0000 |
commit | a11d070e38435e145c17f74889992972bccd66b7 (patch) | |
tree | 110bd1522831d1e4c8eae33a3a13731977948908 /hw | |
parent | db380c066db9ddbc2b57ac2e394aaa3a170d08ab (diff) |
Change the usb-serial product ID to a more widely recognised value (Samuel Thibault).
Implement chr_close callback for "stdio" so that it can be closed and reopened.
Free chr devices after they're closed.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3927 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/usb-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-serial.c b/hw/usb-serial.c index 378d751260..b666c99be7 100644 --- a/hw/usb-serial.c +++ b/hw/usb-serial.c @@ -486,7 +486,7 @@ USBDevice *usb_serial_init(const char *filename) { USBSerialState *s; CharDriverState *cdrv; - unsigned short vendorid = 0x0403, productid = 0xFF00; + unsigned short vendorid = 0x0403, productid = 0x6001; while (*filename && *filename != ':') { const char *p; |