* JSM module patch
[not found] <op.vo8g42gfgaomyf@pepper.eatpbank.ru>
@ 2011-01-13 8:32 ` Пасашников А.А.
2011-01-13 17:43 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Пасашников А.А. @ 2011-01-13 8:32 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-serial
[-- Attachment #1: Type: text/plain, Size: 1802 bytes --]
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
[-- Attachment #2: pci_ids.diff --]
[-- Type: application/octet-stream, Size: 471 bytes --]
--- /usr/src/linux-2.6-2.6.32/include/linux/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
[-- Attachment #3: jsm_driver.diff --]
[-- Type: application/octet-stream, Size: 883 bytes --]
--- jsm_driver.c 2009-12-03 06:51:21.000000000 +0300
+++ /usr/src/linux-source-2.6.32/drivers/serial/jsm/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);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: JSM module patch
2011-01-13 8:32 ` JSM module patch Пасашников А.А.
@ 2011-01-13 17:43 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2011-01-13 17:43 UTC (permalink / raw)
To: Пасашников
А.А.
Cc: linux-kernel, linux-serial
On Thu, Jan 13, 2011 at 11:32:05AM +0300, Пасашников А.А. wrote:
> 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:
I would be glad to, if you can resend them in a format that I can apply
them in. Hint, read the file, Documentation/SubmittingPatches and redo
your patch as it describes (properly level for patch, Signed-off-by:
line, etc.)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: JSM module patch
@ 2011-01-13 17:43 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2011-01-13 17:43 UTC (permalink / raw)
To: Пасашников
А.А.
Cc: linux-kernel, linux-serial
On Thu, Jan 13, 2011 at 11:32:05AM +0300, Пасашников А.А. wrote:
> 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:
I would be glad to, if you can resend them in a format that I can apply
them in. Hint, read the file, Documentation/SubmittingPatches and redo
your patch as it describes (properly level for patch, Signed-off-by:
line, etc.)
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* JSM module patch
@ 2011-01-13 8:26 Пасашников А.А.
0 siblings, 0 replies; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2011-01-13 17:46 UTC | newest]
Thread overview: 4+ 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 17:43 ` Greg KH
2011-01-13 8:26 Пасашников А.А.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.