lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 13 Jan 2011 11:32:05 +0300
From:	Пасашников А.А. <pepper@...pbank.ru>
To:	linux-kernel@...r.kernel.org
Cc:	linux-serial@...r.kernel.org
Subject: JSM module patch

Hello

We use the OS Debian Squeeze kernel 2.6.32-5-686.
There is a problem:
We have an internal PCI card Digi Neo 4 with device ID 114F:00B0 (has 4
COM-ports).
Core module JSM doesn't support device described above, but support the
same device with 8 COM-port and device ID 114F:00B1.
Can you include this patches:

linux-2.6-2.6.32/include/linux/pci_ids.h
	--- pci_ids.h	2009-12-03 06:51:21.000000000 +0300
	+++ pci_ids.h	2011-01-11 14:07:32.000000000 +0300
	@@ -1460,6 +1464,7 @@
	 #define PCI_DEVICE_ID_DIGI_DF_M_E	0x0071
	 #define PCI_DEVICE_ID_DIGI_DF_M_IOM2_A	0x0072
	 #define PCI_DEVICE_ID_DIGI_DF_M_A	0x0073
	+#define PCI_DEVICE_ID_DIGI_NEO_4	0x00B0
	 #define PCI_DEVICE_ID_DIGI_NEO_8	0x00B1
	 #define PCI_DEVICE_ID_NEO_2DB9          0x00C8
	 #define PCI_DEVICE_ID_NEO_2DB9PRI       0x00C9

linux-source-2.6.32/drivers/serial/jsm/jsm_driver.c
	--- jsm_driver.c	2009-12-03 06:51:21.000000000 +0300
	+++ jsm_driver.c	2011-01-11 16:50:57.000000000 +0300
	@@ -81,7 +81,7 @@
    			/* store the info for the board we've found */
    			brd->boardnum = adapter_count++;
	 	brd->pci_dev = pdev;
	-	if (pdev->device == PCIE_DEVICE_ID_NEO_4_IBM)
	+	if (pdev->device == PCIE_DEVICE_ID_NEO_4_IBM || pdev->device ==
PCI_DEVICE_ID_DIGI_NEO_4)
	 		brd->maxports = 4;
	 	else if (pdev->device == PCI_DEVICE_ID_DIGI_NEO_8)
	 		brd->maxports = 8;
	@@ -213,6 +213,7 @@
	 	{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2RJ45PRI), 0, 0, 3 },
	 	{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCIE_DEVICE_ID_NEO_4_IBM), 0, 0, 4 },
	 	{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_DIGI_NEO_8), 0, 0, 5 },
	+	{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_DIGI_NEO_4), 0, 0, 6 },
	 	{ 0, }
	 };
	 MODULE_DEVICE_TABLE(pci, jsm_pci_tbl);

to the source?

same diff`s attached.

Best regards
Andrey Pasashnikov
Astrakhan
Russia
Download attachment "pci_ids.diff" of type "application/octet-stream" (471 bytes)

Download attachment "jsm_driver.diff" of type "application/octet-stream" (883 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ