From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry Butterworth Subject: [PATCH] Hook USB virt code into 2.6 build Date: Mon, 31 Jan 2005 18:43:00 +0000 Message-ID: <1107196980.3696.7.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-pbqTojOVNekkiRI8bo4L" Return-path: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: Mark Williamson List-Id: xen-devel@lists.xenproject.org --=-pbqTojOVNekkiRI8bo4L Content-Type: text/plain Content-Transfer-Encoding: 7bit This patch creates the Makefiles and the Kconfig but doesn't fix the compile issues. The config options are set to n to avoid breaking the 2.6 build. Tested with make world. -- Harry Butterworth --=-pbqTojOVNekkiRI8bo4L Content-Disposition: inline Content-Description: Forwarded message - BitKeeper patch Content-Type: message/rfc822 Return-Path: Received: from mwinf3102.me.freeserve.com (mwinf3102.me.freeserve.com) by mwinb3203 (SMTP Server) with LMTP; Mon, 31 Jan 2005 19:24:20 +0100 X-Sieve: Server Sieve 2.2 Received: by mwinf3102.me.freeserve.com (SMTP Server, from userid 1003) id 9C4BD1800167; Mon, 31 Jan 2005 19:24:20 +0100 (CET) Received: from smtp802.mail.ukl.yahoo.com (smtp802.mail.ukl.yahoo.com [217.12.12.139]) by mwinf3102.me.freeserve.com (SMTP Server) with SMTP id 756D91800150 for ; Mon, 31 Jan 2005 19:24:20 +0100 (CET) Received: from unknown (HELO localhost.localdomain) (harry@hebutterworth.freeserve.co.uk@81.153.233.11 with poptime) by smtp802.mail.ukl.yahoo.com with SMTP; 31 Jan 2005 18:24:20 -0000 Received: from harry by localhost.localdomain with local (Exim 4.43) id 1CvgDu-0006Po-Bm for harry@hebutterworth.freeserve.co.uk; Mon, 31 Jan 2005 18:24:30 +0000 To: harry@hebutterworth.freeserve.co.uk Subject: BitKeeper patch Message-Id: From: Harry Date: Mon, 31 Jan 2005 18:24:30 +0000 Envelope-to: harry@hebutterworth.freeserve.co.uk X-me-spamlevel: not-spam X-me-spamrating: 42.681603 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit This BitKeeper patch contains the following changesets: 1.1743 # User: harry # Host: dory.(none) # Root: /home/harry/Xen/BK/xeno-unstable.bk # Patch vers: 1.3 # Patch type: REGULAR == ChangeSet == smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 kaf24@viper.(none)|ChangeSet|20050129120419|61494 D 1.1743 05/01/31 15:50:46+00:00 harry@dory.(none) +6 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C c This change hooks the USB back and front-end drivers into the 2.6 build c process but, since they don't yet compile for 2.6, leaves the default c config options set to 'n' to avoid breaking the 2.6 build. c c Signed-off-by: Harry Butterworth butterwo@uk.ibm.com K 26407 P ChangeSet ------------------------------------------------ 0a0 > harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151114|02886|2992bfeb9ebdb683 harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151115|01701 > harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151053|16888|106498445000f3bb harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151054|03641 > cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/arch/xen/Kconfig|20040714164127|11422|89fcafe66c368866 harry@dory.(none)|linux-2.6.10-xen-sparse/arch/xen/Kconfig|20050131155046|16985 > cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/drivers/xen/Makefile|20040714164129|35789|dae1d8c9c10d9cd6 harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/Makefile|20050131155046|31454 > cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/arch/xen/configs/xen0_defconfig|20040714164127|27952|f56dfbb682ed1a78 harry@dory.(none)|linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig|20050131155046|54269 > cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/arch/xen/defconfig|20040714164127|27952|e67e2ed1f1142b16 harry@dory.(none)|linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig|20050131155046|44077 == linux-2.6.10-xen-sparse/arch/xen/Kconfig == cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/arch/xen/Kconfig|20040714164127|11422|89fcafe66c368866 cl349@arcadians.cl.cam.ac.uk|linux-2.6.10-xen-sparse/arch/xen/Kconfig|20050127180500|22331 D 1.22 05/01/31 15:50:46+00:00 harry@dory.(none) +20 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C c Add USB back and front end drivers to the Kconfig. c Make the defaults both 'n' until they compile. K 16985 O -rw-rw-r-- P linux-2.6.10-xen-sparse/arch/xen/Kconfig ------------------------------------------------ I72 11 config XEN_USBDEV_BACKEND bool "USB-device backend driver" depends on XEN_PHYSDEV_ACCESS default n help The USB-device backend driver allows the kernel to export its USB ports to other guests and thereby give other guests access to specific USB devices according to which port they are connected to. Currently this doesn't build so say N here unless you want to work on fixing it. \ I106 9 \ config XEN_USBDEV_FRONTEND bool "USB-device frontend driver" default n help The USB-device frontend driver allows the kernel to access USB devices connected to ports exported from another guest OS. Currently this doesn't build so say N here unless you want to work on fixing it. == linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig == cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/arch/xen/configs/xen0_defconfig|20040714164127|27952|f56dfbb682ed1a78 kaf24@scramble.cl.cam.ac.uk|linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig|20050123132824|49981 D 1.40 05/01/31 15:50:46+00:00 harry@dory.(none) +2 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C c Make the defaults for the new USB config options both `n' until they c compile. K 54269 O -rw-rw-r-- P linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig ------------------------------------------------ I17 1 CONFIG_XEN_USBDEV_BACKEND=n I21 1 CONFIG_XEN_USBDEV_FRONTEND=n == linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig == cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/arch/xen/defconfig|20040714164127|27952|e67e2ed1f1142b16 kaf24@scramble.cl.cam.ac.uk|linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig|20050123132824|38908 D 1.32 05/01/31 15:50:46+00:00 harry@dory.(none) +2 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C c Make the defaults for the new USB config options both `n' until they c compile. K 44077 O -rw-rw-r-- P linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig ------------------------------------------------ I16 1 # CONFIG_XEN_USBDEV_BACKEND is not set I20 1 CONFIG_XEN_USBDEV_FRONTEND=n == linux-2.6.10-xen-sparse/drivers/xen/Makefile == cl349@freefall.cl.cam.ac.uk|linux-2.6.7-xen-sparse/drivers/xen/Makefile|20040714164129|35789|dae1d8c9c10d9cd6 cl349@arcadians.cl.cam.ac.uk|linux-2.6.10-xen-sparse/drivers/xen/Makefile|20041227100102|24556 D 1.14 05/01/31 15:50:46+00:00 harry@dory.(none) +2 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C c Add the USB back and front end drivers to the Makefile. K 31454 O -rw-rw-r-- P linux-2.6.10-xen-sparse/drivers/xen/Makefile ------------------------------------------------ I9 1 obj-$(CONFIG_XEN_USBDEV_BACKEND) += usbback/ I11 1 obj-$(CONFIG_XEN_USBDEV_FRONTEND) += usbfront/ == linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile == New file: linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile f e 4 V 4 harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151053|16888|106498445000f3bb D 1.0 05/01/31 15:10:53+00:00 harry@dory.(none) +0 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 c BitKeeper file /home/harry/Xen/BK/xeno-unstable.bk/linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile K 16888 P linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile R 106498445000f3bb X 0x821 ------------------------------------------------ harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151053|16888|106498445000f3bb D 1.1 05/01/31 15:10:53+00:00 harry@dory.(none) +2 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C F 1 K 3641 O -rw-rw-r-- P linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile ------------------------------------------------ I0 2 \ obj-y := usbback.o control.o interface.o == linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile == New file: linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile f e 4 V 4 harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151114|02886|2992bfeb9ebdb683 D 1.0 05/01/31 15:11:14+00:00 harry@dory.(none) +0 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 c BitKeeper file /home/harry/Xen/BK/xeno-unstable.bk/linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile K 2886 P linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile R 2992bfeb9ebdb683 X 0x821 ------------------------------------------------ harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151114|02886|2992bfeb9ebdb683 D 1.1 05/01/31 15:11:14+00:00 harry@dory.(none) +2 -0 B smh22@boulderdash.cl.cam.ac.uk|ChangeSet|20021120105923|56899|1ee6296af7e15a82 C F 1 K 1701 O -rw-rw-r-- P linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile ------------------------------------------------ I0 2 \ obj-y := usbfront.o # Patch checksum=a554d20b --=-pbqTojOVNekkiRI8bo4L-- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl