summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-02 05:08:22 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-02 05:08:22 +0100
commit6d33ed73741ad4108dc1a540defb851418a04013 (patch)
tree259c85a2d3ebfde3679022b97a5605fcfb959c3e
parent8687cbfffb3d0c380bd02409dd71e0e8ffe3a3b4 (diff)
test: add "driver" and "bus" links to test sysfs tree
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
l---------test/sys/block/cciss!c0d0/device2
l---------test/sys/block/rd!c0d0/device2
l---------test/sys/block/sda/device2
l---------test/sys/bus/scsi/devices/0:0:0:02
l---------test/sys/bus/scsi/drivers/sd/0:0:0:02
l---------test/sys/devices/pci0000:00/0000:00:09.0/bus1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/bus1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/driver1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/bus1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/driver1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/bus1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/driver1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/ttyUSB0/bus1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/bus1
l---------test/sys/devices/pci0000:00/0000:00:09.0/usb3/driver1
l---------test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/bus1
l---------test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/driver1
l---------test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/bus1
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/device_blocked (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/device_blocked)0
l---------test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/driver1
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/model (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/model)0
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/online (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/online)0
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/queue_depth (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/queue_depth)0
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/rev (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/rev)0
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/scsi_level (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/scsi_level)0
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/type (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/type)0
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/vendor (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/vendor)0
-rw-r--r--test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/whitespace_test (renamed from test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/whitespace_test)0
l---------test/sys/devices/pci0000:00/0000:00:1e.0/bus1
29 files changed, 20 insertions, 5 deletions
diff --git a/test/sys/block/cciss!c0d0/device b/test/sys/block/cciss!c0d0/device
index 2d78258b1a..485bf09f61 120000
--- a/test/sys/block/cciss!c0d0/device
+++ b/test/sys/block/cciss!c0d0/device
@@ -1 +1 @@
-../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0 \ No newline at end of file
+../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0 \ No newline at end of file
diff --git a/test/sys/block/rd!c0d0/device b/test/sys/block/rd!c0d0/device
index 2d78258b1a..485bf09f61 120000
--- a/test/sys/block/rd!c0d0/device
+++ b/test/sys/block/rd!c0d0/device
@@ -1 +1 @@
-../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0 \ No newline at end of file
+../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0 \ No newline at end of file
diff --git a/test/sys/block/sda/device b/test/sys/block/sda/device
index 2d78258b1a..485bf09f61 120000
--- a/test/sys/block/sda/device
+++ b/test/sys/block/sda/device
@@ -1 +1 @@
-../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0 \ No newline at end of file
+../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0 \ No newline at end of file
diff --git a/test/sys/bus/scsi/devices/0:0:0:0 b/test/sys/bus/scsi/devices/0:0:0:0
index ebb65b3bac..6d8555dce1 120000
--- a/test/sys/bus/scsi/devices/0:0:0:0
+++ b/test/sys/bus/scsi/devices/0:0:0:0
@@ -1 +1 @@
-../../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0 \ No newline at end of file
+../../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0 \ No newline at end of file
diff --git a/test/sys/bus/scsi/drivers/sd/0:0:0:0 b/test/sys/bus/scsi/drivers/sd/0:0:0:0
index 239003f712..97ae02167d 120000
--- a/test/sys/bus/scsi/drivers/sd/0:0:0:0
+++ b/test/sys/bus/scsi/drivers/sd/0:0:0:0
@@ -1 +1 @@
-../../../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0 \ No newline at end of file
+../../../../devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0 \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/bus b/test/sys/devices/pci0000:00/0000:00:09.0/bus
new file mode 120000
index 0000000000..4b20ef9984
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/bus
@@ -0,0 +1 @@
+../../../bus/pci \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/bus b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/bus
new file mode 120000
index 0000000000..af968de921
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/bus
@@ -0,0 +1 @@
+../../../../../bus/usb \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/driver b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/driver
new file mode 120000
index 0000000000..5cf493442c
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-0:1.0/driver
@@ -0,0 +1 @@
+../../../../../bus/usb/drivers/hub \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/bus b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/bus
new file mode 120000
index 0000000000..29689de588
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/bus
@@ -0,0 +1 @@
+../../../../../../bus/usb \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/driver b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/driver
new file mode 120000
index 0000000000..27eb850ee4
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/3-1:1.0/driver
@@ -0,0 +1 @@
+../../../../../../bus/usb/drivers/pl2303 \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/bus b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/bus
new file mode 120000
index 0000000000..af968de921
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/bus
@@ -0,0 +1 @@
+../../../../../bus/usb \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/driver b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/driver
new file mode 120000
index 0000000000..092d2282f3
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/driver
@@ -0,0 +1 @@
+../../../../../bus/usb/drivers/usb \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/ttyUSB0/bus b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/ttyUSB0/bus
new file mode 120000
index 0000000000..dd0c04b01d
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/3-1/ttyUSB0/bus
@@ -0,0 +1 @@
+../../../../../../bus/usb-serial \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/bus b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/bus
new file mode 120000
index 0000000000..77682faf80
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/bus
@@ -0,0 +1 @@
+../../../../bus/usb \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:09.0/usb3/driver b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/driver
new file mode 120000
index 0000000000..0b3eba3d91
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:09.0/usb3/driver
@@ -0,0 +1 @@
+../../../../bus/usb/drivers/usb \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/bus b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/bus
new file mode 120000
index 0000000000..d6210992bb
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/bus
@@ -0,0 +1 @@
+../../../../bus/pci \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/driver b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/driver
new file mode 120000
index 0000000000..f6536ff545
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/driver
@@ -0,0 +1 @@
+../../../../bus/pci/drivers/aic7xxx \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/bus b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/bus
new file mode 120000
index 0000000000..2edcea4660
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/bus
@@ -0,0 +1 @@
+../../../../../../../bus/scsi \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/device_blocked b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/device_blocked
index 573541ac97..573541ac97 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/device_blocked
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/device_blocked
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/driver b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/driver
new file mode 120000
index 0000000000..5fbbc0f385
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/driver
@@ -0,0 +1 @@
+../../../../../../../bus/scsi/drivers/sd \ No newline at end of file
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/model b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/model
index 392039b199..392039b199 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/model
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/model
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/online b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/online
index d00491fd7e..d00491fd7e 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/online
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/online
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/queue_depth b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/queue_depth
index f5c89552bd..f5c89552bd 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/queue_depth
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/queue_depth
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/rev b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/rev
index 65dd514497..65dd514497 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/rev
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/rev
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/scsi_level b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/scsi_level
index b8626c4cff..b8626c4cff 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/scsi_level
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/scsi_level
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/type b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/type
index 573541ac97..573541ac97 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/type
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/type
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/vendor b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/vendor
index d87b2a5c0b..d87b2a5c0b 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/vendor
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/vendor
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/whitespace_test b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/whitespace_test
index e3d48f0fe0..e3d48f0fe0 100644
--- a/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/0:0:0:0/whitespace_test
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/0000:02:05.0/host0/target0:0:0/0:0:0:0/whitespace_test
diff --git a/test/sys/devices/pci0000:00/0000:00:1e.0/bus b/test/sys/devices/pci0000:00/0000:00:1e.0/bus
new file mode 120000
index 0000000000..4b20ef9984
--- /dev/null
+++ b/test/sys/devices/pci0000:00/0000:00:1e.0/bus
@@ -0,0 +1 @@
+../../../bus/pci \ No newline at end of file