[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-cvs
Subject:    [Bochs-cvs] CVS: bochs/iodev pciusb.cc, 1.54, 1.55 pciusb.h, 1.25,
From:       Volker Ruppert <vruppert () users ! sourceforge ! net>
Date:       2007-03-27 17:47:17
Message-ID: E1HWFlN-0000Po-NA () sc8-pr-cvs3 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/bochs/bochs/iodev
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1463/iodev

Modified Files:
	pciusb.cc pciusb.h usb_hid.cc 
Log Message:
- documentation update after USB devices rewrite
- removed obsolete structures and members from the USB code
- removed mouse type 'usb' (USB mouse and tablet override selected mouse type
  when connected)
- user doc: mention vmware 4 disk image support


Index: pciusb.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/pciusb.cc,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- pciusb.cc	25 Mar 2007 17:37:59 -0000	1.54
+++ pciusb.cc	27 Mar 2007 17:47:15 -0000	1.55
@@ -26,7 +26,6 @@
 
 // Experimental PCI USB adapter
 // Benjamin D Lunt (fys at frontiernet net) coded most of this usb emulation.
-// USB mass storage device support and SCSI emulation layer ported from Qemu
 
 /* Notes:
    - I have coded this to be able to use more than one HUB and each
@@ -261,7 +260,6 @@
       BX_USB_THIS hub[i].usb_port[j].enabled = 0;
       BX_USB_THIS hub[i].usb_port[j].able_changed = 0;
       BX_USB_THIS hub[i].usb_port[j].status = 0;
-      BX_USB_THIS hub[i].usb_port[j].device_num = -1;
       if (BX_USB_THIS hub[i].usb_port[j].device != NULL) {
         delete BX_USB_THIS hub[i].usb_port[j].device;
         BX_USB_THIS hub[i].usb_port[j].device = NULL;

Index: pciusb.h
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/pciusb.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- pciusb.h	25 Mar 2007 17:37:59 -0000	1.25
+++ pciusb.h	27 Mar 2007 17:47:15 -0000	1.26
@@ -25,7 +25,6 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
 // Benjamin D Lunt (fys at frontiernet net) coded most of this usb emulation.
-// USB mass storage device support and SCSI emulation layer ported from Qemu
 
 #ifndef BX_IODEV_PCIUSB_H
 #define BX_IODEV_PCIUSB_H
@@ -128,15 +127,6 @@
   int len;
 };
 
-// setup packets
-struct REQUEST_PACKET {
-  Bit8u  request_type;
-  Bit8u  request;
-  Bit16u value;
-  Bit16u index;
-  Bit16u length;
-};
-
 enum usbdev_type {
   USB_DEV_TYPE_NONE=0,
   USB_DEV_TYPE_MOUSE,
@@ -294,7 +284,6 @@
   //  Can only write in WORD sizes (Read in byte sizes???)
   struct {
     // our data
-    int     device_num;     // device number on this hub
     usb_device_t *device;   // device connected to this port
 
     // bit reps of actual port

Index: usb_hid.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/usb_hid.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- usb_hid.cc	25 Mar 2007 17:37:59 -0000	1.3
+++ usb_hid.cc	27 Mar 2007 17:47:15 -0000	1.4
@@ -18,7 +18,8 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 
-// USB HID emulation support ported from the Qemu project
+// USB HID emulation support (mouse and tablet) ported from the Qemu project
+// USB keypad emulation based on code by Benjamin D Lunt (fys at frontiernet net)
 
 
 // Define BX_PLUGGABLE in files that can be compiled into plugins.  For


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic