patch-2.3.99-pre9 linux/drivers/net/wan/comx-hw-comx.c
Next file: linux/drivers/net/wan/comx-hw-locomx.c
Previous file: linux/drivers/net/via-rhine.c
Back to the patch index
Back to the overall index
- Lines: 68
- Date:
Sun May 21 20:34:37 2000
- Orig file:
v2.3.99-pre8/linux/drivers/net/wan/comx-hw-comx.c
- Orig date:
Tue Mar 14 19:10:39 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/net/wan/comx-hw-comx.c linux/drivers/net/wan/comx-hw-comx.c
@@ -1031,11 +1031,6 @@
char *page;
- if (file->f_dentry->d_inode->i_ino != entry->low_ino) {
- printk(KERN_ERR "comx_write_proc: file <-> data internal error\n");
- return -EIO;
- }
-
if(ch->init_status & HW_OPEN) {
return -EAGAIN;
}
@@ -1234,7 +1229,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &comxhw_read_proc;
new_file->write_proc = &comxhw_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->size = 6;
new_file->nlink = 1;
@@ -1245,7 +1239,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &comxhw_read_proc;
new_file->write_proc = &comxhw_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->size = 5;
new_file->nlink = 1;
@@ -1256,7 +1249,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &comxhw_read_proc;
new_file->write_proc = &comxhw_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->size = 2; // Ezt tudjuk
new_file->nlink = 1;
@@ -1268,7 +1260,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &comxhw_read_proc;
new_file->write_proc = &comxhw_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->size = 9;
new_file->nlink = 1;
}
@@ -1280,7 +1271,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &comxhw_read_proc;
new_file->write_proc = &comxhw_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->size = 8;
new_file->nlink = 1;
@@ -1291,7 +1281,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &comxhw_read_proc;
new_file->write_proc = NULL;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->nlink = 1;
if ((new_file = create_proc_entry(FILENAME_FIRMWARE, S_IFREG | 0644,
@@ -1301,7 +1290,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &comxhw_read_proc;
new_file->write_proc = &comxhw_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->nlink = 1;
if (ch->hardware == &comx_hw) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)