Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1037
b: refs/heads/master
c: fba478b
h: refs/heads/master
i:
  1035: 3efe4b9
v: v3
  • Loading branch information
Domen Puncer authored and Linus Torvalds committed May 5, 2005
1 parent 44948a0 commit 48fdbef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d67554895982f04d458e14c81b7b9843429719c
refs/heads/master: fba478b1719c39ea67f15c6158ff4993933e9d18
18 changes: 9 additions & 9 deletions trunk/drivers/telephony/ixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
*
***************************************************************************/

static char ixj_c_rcsid[] = "$Id: ixj.c,v 4.7 2001/08/13 06:19:33 craigs Exp $";
static char ixj_c_revision[] = "$Revision: 4.7 $";

/*
* $Log: ixj.c,v $
*
Expand Down Expand Up @@ -6172,8 +6169,14 @@ static int ixj_ioctl(struct inode *inode, struct file *file_p, unsigned int cmd,
retval = j->serial;
break;
case IXJCTL_VERSION:
if (copy_to_user(argp, ixj_c_revision, strlen(ixj_c_revision)))
retval = -EFAULT;
{
char arg_str[100];
snprintf(arg_str, sizeof(arg_str),
"\nDriver version %i.%i.%i", IXJ_VER_MAJOR,
IXJ_VER_MINOR, IXJ_BLD_VER);
if (copy_to_user(argp, arg_str, strlen(arg_str)))
retval = -EFAULT;
}
break;
case PHONE_RING_CADENCE:
j->ring_cadence = arg;
Expand Down Expand Up @@ -7168,9 +7171,6 @@ static int ixj_get_status_proc(char *buf)
int cnt;
IXJ *j;
len = 0;
len += sprintf(buf + len, "%s", ixj_c_rcsid);
len += sprintf(buf + len, "\n%s", ixj_h_rcsid);
len += sprintf(buf + len, "\n%s", ixjuser_h_rcsid);
len += sprintf(buf + len, "\nDriver version %i.%i.%i", IXJ_VER_MAJOR, IXJ_VER_MINOR, IXJ_BLD_VER);
len += sprintf(buf + len, "\nsizeof IXJ struct %Zd bytes", sizeof(IXJ));
len += sprintf(buf + len, "\nsizeof DAA struct %Zd bytes", sizeof(DAA_REGS));
Expand Down Expand Up @@ -7790,7 +7790,7 @@ static int __init ixj_init(void)
if ((probe = ixj_probe_pci(&cnt)) < 0) {
return probe;
}
printk("%s\n", ixj_c_rcsid);
printk(KERN_INFO "ixj driver initialized.\n");
create_proc_read_entry ("ixj", 0, NULL, ixj_read_proc, NULL);
return probe;
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/telephony/ixj.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
* TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
*****************************************************************************/
static char ixj_h_rcsid[] = "$Id: ixj.h,v 4.1 2001/08/04 14:49:27 craigs Exp $";

#define IXJ_VERSION 3031

#include <linux/version.h>
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/ixjuser.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
*
*****************************************************************************/

static char ixjuser_h_rcsid[] = "$Id: ixjuser.h,v 4.1 2001/08/05 00:17:37 craigs Exp $";

#include <linux/telephony.h>


Expand Down

0 comments on commit 48fdbef

Please sign in to comment.