summaryrefslogtreecommitdiff
path: root/test/sys/class/net
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/class/net
parent438d4c3cd4b89381348f84ef9f8b8937814f8362 (diff)
test: replace ancient sysfs tree with recent one
Diffstat (limited to 'test/sys/class/net')
l---------test/sys/class/net/eth01
-rw-r--r--test/sys/class/net/eth0/addr_len1
-rw-r--r--test/sys/class/net/eth0/address1
-rw-r--r--test/sys/class/net/eth0/broadcast1
-rw-r--r--test/sys/class/net/eth0/features1
-rw-r--r--test/sys/class/net/eth0/flags1
-rw-r--r--test/sys/class/net/eth0/ifindex1
-rw-r--r--test/sys/class/net/eth0/iflink1
-rw-r--r--test/sys/class/net/eth0/mtu1
l---------test/sys/class/net/eth0/subsystem1
-rw-r--r--test/sys/class/net/eth0/tx_queue_len1
-rw-r--r--test/sys/class/net/eth0/type1
-rw-r--r--test/sys/class/net/eth1/addr_len1
-rw-r--r--test/sys/class/net/eth1/address1
-rw-r--r--test/sys/class/net/eth1/broadcast1
-rw-r--r--test/sys/class/net/eth1/features1
-rw-r--r--test/sys/class/net/eth1/flags1
-rw-r--r--test/sys/class/net/eth1/ifindex1
-rw-r--r--test/sys/class/net/eth1/iflink1
-rw-r--r--test/sys/class/net/eth1/mtu1
l---------test/sys/class/net/eth1/subsystem1
-rw-r--r--test/sys/class/net/eth1/tx_queue_len1
-rw-r--r--test/sys/class/net/eth1/type1
-rw-r--r--test/sys/class/net/eth1/wireless/beacon1
-rw-r--r--test/sys/class/net/eth1/wireless/crypt1
-rw-r--r--test/sys/class/net/eth1/wireless/fragment1
-rw-r--r--test/sys/class/net/eth1/wireless/level1
-rw-r--r--test/sys/class/net/eth1/wireless/link1
-rw-r--r--test/sys/class/net/eth1/wireless/misc1
-rw-r--r--test/sys/class/net/eth1/wireless/noise1
-rw-r--r--test/sys/class/net/eth1/wireless/nwid1
-rw-r--r--test/sys/class/net/eth1/wireless/retries1
-rw-r--r--test/sys/class/net/eth1/wireless/status1
l---------test/sys/class/net/lo1
-rw-r--r--test/sys/class/net/lo/addr_len1
-rw-r--r--test/sys/class/net/lo/address1
-rw-r--r--test/sys/class/net/lo/broadcast1
-rw-r--r--test/sys/class/net/lo/features1
-rw-r--r--test/sys/class/net/lo/flags1
-rw-r--r--test/sys/class/net/lo/ifindex1
-rw-r--r--test/sys/class/net/lo/iflink1
-rw-r--r--test/sys/class/net/lo/mtu1
l---------test/sys/class/net/lo/subsystem1
-rw-r--r--test/sys/class/net/lo/tx_queue_len1
-rw-r--r--test/sys/class/net/lo/type1
l---------test/sys/class/net/wlan01
l---------test/sys/class/net/wmaster01
47 files changed, 4 insertions, 43 deletions
diff --git a/test/sys/class/net/eth0 b/test/sys/class/net/eth0
new file mode 120000
index 0000000000..c1ba21c554
--- /dev/null
+++ b/test/sys/class/net/eth0
@@ -0,0 +1 @@
+../../devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/eth0 \ No newline at end of file
diff --git a/test/sys/class/net/eth0/addr_len b/test/sys/class/net/eth0/addr_len
deleted file mode 100644
index 1e8b314962..0000000000
--- a/test/sys/class/net/eth0/addr_len
+++ /dev/null
@@ -1 +0,0 @@
-6
diff --git a/test/sys/class/net/eth0/address b/test/sys/class/net/eth0/address
deleted file mode 100644
index 4e0cdd519d..0000000000
--- a/test/sys/class/net/eth0/address
+++ /dev/null
@@ -1 +0,0 @@
-00:e0:00:fb:04:e1
diff --git a/test/sys/class/net/eth0/broadcast b/test/sys/class/net/eth0/broadcast
deleted file mode 100644
index d516b03245..0000000000
--- a/test/sys/class/net/eth0/broadcast
+++ /dev/null
@@ -1 +0,0 @@
-ff:ff:ff:ff:ff:ff
diff --git a/test/sys/class/net/eth0/features b/test/sys/class/net/eth0/features
deleted file mode 100644
index bf73d73743..0000000000
--- a/test/sys/class/net/eth0/features
+++ /dev/null
@@ -1 +0,0 @@
-0x29
diff --git a/test/sys/class/net/eth0/flags b/test/sys/class/net/eth0/flags
deleted file mode 100644
index 4af9ab2807..0000000000
--- a/test/sys/class/net/eth0/flags
+++ /dev/null
@@ -1 +0,0 @@
-0x1023
diff --git a/test/sys/class/net/eth0/ifindex b/test/sys/class/net/eth0/ifindex
deleted file mode 100644
index ec635144f6..0000000000
--- a/test/sys/class/net/eth0/ifindex
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/test/sys/class/net/eth0/iflink b/test/sys/class/net/eth0/iflink
deleted file mode 100644
index ec635144f6..0000000000
--- a/test/sys/class/net/eth0/iflink
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/test/sys/class/net/eth0/mtu b/test/sys/class/net/eth0/mtu
deleted file mode 100644
index 3d86ec6498..0000000000
--- a/test/sys/class/net/eth0/mtu
+++ /dev/null
@@ -1 +0,0 @@
-1500
diff --git a/test/sys/class/net/eth0/subsystem b/test/sys/class/net/eth0/subsystem
deleted file mode 120000
index f138bf38f8..0000000000
--- a/test/sys/class/net/eth0/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../net \ No newline at end of file
diff --git a/test/sys/class/net/eth0/tx_queue_len b/test/sys/class/net/eth0/tx_queue_len
deleted file mode 100644
index 83b33d238d..0000000000
--- a/test/sys/class/net/eth0/tx_queue_len
+++ /dev/null
@@ -1 +0,0 @@
-1000
diff --git a/test/sys/class/net/eth0/type b/test/sys/class/net/eth0/type
deleted file mode 100644
index d00491fd7e..0000000000
--- a/test/sys/class/net/eth0/type
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/test/sys/class/net/eth1/addr_len b/test/sys/class/net/eth1/addr_len
deleted file mode 100644
index 1e8b314962..0000000000
--- a/test/sys/class/net/eth1/addr_len
+++ /dev/null
@@ -1 +0,0 @@
-6
diff --git a/test/sys/class/net/eth1/address b/test/sys/class/net/eth1/address
deleted file mode 100644
index 7325095c16..0000000000
--- a/test/sys/class/net/eth1/address
+++ /dev/null
@@ -1 +0,0 @@
-00:e0:00:8d:9f:25
diff --git a/test/sys/class/net/eth1/broadcast b/test/sys/class/net/eth1/broadcast
deleted file mode 100644
index d516b03245..0000000000
--- a/test/sys/class/net/eth1/broadcast
+++ /dev/null
@@ -1 +0,0 @@
-ff:ff:ff:ff:ff:ff
diff --git a/test/sys/class/net/eth1/features b/test/sys/class/net/eth1/features
deleted file mode 100644
index 9982566dc0..0000000000
--- a/test/sys/class/net/eth1/features
+++ /dev/null
@@ -1 +0,0 @@
-0x0
diff --git a/test/sys/class/net/eth1/flags b/test/sys/class/net/eth1/flags
deleted file mode 100644
index 7f97d854fc..0000000000
--- a/test/sys/class/net/eth1/flags
+++ /dev/null
@@ -1 +0,0 @@
-0x1002
diff --git a/test/sys/class/net/eth1/ifindex b/test/sys/class/net/eth1/ifindex
deleted file mode 100644
index f599e28b8a..0000000000
--- a/test/sys/class/net/eth1/ifindex
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/test/sys/class/net/eth1/iflink b/test/sys/class/net/eth1/iflink
deleted file mode 100644
index f599e28b8a..0000000000
--- a/test/sys/class/net/eth1/iflink
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/test/sys/class/net/eth1/mtu b/test/sys/class/net/eth1/mtu
deleted file mode 100644
index 3d86ec6498..0000000000
--- a/test/sys/class/net/eth1/mtu
+++ /dev/null
@@ -1 +0,0 @@
-1500
diff --git a/test/sys/class/net/eth1/subsystem b/test/sys/class/net/eth1/subsystem
deleted file mode 120000
index f138bf38f8..0000000000
--- a/test/sys/class/net/eth1/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../net \ No newline at end of file
diff --git a/test/sys/class/net/eth1/tx_queue_len b/test/sys/class/net/eth1/tx_queue_len
deleted file mode 100644
index 83b33d238d..0000000000
--- a/test/sys/class/net/eth1/tx_queue_len
+++ /dev/null
@@ -1 +0,0 @@
-1000
diff --git a/test/sys/class/net/eth1/type b/test/sys/class/net/eth1/type
deleted file mode 100644
index d00491fd7e..0000000000
--- a/test/sys/class/net/eth1/type
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/test/sys/class/net/eth1/wireless/beacon b/test/sys/class/net/eth1/wireless/beacon
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/eth1/wireless/beacon
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/eth1/wireless/crypt b/test/sys/class/net/eth1/wireless/crypt
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/eth1/wireless/crypt
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/eth1/wireless/fragment b/test/sys/class/net/eth1/wireless/fragment
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/eth1/wireless/fragment
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/eth1/wireless/level b/test/sys/class/net/eth1/wireless/level
deleted file mode 100644
index e702a30b33..0000000000
--- a/test/sys/class/net/eth1/wireless/level
+++ /dev/null
@@ -1 +0,0 @@
-188
diff --git a/test/sys/class/net/eth1/wireless/link b/test/sys/class/net/eth1/wireless/link
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/eth1/wireless/link
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/eth1/wireless/misc b/test/sys/class/net/eth1/wireless/misc
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/eth1/wireless/misc
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/eth1/wireless/noise b/test/sys/class/net/eth1/wireless/noise
deleted file mode 100644
index 405e2afe8e..0000000000
--- a/test/sys/class/net/eth1/wireless/noise
+++ /dev/null
@@ -1 +0,0 @@
-134
diff --git a/test/sys/class/net/eth1/wireless/nwid b/test/sys/class/net/eth1/wireless/nwid
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/eth1/wireless/nwid
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/eth1/wireless/retries b/test/sys/class/net/eth1/wireless/retries
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/eth1/wireless/retries
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/eth1/wireless/status b/test/sys/class/net/eth1/wireless/status
deleted file mode 100644
index 9982566dc0..0000000000
--- a/test/sys/class/net/eth1/wireless/status
+++ /dev/null
@@ -1 +0,0 @@
-0x0
diff --git a/test/sys/class/net/lo b/test/sys/class/net/lo
new file mode 120000
index 0000000000..c40cc08ac2
--- /dev/null
+++ b/test/sys/class/net/lo
@@ -0,0 +1 @@
+../../devices/virtual/net/lo \ No newline at end of file
diff --git a/test/sys/class/net/lo/addr_len b/test/sys/class/net/lo/addr_len
deleted file mode 100644
index 1e8b314962..0000000000
--- a/test/sys/class/net/lo/addr_len
+++ /dev/null
@@ -1 +0,0 @@
-6
diff --git a/test/sys/class/net/lo/address b/test/sys/class/net/lo/address
deleted file mode 100644
index 34e09d077c..0000000000
--- a/test/sys/class/net/lo/address
+++ /dev/null
@@ -1 +0,0 @@
-00:00:00:00:00:00
diff --git a/test/sys/class/net/lo/broadcast b/test/sys/class/net/lo/broadcast
deleted file mode 100644
index 34e09d077c..0000000000
--- a/test/sys/class/net/lo/broadcast
+++ /dev/null
@@ -1 +0,0 @@
-00:00:00:00:00:00
diff --git a/test/sys/class/net/lo/features b/test/sys/class/net/lo/features
deleted file mode 100644
index e8768d26fc..0000000000
--- a/test/sys/class/net/lo/features
+++ /dev/null
@@ -1 +0,0 @@
-0x65
diff --git a/test/sys/class/net/lo/flags b/test/sys/class/net/lo/flags
deleted file mode 100644
index 4bc4da19ae..0000000000
--- a/test/sys/class/net/lo/flags
+++ /dev/null
@@ -1 +0,0 @@
-0x9
diff --git a/test/sys/class/net/lo/ifindex b/test/sys/class/net/lo/ifindex
deleted file mode 100644
index d00491fd7e..0000000000
--- a/test/sys/class/net/lo/ifindex
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/test/sys/class/net/lo/iflink b/test/sys/class/net/lo/iflink
deleted file mode 100644
index d00491fd7e..0000000000
--- a/test/sys/class/net/lo/iflink
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/test/sys/class/net/lo/mtu b/test/sys/class/net/lo/mtu
deleted file mode 100644
index e20e16cfe8..0000000000
--- a/test/sys/class/net/lo/mtu
+++ /dev/null
@@ -1 +0,0 @@
-16436
diff --git a/test/sys/class/net/lo/subsystem b/test/sys/class/net/lo/subsystem
deleted file mode 120000
index f138bf38f8..0000000000
--- a/test/sys/class/net/lo/subsystem
+++ /dev/null
@@ -1 +0,0 @@
-../../net \ No newline at end of file
diff --git a/test/sys/class/net/lo/tx_queue_len b/test/sys/class/net/lo/tx_queue_len
deleted file mode 100644
index 573541ac97..0000000000
--- a/test/sys/class/net/lo/tx_queue_len
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/test/sys/class/net/lo/type b/test/sys/class/net/lo/type
deleted file mode 100644
index 6d629c4a23..0000000000
--- a/test/sys/class/net/lo/type
+++ /dev/null
@@ -1 +0,0 @@
-772
diff --git a/test/sys/class/net/wlan0 b/test/sys/class/net/wlan0
new file mode 120000
index 0000000000..c4c4a83f57
--- /dev/null
+++ b/test/sys/class/net/wlan0
@@ -0,0 +1 @@
+../../devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0 \ No newline at end of file
diff --git a/test/sys/class/net/wmaster0 b/test/sys/class/net/wmaster0
new file mode 120000
index 0000000000..3e0bec365e
--- /dev/null
+++ b/test/sys/class/net/wmaster0
@@ -0,0 +1 @@
+../../devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wmaster0 \ No newline at end of file