Digi Neo 8: linux-2.6.12_r2 jsm driver
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I compile linux-2.6.12_r2 sources with jsm support, but Digi Neo 8 is unsupported.
after some code-modifications it works fine.
lspci -v
0000:00:09.0 Serial controller: Digi International Digi Neo 8 (rev 02) (prog-if 02 [16550])
~ Subsystem: Digi International Digi Neo 8 ~ Flags: fast devsel, IRQ 16 ~ Memory at feb7e000 (32-bit, non-prefetchable)
diff -r linux-2.6.12-rc2/drivers/serial/jsm/jsm_driver.c linux-2.6.12-rc2-modified/drivers/serial/jsm/jsm_driver.c 62a63
|
67a69
| { PCI_DEVICE (PCI_VENDOR_ID_DIGI,PCI_DEVICE_NEO_8_DID), 0, 0, 4 },
76a79
| { PCI_DEVICE_NEO_8_DID , 8 },
169a173
| case PCI_DEVICE_NEO_8_DID:
diff -r linux-2.6.12-rc2/include/linux/pci_ids.h linux-2.6.12-rc2-modified/include/linux/pci_ids.h 1532a1533
| #define PCI_DEVICE_NEO_8_DID 0x00B1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCW7oFHI+uMg2HaCcRAraBAJ9ttNr3kTCIM4ztWk6DuMwwmaMVOgCeO8Rl N7idPCAnZOIevdD4Wguty9w=
=ZFjm
-----END PGP SIGNATURE-----
Quoted 6 lines · Ihalainen Nickolay
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1I compile linux-2.6.12_r2 sources with jsm support, but Digi Neo 8 is unsupported.
after some code-modifications it works fine.
The patch is badly mangled, please resend with a good mailer (e.g. mutt) or as an attachment.
Also the driver has changed a little in -mm, can you provide a diff against that?
Quoted 3 lines · Christoph Hellwig
On Tue, Apr 12, 2005 at 04:13:43PM +0400, Ihalainen Nickolay wrote:
Also the driver has changed a little in -mm, can you provide a diff against that?
Sorry.
Quoted 1 line
drivers/serial/jsm/jsm_driver.c 2005-04-11 12:58:51.000000000 +0000 renamed from drivers/serial/jsm/jsm_driver.c 2005-04-11 13:08:16.000000000 +0000 +1 -0
@@ -60,11 +60,13 @@ int jsm_driver_state = DRIVER_INITIALIZ spinlock_t jsm_board_head_lock = SPIN_LOCK_UNLOCKED; LIST_HEAD(jsm_board_head); + static struct pci_device_id jsm_pci_tbl[] = { { PCI_DEVICE (PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2DB9), 0, 0, 0 }, { PCI_DEVICE (PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2DB9PRI), 0, 0, 1 }, { PCI_DEVICE (PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2RJ45), 0, 0, 2 }, { PCI_DEVICE (PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2RJ45PRI),
0, 0, 3 },
+ { PCI_DEVICE (PCI_VENDOR_ID_DIGI, PCI_DEVICE_NEO_8_DID), 0, 0, 4 },
{ 0,} /* 0 terminated
list. */
};
MODULE_DEVICE_TABLE(pci, jsm_pci_tbl);
@@ -74,6 +76,7 @@ static struct board_id jsm_Ids[] = {
{ PCI_DEVICE_NEO_2DB9PRI_PCI_NAME, 2 },
{ PCI_DEVICE_NEO_2RJ45_PCI_NAME, 2 },
{ PCI_DEVICE_NEO_2RJ45PRI_PCI_NAME, 2 },
+ { PCI_DEVICE_NEO_8_DID , 8 },
{ NULL, 0 }};
@@ -167,6 +170,7 @@ static int jsm_found_board(struct pci_de
case PCI_DEVICE_ID_NEO_2DB9PRI:
case PCI_DEVICE_ID_NEO_2RJ45:
case PCI_DEVICE_ID_NEO_2RJ45PRI:+ case PCI_DEVICE_NEO_8_DID:
/*
* This chip is set up 100% when we get to it.
include/linux/pci_ids.h 2005-04-11 12:58:04.000000000 +0000 renamed from include/linux/pci_ids.h 2005-04-11 13:08:16.000000000 +0000 +1 -0
@@ -1530,6 +1530,7 @@ #define PCI_DEVICE_ID_NEO_2DB9PRI 0x00C9 #define PCI_DEVICE_ID_NEO_2RJ45 0x00CA #define PCI_DEVICE_ID_NEO_2RJ45PRI 0x00CB +#define PCI_DEVICE_NEO_8_DID 0x00B1 #define PCI_VENDOR_ID_MUTECH 0x1159 #define PCI_DEVICE_ID_MUTECH_MV1000 0x0001