summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-04-01 19:25:41 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:13 -0700
commita008521bb8a619b63a2d6e9c1e16b3a113a6cf20 (patch)
treeec4eed2ee2b9efcf2ad31ec7b0c8cb3434f150fc
parent5cd749f342ae95649a628668918e622b94bfdf4e (diff)
[PATCH] add a bunch of network class devices to the test sysfs tree
-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
-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
-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
-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
-rw-r--r--test/sys/class/net/lo/tx_queue_len1
-rw-r--r--test/sys/class/net/lo/type1
40 files changed, 40 insertions, 0 deletions
diff --git a/test/sys/class/net/eth0/addr_len b/test/sys/class/net/eth0/addr_len
new file mode 100644
index 0000000000..1e8b314962
--- /dev/null
+++ b/test/sys/class/net/eth0/addr_len
@@ -0,0 +1 @@
+6
diff --git a/test/sys/class/net/eth0/address b/test/sys/class/net/eth0/address
new file mode 100644
index 0000000000..4e0cdd519d
--- /dev/null
+++ b/test/sys/class/net/eth0/address
@@ -0,0 +1 @@
+00:e0:00:fb:04:e1
diff --git a/test/sys/class/net/eth0/broadcast b/test/sys/class/net/eth0/broadcast
new file mode 100644
index 0000000000..d516b03245
--- /dev/null
+++ b/test/sys/class/net/eth0/broadcast
@@ -0,0 +1 @@
+ff:ff:ff:ff:ff:ff
diff --git a/test/sys/class/net/eth0/features b/test/sys/class/net/eth0/features
new file mode 100644
index 0000000000..bf73d73743
--- /dev/null
+++ b/test/sys/class/net/eth0/features
@@ -0,0 +1 @@
+0x29
diff --git a/test/sys/class/net/eth0/flags b/test/sys/class/net/eth0/flags
new file mode 100644
index 0000000000..4af9ab2807
--- /dev/null
+++ b/test/sys/class/net/eth0/flags
@@ -0,0 +1 @@
+0x1023
diff --git a/test/sys/class/net/eth0/ifindex b/test/sys/class/net/eth0/ifindex
new file mode 100644
index 0000000000..ec635144f6
--- /dev/null
+++ b/test/sys/class/net/eth0/ifindex
@@ -0,0 +1 @@
+9
diff --git a/test/sys/class/net/eth0/iflink b/test/sys/class/net/eth0/iflink
new file mode 100644
index 0000000000..ec635144f6
--- /dev/null
+++ b/test/sys/class/net/eth0/iflink
@@ -0,0 +1 @@
+9
diff --git a/test/sys/class/net/eth0/mtu b/test/sys/class/net/eth0/mtu
new file mode 100644
index 0000000000..3d86ec6498
--- /dev/null
+++ b/test/sys/class/net/eth0/mtu
@@ -0,0 +1 @@
+1500
diff --git a/test/sys/class/net/eth0/tx_queue_len b/test/sys/class/net/eth0/tx_queue_len
new file mode 100644
index 0000000000..83b33d238d
--- /dev/null
+++ b/test/sys/class/net/eth0/tx_queue_len
@@ -0,0 +1 @@
+1000
diff --git a/test/sys/class/net/eth0/type b/test/sys/class/net/eth0/type
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/class/net/eth0/type
@@ -0,0 +1 @@
+1
diff --git a/test/sys/class/net/eth1/addr_len b/test/sys/class/net/eth1/addr_len
new file mode 100644
index 0000000000..1e8b314962
--- /dev/null
+++ b/test/sys/class/net/eth1/addr_len
@@ -0,0 +1 @@
+6
diff --git a/test/sys/class/net/eth1/address b/test/sys/class/net/eth1/address
new file mode 100644
index 0000000000..7325095c16
--- /dev/null
+++ b/test/sys/class/net/eth1/address
@@ -0,0 +1 @@
+00:e0:00:8d:9f:25
diff --git a/test/sys/class/net/eth1/broadcast b/test/sys/class/net/eth1/broadcast
new file mode 100644
index 0000000000..d516b03245
--- /dev/null
+++ b/test/sys/class/net/eth1/broadcast
@@ -0,0 +1 @@
+ff:ff:ff:ff:ff:ff
diff --git a/test/sys/class/net/eth1/features b/test/sys/class/net/eth1/features
new file mode 100644
index 0000000000..9982566dc0
--- /dev/null
+++ b/test/sys/class/net/eth1/features
@@ -0,0 +1 @@
+0x0
diff --git a/test/sys/class/net/eth1/flags b/test/sys/class/net/eth1/flags
new file mode 100644
index 0000000000..7f97d854fc
--- /dev/null
+++ b/test/sys/class/net/eth1/flags
@@ -0,0 +1 @@
+0x1002
diff --git a/test/sys/class/net/eth1/ifindex b/test/sys/class/net/eth1/ifindex
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/class/net/eth1/ifindex
@@ -0,0 +1 @@
+10
diff --git a/test/sys/class/net/eth1/iflink b/test/sys/class/net/eth1/iflink
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/class/net/eth1/iflink
@@ -0,0 +1 @@
+10
diff --git a/test/sys/class/net/eth1/mtu b/test/sys/class/net/eth1/mtu
new file mode 100644
index 0000000000..3d86ec6498
--- /dev/null
+++ b/test/sys/class/net/eth1/mtu
@@ -0,0 +1 @@
+1500
diff --git a/test/sys/class/net/eth1/tx_queue_len b/test/sys/class/net/eth1/tx_queue_len
new file mode 100644
index 0000000000..83b33d238d
--- /dev/null
+++ b/test/sys/class/net/eth1/tx_queue_len
@@ -0,0 +1 @@
+1000
diff --git a/test/sys/class/net/eth1/type b/test/sys/class/net/eth1/type
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/class/net/eth1/type
@@ -0,0 +1 @@
+1
diff --git a/test/sys/class/net/eth1/wireless/beacon b/test/sys/class/net/eth1/wireless/beacon
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/beacon
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/eth1/wireless/crypt b/test/sys/class/net/eth1/wireless/crypt
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/crypt
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/eth1/wireless/fragment b/test/sys/class/net/eth1/wireless/fragment
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/fragment
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/eth1/wireless/level b/test/sys/class/net/eth1/wireless/level
new file mode 100644
index 0000000000..e702a30b33
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/level
@@ -0,0 +1 @@
+188
diff --git a/test/sys/class/net/eth1/wireless/link b/test/sys/class/net/eth1/wireless/link
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/link
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/eth1/wireless/misc b/test/sys/class/net/eth1/wireless/misc
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/misc
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/eth1/wireless/noise b/test/sys/class/net/eth1/wireless/noise
new file mode 100644
index 0000000000..405e2afe8e
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/noise
@@ -0,0 +1 @@
+134
diff --git a/test/sys/class/net/eth1/wireless/nwid b/test/sys/class/net/eth1/wireless/nwid
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/nwid
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/eth1/wireless/retries b/test/sys/class/net/eth1/wireless/retries
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/retries
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/eth1/wireless/status b/test/sys/class/net/eth1/wireless/status
new file mode 100644
index 0000000000..9982566dc0
--- /dev/null
+++ b/test/sys/class/net/eth1/wireless/status
@@ -0,0 +1 @@
+0x0
diff --git a/test/sys/class/net/lo/addr_len b/test/sys/class/net/lo/addr_len
new file mode 100644
index 0000000000..1e8b314962
--- /dev/null
+++ b/test/sys/class/net/lo/addr_len
@@ -0,0 +1 @@
+6
diff --git a/test/sys/class/net/lo/address b/test/sys/class/net/lo/address
new file mode 100644
index 0000000000..34e09d077c
--- /dev/null
+++ b/test/sys/class/net/lo/address
@@ -0,0 +1 @@
+00:00:00:00:00:00
diff --git a/test/sys/class/net/lo/broadcast b/test/sys/class/net/lo/broadcast
new file mode 100644
index 0000000000..34e09d077c
--- /dev/null
+++ b/test/sys/class/net/lo/broadcast
@@ -0,0 +1 @@
+00:00:00:00:00:00
diff --git a/test/sys/class/net/lo/features b/test/sys/class/net/lo/features
new file mode 100644
index 0000000000..e8768d26fc
--- /dev/null
+++ b/test/sys/class/net/lo/features
@@ -0,0 +1 @@
+0x65
diff --git a/test/sys/class/net/lo/flags b/test/sys/class/net/lo/flags
new file mode 100644
index 0000000000..4bc4da19ae
--- /dev/null
+++ b/test/sys/class/net/lo/flags
@@ -0,0 +1 @@
+0x9
diff --git a/test/sys/class/net/lo/ifindex b/test/sys/class/net/lo/ifindex
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/class/net/lo/ifindex
@@ -0,0 +1 @@
+1
diff --git a/test/sys/class/net/lo/iflink b/test/sys/class/net/lo/iflink
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/class/net/lo/iflink
@@ -0,0 +1 @@
+1
diff --git a/test/sys/class/net/lo/mtu b/test/sys/class/net/lo/mtu
new file mode 100644
index 0000000000..e20e16cfe8
--- /dev/null
+++ b/test/sys/class/net/lo/mtu
@@ -0,0 +1 @@
+16436
diff --git a/test/sys/class/net/lo/tx_queue_len b/test/sys/class/net/lo/tx_queue_len
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/class/net/lo/tx_queue_len
@@ -0,0 +1 @@
+0
diff --git a/test/sys/class/net/lo/type b/test/sys/class/net/lo/type
new file mode 100644
index 0000000000..6d629c4a23
--- /dev/null
+++ b/test/sys/class/net/lo/type
@@ -0,0 +1 @@
+772