public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel@Janik.cz (Pavel Janík)
To: Russell King <rmk@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PCI serial card with PCI 9052?
Date: Tue, 10 Dec 2002 08:07:46 +0100	[thread overview]
Message-ID: <m3vg22pd19.fsf@Janik.cz> (raw)
In-Reply-To: <20021201110202.E24114@flint.arm.linux.org.uk> (Russell King's message of "Sun, 1 Dec 2002 11:02:02 +0000")

   From: Russell King <rmk@arm.linux.org.uk>
   Date: Sun, 1 Dec 2002 11:02:02 +0000

Hi Russell,

   > Looking at all information in this thread so far, I think that you want
   > to use the existing pbn_b2_bt_2_115200 entry rather than creating an
   > additional entry for a card:
   > 
   >    { SPCI_FL_BASE2 | SPCI_FL_BASE_TABLE, 2, 115200 }, /*
   >    pbn_b2_bt_2_115200 */
   > 
   > -> Two ports, one at BASE2 the other at BASE3 running at a max baud of
   >    115200.

yes, this is it:

--- linux-2.4.19.orig/drivers/char/serial.c	Tue Dec  3 08:50:21 2002
+++ linux-2.4.19/drivers/char/serial.c	Tue Dec  3 08:53:38 2002
@@ -4672,6 +4678,10 @@
 		PCI_SUBVENDOR_ID_KEYSPAN,
 		PCI_SUBDEVICE_ID_KEYSPAN_SX2, 0, 0,
 		pbn_panacom },
+// PJ: New entry
+	{	PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050,
+		0xd841, 0x0200, 0, 0,
+		pbn_b2_bt_2_115200 },
 	{	PCI_VENDOR_ID_PANACOM, PCI_DEVICE_ID_PANACOM_QUADMODEM,
 		PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 		pbn_panacom4 },

On the other hand, that card worked only with "IRQ" 0, ie. polling. We
could not got it running with the IRQ the PCI bus told us (there was only
one PCI card in the machine, no peripherals, no interrupt conflict...).

   > Your bios appears to have assigned the ports so that your patch will work,
   > but only if your bios keeps the (base3 = base2 + 8) relationship (which
   > isn't guaranteed.)

Yes, in the other machine, the difference was different.
-- 
Pavel Janík

Don't stop with your first draft.
                  --  The Elements of Programming Style (Kernighan & Plaugher)

  parent reply	other threads:[~2002-12-10  7:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-19 22:09 PCI serial card with PCI 9052? Pavel Janík
2002-11-20  9:56 ` Andrey Panin
2002-11-24 11:27   ` Pavel Janík
2002-11-24 11:43     ` Russell King
2002-11-24 13:39       ` Gunther Mayer
2002-11-24 14:49       ` Pavel Janík
2002-11-25  9:48         ` Andrey Panin
2002-11-25 20:47           ` Pavel Janík
2002-11-27 11:34             ` Pavel Janík
2002-11-27 12:06               ` Andrey Panin
2002-11-27 12:21                 ` Pavel Janík
2002-11-27 12:34                   ` Andrey Panin
     [not found]             ` <20021201110202.E24114@flint.arm.linux.org.uk>
2002-12-10  7:07               ` Pavel Janík [this message]
2002-12-10  7:30                 ` Andrey Panin
2002-12-10  8:10                   ` Pavel Janík

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=m3vg22pd19.fsf@Janik.cz \
    --to=pavel@janik.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox