Skip to contentSkip to conversation

Hook USB virt code into 2.6 build

PATCH New Harry Butterworth 1 participant 1 message Jan 31, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Hook USB virt code into 2.6 build

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.

Signature · 1 line
Harry Butterworth <[email protected]>

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 == [email protected]|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 [email protected]|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 [email protected]
K 26407
P ChangeSet
------------------------------------------------

0a0

Quoted 6 lines

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

[email protected]|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
[email protected]|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
[email protected]|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
[email protected]|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 == [email protected]|linux-2.6.7-xen-sparse/arch/xen/Kconfig|20040714164127|11422|89fcafe66c368866 [email protected]|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 [email protected]|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 == [email protected]|linux-2.6.7-xen-sparse/arch/xen/configs/xen0_defconfig|20040714164127|27952|f56dfbb682ed1a78 [email protected]|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 [email protected]|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 == [email protected]|linux-2.6.7-xen-sparse/arch/xen/defconfig|20040714164127|27952|e67e2ed1f1142b16 [email protected]|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 [email protected]|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 == [email protected]|linux-2.6.7-xen-sparse/drivers/xen/Makefile|20040714164129|35789|dae1d8c9c10d9cd6 [email protected]|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 [email protected]|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 [email protected]|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 [email protected]|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 [email protected]|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 [email protected]|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