mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* JSM module patch
@ 2011-01-13  8:26 Пасашников А.А.
  0 siblings, 0 replies; 3+ messages in thread
From: Пасашников А.А. @ 2011-01-13  8:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-serial, alan

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-13 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <op.vo8g42gfgaomyf@pepper.eatpbank.ru>
2011-01-13  8:32 ` JSM module patch Пасашников А.А.
2011-01-13 17:43   ` Greg KH
2011-01-13  8:26 Пасашников А.А.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®