All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: QUATECH driver (was Free Linux Driver Development!)
@ 2007-02-01 17:41 Sergei Organov
  2007-02-02 17:43 ` [PATCH] serial: Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter Sergei Organov
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Organov @ 2007-02-01 17:41 UTC (permalink / raw)
  To: Alan; +Cc: Greg KH, linux-kernel

Alan <alan@lxorguk.ukuu.org.uk> writes:
>> 3. Vendor driver is rather close to the generic one being in the kernel,
>>    so maybe it's better to improve generic one instead of adding yet
>>    another driver to the tree.
>
> Firstly can you post a patch which adds the relevant identifiers to the
> current pcmcia serial driver so that 115,200 works but nothing higher.

OK, I'll try to recover what I did (as I've dropped the change after I
saw it can't do 460,800), and submit the patch.

> After that I'd like to take a look at the needed changes for higher speed
> support using the 2.6.20-mm work which adds arbitary speed support.

I expect it'll be rather hard for me to test the changes then, as my IBM
ThinkPad T43 suffers from kernel IDE/SATA/PATA issues, and running every
new kernel was a big pain so far (it currently runs 2.6.16.8) :(

-- Sergei.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] serial: Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter.
  2007-02-01 17:41 QUATECH driver (was Free Linux Driver Development!) Sergei Organov
@ 2007-02-02 17:43 ` Sergei Organov
  2007-02-02 19:04   ` Alan
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Organov @ 2007-02-02 17:43 UTC (permalink / raw)
  To: Alan; +Cc: Greg KH, linux-kernel


Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter.

Signed-off-by: Sergei Organov <osv@javad.com>

---
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c
index 431433f..5757442 100644
--- a/drivers/serial/serial_cs.c
+++ b/drivers/serial/serial_cs.c
@@ -249,6 +249,10 @@ static const struct serial_quirk quirks[] = {
 		.multi	= 2,
 	}, {
 		.manfid	= MANFID_QUATECH,
+		.prodid	= PRODID_QUATECH_DUAL_RS232_G,
+		.multi	= 2,
+	}, {
+		.manfid	= MANFID_QUATECH,
 		.prodid	= PRODID_QUATECH_QUAD_RS232,
 		.multi	= 4,
 	}, {
@@ -893,6 +897,7 @@ static struct pcmcia_device_id serial_ids[] = {
 	PCMCIA_DEVICE_PROD_ID12("OEM      ", "C288MX     ", 0xb572d360, 0xd2385b7a),
 	PCMCIA_DEVICE_PROD_ID12("PCMCIA   ", "C336MX     ", 0x99bcafe9, 0xaa25bcab),
 	PCMCIA_DEVICE_PROD_ID12("Quatech Inc", "PCMCIA Dual RS-232 Serial Port Card", 0xc4420b35, 0x92abc92f),
+	PCMCIA_DEVICE_PROD_ID12("Quatech Inc", "Dual RS-232 Serial Port PC Card", 0xc4420b35, 0x031a380d),
 	PCMCIA_PFC_DEVICE_CIS_PROD_ID12(1, "PCMCIA", "EN2218-LAN/MODEM", 0x281f1c5d, 0x570f348e, "PCMLM28.cis"),
 	PCMCIA_PFC_DEVICE_CIS_PROD_ID12(1, "PCMCIA", "UE2218-LAN/MODEM", 0x281f1c5d, 0x6fdcacee, "PCMLM28.cis"),
 	PCMCIA_PFC_DEVICE_CIS_PROD_ID12(1, "Psion Dacom", "Gold Card V34 Ethernet", 0xf5f025c2, 0x338e8155, "PCMLM28.cis"),
diff --git a/include/pcmcia/ciscode.h b/include/pcmcia/ciscode.h
index c1da855..eae7e2e 100644
--- a/include/pcmcia/ciscode.h
+++ b/include/pcmcia/ciscode.h
@@ -95,6 +95,7 @@
 #define PRODID_QUATECH_DUAL_RS232	0x0012
 #define PRODID_QUATECH_DUAL_RS232_D1	0x0007
 #define PRODID_QUATECH_DUAL_RS232_D2	0x0052
+#define PRODID_QUATECH_DUAL_RS232_G	0x004d
 #define PRODID_QUATECH_QUAD_RS232	0x001b
 #define PRODID_QUATECH_DUAL_RS422	0x000e
 #define PRODID_QUATECH_QUAD_RS422	0x0045

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] serial: Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter.
  2007-02-02 17:43 ` [PATCH] serial: Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter Sergei Organov
@ 2007-02-02 19:04   ` Alan
  0 siblings, 0 replies; 3+ messages in thread
From: Alan @ 2007-02-02 19:04 UTC (permalink / raw)
  To: Sergei Organov; +Cc: Greg KH, linux-kernel

On Fri, 02 Feb 2007 20:43:12 +0300
Sergei Organov <osv@javad.com> wrote:

> 
> Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter.
> 
> Signed-off-by: Sergei Organov <osv@javad.com>

Acked-by: Alan Cox <alan@redhat.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-02 18:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01 17:41 QUATECH driver (was Free Linux Driver Development!) Sergei Organov
2007-02-02 17:43 ` [PATCH] serial: Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter Sergei Organov
2007-02-02 19:04   ` Alan

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.