summaryrefslogtreecommitdiff
path: root/test/sys/devices/pnp0
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-29 04:12:44 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-29 04:12:44 +0200
commitc7fcba1bf4d0da13b66396c08c0b5f62b25d0405 (patch)
treef85741e12b958c1430750355fb4f463e4f299df3 /test/sys/devices/pnp0
parent438d4c3cd4b89381348f84ef9f8b8937814f8362 (diff)
test: replace ancient sysfs tree with recent one
Diffstat (limited to 'test/sys/devices/pnp0')
l---------test/sys/devices/pnp0/00:00/driver1
l---------test/sys/devices/pnp0/00:00/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:00/id1
-rw-r--r--test/sys/devices/pnp0/00:00/options0
-rw-r--r--test/sys/devices/pnp0/00:00/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:00/resources18
l---------test/sys/devices/pnp0/00:00/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:00/uevent1
-rw-r--r--test/sys/devices/pnp0/00:01/id2
-rw-r--r--test/sys/devices/pnp0/00:01/options0
-rw-r--r--test/sys/devices/pnp0/00:01/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:01/resources2
l---------test/sys/devices/pnp0/00:01/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:01/uevent0
l---------test/sys/devices/pnp0/00:02/driver1
l---------test/sys/devices/pnp0/00:02/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:02/id1
-rw-r--r--test/sys/devices/pnp0/00:02/options0
-rw-r--r--test/sys/devices/pnp0/00:02/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:02/resources30
l---------test/sys/devices/pnp0/00:02/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:02/uevent1
l---------test/sys/devices/pnp0/00:03/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:03/id1
-rw-r--r--test/sys/devices/pnp0/00:03/options0
-rw-r--r--test/sys/devices/pnp0/00:03/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:03/resources2
l---------test/sys/devices/pnp0/00:03/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:03/uevent0
l---------test/sys/devices/pnp0/00:04/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:04/id1
-rw-r--r--test/sys/devices/pnp0/00:04/options0
-rw-r--r--test/sys/devices/pnp0/00:04/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:04/resources5
l---------test/sys/devices/pnp0/00:04/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:04/uevent0
l---------test/sys/devices/pnp0/00:05/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:05/id1
-rw-r--r--test/sys/devices/pnp0/00:05/options0
-rw-r--r--test/sys/devices/pnp0/00:05/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:05/resources2
l---------test/sys/devices/pnp0/00:05/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:05/uevent0
l---------test/sys/devices/pnp0/00:06/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:06/id1
-rw-r--r--test/sys/devices/pnp0/00:06/options0
-rw-r--r--test/sys/devices/pnp0/00:06/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:06/resources3
l---------test/sys/devices/pnp0/00:06/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:06/uevent0
l---------test/sys/devices/pnp0/00:07/driver1
l---------test/sys/devices/pnp0/00:07/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:07/id1
-rw-r--r--test/sys/devices/pnp0/00:07/nvrambin0 -> 114 bytes
-rw-r--r--test/sys/devices/pnp0/00:07/options0
-rw-r--r--test/sys/devices/pnp0/00:07/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:07/resources3
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/date1
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/dev1
l---------test/sys/devices/pnp0/00:07/rtc/rtc0/device1
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/max_user_freq1
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/name1
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/since_epoch1
l---------test/sys/devices/pnp0/00:07/rtc/rtc0/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/time1
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/uevent2
-rw-r--r--test/sys/devices/pnp0/00:07/rtc/rtc0/wakealarm0
l---------test/sys/devices/pnp0/00:07/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:07/uevent1
l---------test/sys/devices/pnp0/00:08/driver1
l---------test/sys/devices/pnp0/00:08/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:08/id1
-rw-r--r--test/sys/devices/pnp0/00:08/options0
-rw-r--r--test/sys/devices/pnp0/00:08/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:08/resources4
l---------test/sys/devices/pnp0/00:08/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:08/uevent1
l---------test/sys/devices/pnp0/00:09/driver1
l---------test/sys/devices/pnp0/00:09/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:09/id2
-rw-r--r--test/sys/devices/pnp0/00:09/options0
-rw-r--r--test/sys/devices/pnp0/00:09/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:09/resources2
l---------test/sys/devices/pnp0/00:09/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:09/uevent1
l---------test/sys/devices/pnp0/00:0a/firmware_node1
-rw-r--r--test/sys/devices/pnp0/00:0a/id2
-rw-r--r--test/sys/devices/pnp0/00:0a/options0
-rw-r--r--test/sys/devices/pnp0/00:0a/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/00:0a/resources2
l---------test/sys/devices/pnp0/00:0a/subsystem1
-rw-r--r--test/sys/devices/pnp0/00:0a/uevent0
-rw-r--r--test/sys/devices/pnp0/power/wakeup1
-rw-r--r--test/sys/devices/pnp0/uevent0
95 files changed, 141 insertions, 0 deletions
diff --git a/test/sys/devices/pnp0/00:00/driver b/test/sys/devices/pnp0/00:00/driver
new file mode 120000
index 0000000000..49809519dd
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/driver
@@ -0,0 +1 @@
+../../../bus/pnp/drivers/system \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:00/firmware_node b/test/sys/devices/pnp0/00:00/firmware_node
new file mode 120000
index 0000000000..2d4d4b4535
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0C01:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:00/id b/test/sys/devices/pnp0/00:00/id
new file mode 100644
index 0000000000..8a67a657c5
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/id
@@ -0,0 +1 @@
+PNP0c01
diff --git a/test/sys/devices/pnp0/00:00/options b/test/sys/devices/pnp0/00:00/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/options
diff --git a/test/sys/devices/pnp0/00:00/power/wakeup b/test/sys/devices/pnp0/00:00/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:00/resources b/test/sys/devices/pnp0/00:00/resources
new file mode 100644
index 0000000000..e776f37bcd
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/resources
@@ -0,0 +1,18 @@
+state = active
+mem 0x0-0x9ffff
+mem 0xc0000-0xc3fff
+mem 0xc4000-0xc7fff
+mem 0xc8000-0xcbfff
+mem 0xcc000-0xcffff
+mem disabled
+mem disabled
+mem disabled
+mem 0xdc000-0xdffff
+mem 0xe0000-0xe3fff
+mem 0xe4000-0xe7fff
+mem 0xe8000-0xebfff
+mem 0xec000-0xeffff
+mem 0xf0000-0xfffff
+mem 0x100000-0x7fffffff
+mem 0xfec00000-0xfed3ffff
+mem 0xfed41000-0xffffffff
diff --git a/test/sys/devices/pnp0/00:00/subsystem b/test/sys/devices/pnp0/00:00/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:00/uevent b/test/sys/devices/pnp0/00:00/uevent
new file mode 100644
index 0000000000..5f289cdaa8
--- /dev/null
+++ b/test/sys/devices/pnp0/00:00/uevent
@@ -0,0 +1 @@
+DRIVER=system
diff --git a/test/sys/devices/pnp0/00:01/id b/test/sys/devices/pnp0/00:01/id
new file mode 100644
index 0000000000..ea60bfdf5f
--- /dev/null
+++ b/test/sys/devices/pnp0/00:01/id
@@ -0,0 +1,2 @@
+PNP0a08
+PNP0a03
diff --git a/test/sys/devices/pnp0/00:01/options b/test/sys/devices/pnp0/00:01/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:01/options
diff --git a/test/sys/devices/pnp0/00:01/power/wakeup b/test/sys/devices/pnp0/00:01/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:01/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:01/resources b/test/sys/devices/pnp0/00:01/resources
new file mode 100644
index 0000000000..f70025a192
--- /dev/null
+++ b/test/sys/devices/pnp0/00:01/resources
@@ -0,0 +1,2 @@
+state = active
+io 0xcf8-0xcff
diff --git a/test/sys/devices/pnp0/00:01/subsystem b/test/sys/devices/pnp0/00:01/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:01/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:01/uevent b/test/sys/devices/pnp0/00:01/uevent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:01/uevent
diff --git a/test/sys/devices/pnp0/00:02/driver b/test/sys/devices/pnp0/00:02/driver
new file mode 120000
index 0000000000..49809519dd
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/driver
@@ -0,0 +1 @@
+../../../bus/pnp/drivers/system \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:02/firmware_node b/test/sys/devices/pnp0/00:02/firmware_node
new file mode 120000
index 0000000000..7bf7dd260b
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C02:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:02/id b/test/sys/devices/pnp0/00:02/id
new file mode 100644
index 0000000000..c6dcd897da
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/id
@@ -0,0 +1 @@
+PNP0c02
diff --git a/test/sys/devices/pnp0/00:02/options b/test/sys/devices/pnp0/00:02/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/options
diff --git a/test/sys/devices/pnp0/00:02/power/wakeup b/test/sys/devices/pnp0/00:02/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:02/resources b/test/sys/devices/pnp0/00:02/resources
new file mode 100644
index 0000000000..0ea5e8e82b
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/resources
@@ -0,0 +1,30 @@
+state = active
+io 0x10-0x1f
+io 0x90-0x9f
+io 0x24-0x25
+io 0x28-0x29
+io 0x2c-0x2d
+io 0x30-0x31
+io 0x34-0x35
+io 0x38-0x39
+io 0x3c-0x3d
+io 0xa4-0xa5
+io 0xa8-0xa9
+io 0xac-0xad
+io 0xb0-0xb5
+io 0xb8-0xb9
+io 0xbc-0xbd
+io 0x50-0x53
+io 0x72-0x77
+io 0x164e-0x164f
+io 0x2e-0x2f
+io 0x1000-0x107f
+io 0x1180-0x11bf
+io 0x800-0x80f
+io 0x15e0-0x15ef
+io 0x1600-0x165f
+mem 0xf0000000-0xf3ffffff
+mem 0xfed1c000-0xfed1ffff
+mem 0xfed14000-0xfed17fff
+mem 0xfed18000-0xfed18fff
+mem 0xfed19000-0xfed19fff
diff --git a/test/sys/devices/pnp0/00:02/subsystem b/test/sys/devices/pnp0/00:02/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:02/uevent b/test/sys/devices/pnp0/00:02/uevent
new file mode 100644
index 0000000000..5f289cdaa8
--- /dev/null
+++ b/test/sys/devices/pnp0/00:02/uevent
@@ -0,0 +1 @@
+DRIVER=system
diff --git a/test/sys/devices/pnp0/00:03/firmware_node b/test/sys/devices/pnp0/00:03/firmware_node
new file mode 120000
index 0000000000..f1383eda0f
--- /dev/null
+++ b/test/sys/devices/pnp0/00:03/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0103:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:03/id b/test/sys/devices/pnp0/00:03/id
new file mode 100644
index 0000000000..01bdd099b8
--- /dev/null
+++ b/test/sys/devices/pnp0/00:03/id
@@ -0,0 +1 @@
+PNP0103
diff --git a/test/sys/devices/pnp0/00:03/options b/test/sys/devices/pnp0/00:03/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:03/options
diff --git a/test/sys/devices/pnp0/00:03/power/wakeup b/test/sys/devices/pnp0/00:03/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:03/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:03/resources b/test/sys/devices/pnp0/00:03/resources
new file mode 100644
index 0000000000..04faff5084
--- /dev/null
+++ b/test/sys/devices/pnp0/00:03/resources
@@ -0,0 +1,2 @@
+state = active
+mem 0xfed00000-0xfed003ff
diff --git a/test/sys/devices/pnp0/00:03/subsystem b/test/sys/devices/pnp0/00:03/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:03/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:03/uevent b/test/sys/devices/pnp0/00:03/uevent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:03/uevent
diff --git a/test/sys/devices/pnp0/00:04/firmware_node b/test/sys/devices/pnp0/00:04/firmware_node
new file mode 120000
index 0000000000..dfcdf1c3b5
--- /dev/null
+++ b/test/sys/devices/pnp0/00:04/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0200:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:04/id b/test/sys/devices/pnp0/00:04/id
new file mode 100644
index 0000000000..d14c5bc3ff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:04/id
@@ -0,0 +1 @@
+PNP0200
diff --git a/test/sys/devices/pnp0/00:04/options b/test/sys/devices/pnp0/00:04/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:04/options
diff --git a/test/sys/devices/pnp0/00:04/power/wakeup b/test/sys/devices/pnp0/00:04/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:04/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:04/resources b/test/sys/devices/pnp0/00:04/resources
new file mode 100644
index 0000000000..8d6e436d77
--- /dev/null
+++ b/test/sys/devices/pnp0/00:04/resources
@@ -0,0 +1,5 @@
+state = active
+io 0x0-0xf
+io 0x80-0x8f
+io 0xc0-0xdf
+dma 4
diff --git a/test/sys/devices/pnp0/00:04/subsystem b/test/sys/devices/pnp0/00:04/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:04/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:04/uevent b/test/sys/devices/pnp0/00:04/uevent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:04/uevent
diff --git a/test/sys/devices/pnp0/00:05/firmware_node b/test/sys/devices/pnp0/00:05/firmware_node
new file mode 120000
index 0000000000..17eea0d63a
--- /dev/null
+++ b/test/sys/devices/pnp0/00:05/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0800:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:05/id b/test/sys/devices/pnp0/00:05/id
new file mode 100644
index 0000000000..aec7221dee
--- /dev/null
+++ b/test/sys/devices/pnp0/00:05/id
@@ -0,0 +1 @@
+PNP0800
diff --git a/test/sys/devices/pnp0/00:05/options b/test/sys/devices/pnp0/00:05/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:05/options
diff --git a/test/sys/devices/pnp0/00:05/power/wakeup b/test/sys/devices/pnp0/00:05/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:05/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:05/resources b/test/sys/devices/pnp0/00:05/resources
new file mode 100644
index 0000000000..068ca9b670
--- /dev/null
+++ b/test/sys/devices/pnp0/00:05/resources
@@ -0,0 +1,2 @@
+state = active
+io 0x61-0x61
diff --git a/test/sys/devices/pnp0/00:05/subsystem b/test/sys/devices/pnp0/00:05/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:05/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:05/uevent b/test/sys/devices/pnp0/00:05/uevent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:05/uevent
diff --git a/test/sys/devices/pnp0/00:06/firmware_node b/test/sys/devices/pnp0/00:06/firmware_node
new file mode 120000
index 0000000000..99a333d2b4
--- /dev/null
+++ b/test/sys/devices/pnp0/00:06/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C04:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:06/id b/test/sys/devices/pnp0/00:06/id
new file mode 100644
index 0000000000..808147da40
--- /dev/null
+++ b/test/sys/devices/pnp0/00:06/id
@@ -0,0 +1 @@
+PNP0c04
diff --git a/test/sys/devices/pnp0/00:06/options b/test/sys/devices/pnp0/00:06/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:06/options
diff --git a/test/sys/devices/pnp0/00:06/power/wakeup b/test/sys/devices/pnp0/00:06/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:06/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:06/resources b/test/sys/devices/pnp0/00:06/resources
new file mode 100644
index 0000000000..da2ff4ba78
--- /dev/null
+++ b/test/sys/devices/pnp0/00:06/resources
@@ -0,0 +1,3 @@
+state = active
+io 0xf0-0xf0
+irq 13
diff --git a/test/sys/devices/pnp0/00:06/subsystem b/test/sys/devices/pnp0/00:06/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:06/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:06/uevent b/test/sys/devices/pnp0/00:06/uevent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:06/uevent
diff --git a/test/sys/devices/pnp0/00:07/driver b/test/sys/devices/pnp0/00:07/driver
new file mode 120000
index 0000000000..6a8764e224
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/driver
@@ -0,0 +1 @@
+../../../bus/pnp/drivers/rtc_cmos \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:07/firmware_node b/test/sys/devices/pnp0/00:07/firmware_node
new file mode 120000
index 0000000000..4154e9a091
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0B00:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:07/id b/test/sys/devices/pnp0/00:07/id
new file mode 100644
index 0000000000..13b00bc481
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/id
@@ -0,0 +1 @@
+PNP0b00
diff --git a/test/sys/devices/pnp0/00:07/nvram b/test/sys/devices/pnp0/00:07/nvram
new file mode 100644
index 0000000000..0c4c788d9d
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/nvram
Binary files differ
diff --git a/test/sys/devices/pnp0/00:07/options b/test/sys/devices/pnp0/00:07/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/options
diff --git a/test/sys/devices/pnp0/00:07/power/wakeup b/test/sys/devices/pnp0/00:07/power/wakeup
new file mode 100644
index 0000000000..86981e69f6
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/power/wakeup
@@ -0,0 +1 @@
+enabled
diff --git a/test/sys/devices/pnp0/00:07/resources b/test/sys/devices/pnp0/00:07/resources
new file mode 100644
index 0000000000..c697323bf4
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/resources
@@ -0,0 +1,3 @@
+state = active
+io 0x70-0x71
+irq 8
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/date b/test/sys/devices/pnp0/00:07/rtc/rtc0/date
new file mode 100644
index 0000000000..5315755e05
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/date
@@ -0,0 +1 @@
+2008-09-29
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/dev b/test/sys/devices/pnp0/00:07/rtc/rtc0/dev
new file mode 100644
index 0000000000..0cad52aef5
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/dev
@@ -0,0 +1 @@
+253:0
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/device b/test/sys/devices/pnp0/00:07/rtc/rtc0/device
new file mode 120000
index 0000000000..617545acf7
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/device
@@ -0,0 +1 @@
+../../../00:07 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/max_user_freq b/test/sys/devices/pnp0/00:07/rtc/rtc0/max_user_freq
new file mode 100644
index 0000000000..900731ffd5
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/max_user_freq
@@ -0,0 +1 @@
+64
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/name b/test/sys/devices/pnp0/00:07/rtc/rtc0/name
new file mode 100644
index 0000000000..89830d2bdb
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/name
@@ -0,0 +1 @@
+rtc_cmos
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/power/wakeup b/test/sys/devices/pnp0/00:07/rtc/rtc0/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/since_epoch b/test/sys/devices/pnp0/00:07/rtc/rtc0/since_epoch
new file mode 100644
index 0000000000..cd35b7f2d4
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/since_epoch
@@ -0,0 +1 @@
+1222647192
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/subsystem b/test/sys/devices/pnp0/00:07/rtc/rtc0/subsystem
new file mode 120000
index 0000000000..00b31dd527
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/subsystem
@@ -0,0 +1 @@
+../../../../../class/rtc \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/time b/test/sys/devices/pnp0/00:07/rtc/rtc0/time
new file mode 100644
index 0000000000..c60aa6133d
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/time
@@ -0,0 +1 @@
+00:13:12
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/uevent b/test/sys/devices/pnp0/00:07/rtc/rtc0/uevent
new file mode 100644
index 0000000000..b04cc3e1d0
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/uevent
@@ -0,0 +1,2 @@
+MAJOR=253
+MINOR=0
diff --git a/test/sys/devices/pnp0/00:07/rtc/rtc0/wakealarm b/test/sys/devices/pnp0/00:07/rtc/rtc0/wakealarm
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/rtc/rtc0/wakealarm
diff --git a/test/sys/devices/pnp0/00:07/subsystem b/test/sys/devices/pnp0/00:07/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:07/uevent b/test/sys/devices/pnp0/00:07/uevent
new file mode 100644
index 0000000000..cb584c04e3
--- /dev/null
+++ b/test/sys/devices/pnp0/00:07/uevent
@@ -0,0 +1 @@
+DRIVER=rtc_cmos
diff --git a/test/sys/devices/pnp0/00:08/driver b/test/sys/devices/pnp0/00:08/driver
new file mode 120000
index 0000000000..51bc226008
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/driver
@@ -0,0 +1 @@
+../../../bus/pnp/drivers/i8042 kbd \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:08/firmware_node b/test/sys/devices/pnp0/00:08/firmware_node
new file mode 120000
index 0000000000..b38ee5b14b
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0303:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:08/id b/test/sys/devices/pnp0/00:08/id
new file mode 100644
index 0000000000..958febdd9e
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/id
@@ -0,0 +1 @@
+PNP0303
diff --git a/test/sys/devices/pnp0/00:08/options b/test/sys/devices/pnp0/00:08/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/options
diff --git a/test/sys/devices/pnp0/00:08/power/wakeup b/test/sys/devices/pnp0/00:08/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:08/resources b/test/sys/devices/pnp0/00:08/resources
new file mode 100644
index 0000000000..ee3406e25d
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/resources
@@ -0,0 +1,4 @@
+state = active
+io 0x60-0x60
+io 0x64-0x64
+irq 1
diff --git a/test/sys/devices/pnp0/00:08/subsystem b/test/sys/devices/pnp0/00:08/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:08/uevent b/test/sys/devices/pnp0/00:08/uevent
new file mode 100644
index 0000000000..5cde1e92e9
--- /dev/null
+++ b/test/sys/devices/pnp0/00:08/uevent
@@ -0,0 +1 @@
+DRIVER=i8042 kbd
diff --git a/test/sys/devices/pnp0/00:09/driver b/test/sys/devices/pnp0/00:09/driver
new file mode 120000
index 0000000000..d34888c126
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/driver
@@ -0,0 +1 @@
+../../../bus/pnp/drivers/i8042 aux \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:09/firmware_node b/test/sys/devices/pnp0/00:09/firmware_node
new file mode 120000
index 0000000000..05b19685a6
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/IBM0057:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:09/id b/test/sys/devices/pnp0/00:09/id
new file mode 100644
index 0000000000..68c3528574
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/id
@@ -0,0 +1,2 @@
+IBM0057
+PNP0f13
diff --git a/test/sys/devices/pnp0/00:09/options b/test/sys/devices/pnp0/00:09/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/options
diff --git a/test/sys/devices/pnp0/00:09/power/wakeup b/test/sys/devices/pnp0/00:09/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:09/resources b/test/sys/devices/pnp0/00:09/resources
new file mode 100644
index 0000000000..76ceb09fcf
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/resources
@@ -0,0 +1,2 @@
+state = active
+irq 12
diff --git a/test/sys/devices/pnp0/00:09/subsystem b/test/sys/devices/pnp0/00:09/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:09/uevent b/test/sys/devices/pnp0/00:09/uevent
new file mode 100644
index 0000000000..da1cb5a961
--- /dev/null
+++ b/test/sys/devices/pnp0/00:09/uevent
@@ -0,0 +1 @@
+DRIVER=i8042 aux
diff --git a/test/sys/devices/pnp0/00:0a/firmware_node b/test/sys/devices/pnp0/00:0a/firmware_node
new file mode 120000
index 0000000000..4eaafe596c
--- /dev/null
+++ b/test/sys/devices/pnp0/00:0a/firmware_node
@@ -0,0 +1 @@
+../../LNXSYSTM:00/device:00/PNP0A08:00/device:01/ATM1200:00 \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:0a/id b/test/sys/devices/pnp0/00:0a/id
new file mode 100644
index 0000000000..710874173e
--- /dev/null
+++ b/test/sys/devices/pnp0/00:0a/id
@@ -0,0 +1,2 @@
+ATM1200
+PNP0c31
diff --git a/test/sys/devices/pnp0/00:0a/options b/test/sys/devices/pnp0/00:0a/options
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:0a/options
diff --git a/test/sys/devices/pnp0/00:0a/power/wakeup b/test/sys/devices/pnp0/00:0a/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/00:0a/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/00:0a/resources b/test/sys/devices/pnp0/00:0a/resources
new file mode 100644
index 0000000000..eb1cddfd47
--- /dev/null
+++ b/test/sys/devices/pnp0/00:0a/resources
@@ -0,0 +1,2 @@
+state = active
+mem 0xfed40000-0xfed40fff
diff --git a/test/sys/devices/pnp0/00:0a/subsystem b/test/sys/devices/pnp0/00:0a/subsystem
new file mode 120000
index 0000000000..eca01f4dff
--- /dev/null
+++ b/test/sys/devices/pnp0/00:0a/subsystem
@@ -0,0 +1 @@
+../../../bus/pnp \ No newline at end of file
diff --git a/test/sys/devices/pnp0/00:0a/uevent b/test/sys/devices/pnp0/00:0a/uevent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/00:0a/uevent
diff --git a/test/sys/devices/pnp0/power/wakeup b/test/sys/devices/pnp0/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/pnp0/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/pnp0/uevent b/test/sys/devices/pnp0/uevent
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/sys/devices/pnp0/uevent