1 --- a/src/vectoring/ifxmips_vectoring.c
2 +++ b/src/vectoring/ifxmips_vectoring.c
3 @@ -325,7 +325,7 @@ static int proc_write_dbg(struct file *f
5 printk(dbg_enable_mask_str[i] + 1);
7 - printk("] > /proc/vectoring\n");
8 + printk("] > /proc/driver/vectoring\n");
12 @@ -433,11 +433,10 @@ static int __init vectoring_init(void)
14 struct proc_dir_entry *res;
16 - res = proc_create("vectoring",
17 + res = proc_create("driver/vectoring",
20 &g_proc_file_vectoring_dbg_seq_fops);
21 - printk("res = %p\n", res);
23 register_netdev_event_handler();
24 g_ptm_net_dev = dev_get_by_name(&init_net, "ptm0");
25 @@ -460,7 +459,7 @@ static void __exit vectoring_exit(void)
27 unregister_netdev_event_handler();
29 - remove_proc_entry("vectoring", NULL);
30 + remove_proc_entry("driver/vectoring", NULL);
33 module_init(vectoring_init);
34 --- a/src/vectoring/ifxmips_vectoring_test.c
35 +++ b/src/vectoring/ifxmips_vectoring_test.c
36 @@ -79,7 +79,7 @@ static int proc_write_vectoring(struct f
40 - printk("echo send <size> > /proc/eth/vectoring\n");
41 + printk("echo send <size> > /proc/driver/vectoring_test\n");
45 @@ -112,9 +112,7 @@ static __init void proc_file_create(void
47 struct proc_dir_entry *res;
49 -// g_proc_dir = proc_mkdir("eth", NULL);
51 - res = proc_create("eth/vectoring",
52 + res = proc_create("driver/vectoring_test",
55 &g_proc_file_vectoring_seq_fops);
56 @@ -122,10 +120,7 @@ static __init void proc_file_create(void
58 static __exit void proc_file_delete(void)
60 - remove_proc_entry("vectoring",
63 - remove_proc_entry("eth", NULL);
64 + remove_proc_entry("driver/vectoring_test", NULL);
68 @@ -151,3 +146,5 @@ static void __exit vectoring_test_exit(v
70 module_init(vectoring_test_init);
71 module_exit(vectoring_test_exit);
73 +MODULE_LICENSE("GPL");