ia64/xen-unstable

diff tools/misc/Makefile @ 19506:3fecb8f43617

tools: Add device-path command to convert SBDF into device path.

'SBDF' format is "[SEG#:]BUS#:DEV#.FUNC#"
ex) 0000:0a:1f.3
Device path format is "HID[:UID]-DEV#.FUNC#[-DEV#.FUNC#[...]]"
ex) PNP0A08:0-2.0-0.0

The command can be executed as follows.

# device_path 0a:1f.3
PNP0A08:0-2.0-0.0

Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Apr 06 13:52:56 2009 +0100 (2009-04-06)
parents bd78714b8594
children ff9fdd6fce1e
line diff
     1.1 --- a/tools/misc/Makefile	Mon Apr 06 13:49:59 2009 +0100
     1.2 +++ b/tools/misc/Makefile	Mon Apr 06 13:52:56 2009 +0100
     1.3 @@ -22,7 +22,7 @@ INSTALL_BIN-y := xencons
     1.4  INSTALL_BIN-$(CONFIG_X86) += xen-detect
     1.5  INSTALL_BIN := $(INSTALL_BIN-y)
     1.6  
     1.7 -INSTALL_SBIN-y := netfix xm xen-bugtool xen-python-path xend xenperf xsview xenpm
     1.8 +INSTALL_SBIN-y := netfix xm xen-bugtool xen-python-path xend xenperf xsview xenpm device-path
     1.9  INSTALL_SBIN := $(INSTALL_SBIN-y)
    1.10  
    1.11  DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path)