Re: Adding driver for MCS9865 to the kernel sources

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

 



On Tue, Feb 18, 2014 at 5:57 AM, Karsten Malcher <debian@xxxxxxxxxxx> wrote:
> Am 18.02.2014 11:43, schrieb Alexander Shiyan:
>
>> At least for my 9835, its works without any 3rd-party drivers.
>>
>>
>
> In the history it was working with older kernels previous version 3.0.
>
> When you open the README you find this description:

This is the vendor readme, so it may not be the best advice.  They only
want to disable the in-kernel driver so that their own driver can load.

>
>
> To build driver on kernels from v2.6.34 till latest:
> ----------------------------------------------------
>   Since the device ID 9865 is included (as built-in) with kernel versions
>     starts from v2.6.34 and above, the following procedure is required to
>     follow to detect MCS9865 devices.
>
>   b) Open file "8250_pci.c".
>     - find for the macro PCI_DEVICE_ID_NETMOS_9865.  It will be found in two
> places,
>         1) In the struct definition "serial_pci_tbl[]"
>           - Comment the below lines,
>
>         "
>                 {       PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865,
>                         0xA000, 0x1000,
>                         0, 0, pbn_b0_1_115200 },
>
>                 {       PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865,
>                         0xA000, 0x3004,
>                         0, 0, pbn_b0_bt_4_115200 },
>         "
> ---------------------------------------------------------------------------------------------------
>
>
> This seems to be the problem.
> At least you must recompile parts of the kernel to get it running.
> So you can't work with the standard kernel of a distribution!
>
> It would be very helpful if this driver would be part of the standard kernel
> sources.

But it _is_ in standard kernel sources; see very old commit:

commit ac6ec5b1de5d1d5afcbe88d73c05df71dca0ac39
Author: Ira W. Snyder <iws@xxxxxxxxxxxxxxxx>
Date:   Mon Dec 21 16:26:45 2009 -0800

    serial: 8250_pci: add support for MCS9865 / SYBA 6x Serial Port Card

Maybe your problem is related to not having this very recent commit?

commit 333c085e4b0cd9df04b087d29f87969a4e26dfa9
Author: Dmitry Eremin-Solenikov <dbaryshkov@xxxxxxxxx>
Date:   Tue Feb 11 14:18:13 2014 +0400

    serial: 8250_pci: unbreak last serial ports on NetMos 9865 cards

In any case, I suggest collecting the boot logs relating to your
serial card and posting them here; boot with the latest kernel,
and without any vendor drivers.  With the right information,
I suspect people here can fix the driver for your card as well.

Please also include the "lspci [-vvv]" output relating to your
specific card, so that quirks can be assigned to specific cards
if needed.

Paul.
--

>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-serial" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux