Re: [PATCH] jsm driver - Linux-2.6.12.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

  I would like to rescind the patch that was posted here on Jul 19, 2005
with the subject [PATCH] jsm driver - Linux-2.6.12.3, since I am
submitting the patch against development kernel-2.6.13-rc3. The patch
takes care of the major device number change. A full description of the
change is given below.

  In the kernel-2.6.12.3 version, the jsm driver uses a static number of
253.  The major number 253 is a reserved for "LOCAL/EXPERIMENTAL USE" by
both char and block devices.  So the current patch takes advantage of
the dynamic allocation of major number by the kernel.
 
  Please CC me your comments.  Thanks.
  Signed-off-by: V. Ananda Krishnan <[email protected]>
                                    


diff -Naur linux-2.6.12.3/drivers/serial/jsm/jsm_driver.c linux-2.6.12.3-new/drivers/serial/jsm/jsm_driver.c
--- linux-2.6.12.3/drivers/serial/jsm/jsm_driver.c	2005-07-25 17:13:59.000000000 -0500
+++ linux-2.6.12.3-new/drivers/serial/jsm/jsm_driver.c	2005-07-25 17:14:39.000000000 -0500
@@ -42,7 +42,7 @@
 	.owner		= THIS_MODULE,
 	.driver_name	= JSM_DRIVER_NAME,
 	.dev_name	= "ttyn",
-	.major		= 253,
+	.major		= 0,
 	.minor		= JSM_MINOR_START,
 	.nr		= NR_PORTS,
 };

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux