All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karsten Malcher <debian@dct.mine.nu>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: linux-serial@vger.kernel.org
Subject: Re: Adding driver for MCS9865 to the kernel sources
Date: Tue, 18 Feb 2014 11:57:22 +0100	[thread overview]
Message-ID: <53033C92.1010909@dct.mine.nu> (raw)
In-Reply-To: <1392720214.53908977@f120.i.mail.ru>

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:


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.


  reply	other threads:[~2014-02-18 10:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 10:26 Adding driver for MCS9865 to the kernel sources Karsten Malcher
2014-02-18 10:43 ` Alexander Shiyan
2014-02-18 10:57   ` Karsten Malcher [this message]
2014-02-18 14:22     ` Paul Gortmaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53033C92.1010909@dct.mine.nu \
    --to=debian@dct.mine.nu \
    --cc=linux-serial@vger.kernel.org \
    --cc=shc_work@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.