mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] serial: add ADDI-DATA GmbH Communication cards in 8250_pci.c and pci_ids.h.
@ 2007-11-28  9:57 Krauth.Julien
  2007-11-28 10:49 ` Andrey Panin
  0 siblings, 1 reply; 4+ messages in thread
From: Krauth.Julien @ 2007-11-28  9:57 UTC (permalink / raw)
  To: linux-kernel

From: Krauth Julien <krauth.julien@addi-data.com>

Add ADDI-DATA GmbH communication cards to 8250_pci driver.
Supported cards are:

APCI-7300, APCI-7420, APCI-7500, APCI-7800
APCI-7300-2, APCI-7420-2, APCI-7500-2
APCI-7300-3, APCI-7420-3, APCI-7500-3, APCI-7800-3

8250_pci.c.patch
================
Add ADDI-DATA GmbH communication cards to 8250_pci.c.

pci_ids.h.patch
===============
Add ADDI-DATA GmbH communication cards Vendor and Device IDs to
pci_ids.h.

WARNING:
========
8250_pci.c.patch depend on pci_ids.h.patch.
8250_pci.c is using Vendor and Device ID defined in pci_ids.h.


Signed-off-by: Krauth J. <krauth.julien@addi-data.com>
---

This patch applies to kernel 2.6.23.9.

--- linux-2.6.23.9-vanilla/include/linux/pci_ids.h	2007-11-26
18:51:43.000000000 +0100
+++ linux-2.6.23.9/include/linux/pci_ids.h	2007-11-27
10:55:12.000000000 +0100
@@ -2019,6 +2019,23 @@
 #define PCI_VENDOR_ID_QUICKNET		0x15e2
 #define PCI_DEVICE_ID_QUICKNET_XJ	0x0500
 
+/*
+ * ADDI-DATA GmbH communication cards <info@addi-data.com>
+ */
+#define PCI_VENDOR_ID_ADDIDATA_OLD             0x10E8
+#define PCI_VENDOR_ID_ADDIDATA                 0x15B8
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500        0x7000
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420        0x7001
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300        0x7002
+#define PCI_DEVICE_ID_ADDIDATA_APCI7800        0x818E
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500_2      0x7009
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420_2      0x700A
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300_2      0x700B
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500_3      0x700C
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420_3      0x700D
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300_3      0x700E
+#define PCI_DEVICE_ID_ADDIDATA_APCI7800_3      0x700F
+
 #define PCI_VENDOR_ID_PDC		0x15e9
 
 #define PCI_VENDOR_ID_FARSITE           0x1619

--- linux-2.6.23.9-vanilla/drivers/serial/8250_pci.c	2007-11-26
18:51:43.000000000 +0100
+++ linux-2.6.23.9/drivers/serial/8250_pci.c	2007-11-27
10:53:09.000000000 +0100
@@ -106,6 +106,51 @@ setup_port(struct serial_private *priv, 
 }
 
 /*
+ * ADDI-DATA GmbH communication cards <info@addi-data.com>
+ */
+static int
+addidata_setup(struct serial_private *priv, struct pciserial_board
*board,
+               struct uart_port *port, int idx)
+{
+       unsigned int bar = 0, offset = board->first_offset;
+       bar = FL_GET_BASE(board->flags);
+
+       switch (priv->dev->device) {
+       case PCI_DEVICE_ID_ADDIDATA_APCI7500:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7420:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7300:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7500_2:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7420_2:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7300_2:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7500_3:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7420_3:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7300_3:
+       case PCI_DEVICE_ID_ADDIDATA_APCI7800_3:
+               offset += idx * board->uart_offset;
+               break;
+
+       case PCI_DEVICE_ID_ADDIDATA_APCI7800:
+               if (idx < 2 ) {
+                       bar += 0;
+                       offset += idx * board->uart_offset;
+               } else if ((idx >= 2) && (idx < 4)) {
+                       bar += 1;
+                       offset += ((idx - 2) * board->uart_offset);
+               } else if ((idx >= 4) && (idx < 6 )) {
+                       bar += 2;
+                       offset += ((idx - 4) * board->uart_offset);
+               } else if (idx >= 6) {
+                       bar += 3;
+                       offset += ((idx - 6) * board->uart_offset);
+               }
+
+               break;
+       }
+
+       return setup_port(priv, port, bar, offset, board->reg_shift);
+}
+
+/*
  * AFAVLAB uses a different mixture of BARs and offsets
  * Not that ugly ;) -- HW
  */
@@ -752,6 +797,86 @@ pci_default_setup(struct serial_private 
  */
 static struct pci_serial_quirk pci_serial_quirks[] = {
 	/*
+	* ADDI-DATA GmbH communication cards <info@addi-data.com>
+	*/
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7500,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7420,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7300,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA_OLD,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7800,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7500_2,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7420_2,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7300_2,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7500_3,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7420_3,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7300_3,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7800_3,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_setup,
+	},
+	/*
 	 * AFAVLAB cards - these may be called via parport_serial
 	 *  It is not clear whether this applies to all products.
 	 */
@@ -2574,6 +2699,97 @@ static struct pci_device_id serial_pci_t
 		pbn_pasemi_1682M },
 
 	/*
+	* ADDI-DATA GmbH communication cards <info@addi-data.com>
+	*/
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA_OLD,
+		PCI_DEVICE_ID_ADDIDATA_APCI7800,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b1_8_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7800_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_bt_8_115200 },
+
+	/*
 	 * These entries match devices with class COMMUNICATION_SERIAL,
 	 * COMMUNICATION_MODEM or COMMUNICATION_MULTISERIAL
 	 */


--------------------------------------------------------------------------
Besuchen Sie uns auf der SPS/IPC/Drives in Nürnberg vom 27. bis 29. November 2007.
Diese aktuellen Themen haben wir für Sie vorbereitet:
- neue Digital- und Zählerkarte für den PCI-Express-Bus,
- neue, intelligente Ethernet  E/A-Module mit SPS-Anbindung,
- Neue Live-DVD mit Entwicklungswerkzeugen für das PAC-System MSX-Box.
Sie finden uns in Halle 7,  Stand 123.
Vorbeischauen lohnt sich: Jeden Tag können Sie einen elektronischen 
Bilderrahmen von Samsung gewinnen!
--------------------------------------------------------------------------

ADDI-DATA GmbH - Dieselstraße 3 - 77833 Ottersweier (Germany)
Amtsgericht Mannheim HRB210433
Geschäftsführer Antonio Agnetti, René Ohlmann 
UST-ID-Nr.: DE 143754253 WEEE-Reg.-Nr. DE 65862200

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote confirms that this email message has been scanned for the presence of computer viruses.


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

* Re: [PATCH] serial: add ADDI-DATA GmbH Communication cards in 8250_pci.c and pci_ids.h.
  2007-11-28  9:57 [PATCH] serial: add ADDI-DATA GmbH Communication cards in 8250_pci.c and pci_ids.h Krauth.Julien
@ 2007-11-28 10:49 ` Andrey Panin
       [not found]   ` <DD0BA80209AFF04091B518EA708D0A0B9F9210@exchange01.addi-data.intra>
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Panin @ 2007-11-28 10:49 UTC (permalink / raw)
  To: Krauth.Julien; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 9576 bytes --]

On 332, 11 28, 2007 at 10:57:02AM +0100, Krauth.Julien wrote:
> From: Krauth Julien <krauth.julien@addi-data.com>
> 
> Add ADDI-DATA GmbH communication cards to 8250_pci driver.
> Supported cards are:
> 
> APCI-7300, APCI-7420, APCI-7500, APCI-7800
> APCI-7300-2, APCI-7420-2, APCI-7500-2
> APCI-7300-3, APCI-7420-3, APCI-7500-3, APCI-7800-3
> 
> 8250_pci.c.patch
> ================
> Add ADDI-DATA GmbH communication cards to 8250_pci.c.
> 
> pci_ids.h.patch
> ===============
> Add ADDI-DATA GmbH communication cards Vendor and Device IDs to
> pci_ids.h.
> 
> WARNING:
> ========
> 8250_pci.c.patch depend on pci_ids.h.patch.
> 8250_pci.c is using Vendor and Device ID defined in pci_ids.h.
> 
> 
> Signed-off-by: Krauth J. <krauth.julien@addi-data.com>
> ---
> 
> This patch applies to kernel 2.6.23.9.
> 
> --- linux-2.6.23.9-vanilla/include/linux/pci_ids.h	2007-11-26
> 18:51:43.000000000 +0100
> +++ linux-2.6.23.9/include/linux/pci_ids.h	2007-11-27
> 10:55:12.000000000 +0100
> @@ -2019,6 +2019,23 @@
>  #define PCI_VENDOR_ID_QUICKNET		0x15e2
>  #define PCI_DEVICE_ID_QUICKNET_XJ	0x0500
>  
> +/*
> + * ADDI-DATA GmbH communication cards <info@addi-data.com>
> + */
> +#define PCI_VENDOR_ID_ADDIDATA_OLD             0x10E8
> +#define PCI_VENDOR_ID_ADDIDATA                 0x15B8
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7500        0x7000
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7420        0x7001
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7300        0x7002
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7800        0x818E
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7500_2      0x7009
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7420_2      0x700A
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7300_2      0x700B
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7500_3      0x700C
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7420_3      0x700D
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7300_3      0x700E
> +#define PCI_DEVICE_ID_ADDIDATA_APCI7800_3      0x700F
> +
>  #define PCI_VENDOR_ID_PDC		0x15e9
>  
>  #define PCI_VENDOR_ID_FARSITE           0x1619
> 
> --- linux-2.6.23.9-vanilla/drivers/serial/8250_pci.c	2007-11-26
> 18:51:43.000000000 +0100
> +++ linux-2.6.23.9/drivers/serial/8250_pci.c	2007-11-27
> 10:53:09.000000000 +0100
> @@ -106,6 +106,51 @@ setup_port(struct serial_private *priv, 
>  }
>  
>  /*
> + * ADDI-DATA GmbH communication cards <info@addi-data.com>
> + */
> +static int
> +addidata_setup(struct serial_private *priv, struct pciserial_board
> *board,
> +               struct uart_port *port, int idx)
> +{
> +       unsigned int bar = 0, offset = board->first_offset;
> +       bar = FL_GET_BASE(board->flags);
> +
> +       switch (priv->dev->device) {
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7500:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7420:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7300:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7500_2:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7420_2:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7300_2:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7500_3:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7420_3:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7300_3:
> +       case PCI_DEVICE_ID_ADDIDATA_APCI7800_3:
> +               offset += idx * board->uart_offset;
> +               break;

Why do you need this ? Looks like you can use pci_default_setup()
for all cards except PCI_DEVICE_ID_ADDIDATA_APCI7800.

> +       case PCI_DEVICE_ID_ADDIDATA_APCI7800:
> +               if (idx < 2 ) {
> +                       bar += 0;

Ughmm, this line looks especially useful :)

> +                       offset += idx * board->uart_offset;
> +               } else if ((idx >= 2) && (idx < 4)) {
> +                       bar += 1;
> +                       offset += ((idx - 2) * board->uart_offset);
> +               } else if ((idx >= 4) && (idx < 6 )) {
> +                       bar += 2;
> +                       offset += ((idx - 4) * board->uart_offset);
> +               } else if (idx >= 6) {
> +                       bar += 3;
> +                       offset += ((idx - 6) * board->uart_offset);
> +               }
> +
> +               break;
> +       }
> +
> +       return setup_port(priv, port, bar, offset, board->reg_shift);
> +}
> +
> +/*
>   * AFAVLAB uses a different mixture of BARs and offsets
>   * Not that ugly ;) -- HW
>   */
> @@ -752,6 +797,86 @@ pci_default_setup(struct serial_private 
>   */
>  static struct pci_serial_quirk pci_serial_quirks[] = {
>  	/*
> +	* ADDI-DATA GmbH communication cards <info@addi-data.com>
> +	*/
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7500,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7420,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7300,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA_OLD,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7800,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7500_2,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7420_2,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7300_2,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7500_3,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7420_3,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7300_3,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},
> +	{
> +		.vendor         = PCI_VENDOR_ID_ADDIDATA,
> +		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7800_3,
> +		.subvendor      = PCI_ANY_ID,
> +		.subdevice      = PCI_ANY_ID,
> +		.setup          = addidata_setup,
> +	},

All these entries except PCI_DEVICE_ID_ADDIDATA_APCI7800 are unnecessary too.

> +	/*
>  	 * AFAVLAB cards - these may be called via parport_serial
>  	 *  It is not clear whether this applies to all products.
>  	 */
> @@ -2574,6 +2699,97 @@ static struct pci_device_id serial_pci_t
>  		pbn_pasemi_1682M },
>  
>  	/*
> +	* ADDI-DATA GmbH communication cards <info@addi-data.com>
> +	*/
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7500,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_4_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7420,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_2_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7300,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_1_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA_OLD,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7800,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b1_8_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7500_2,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_4_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7420_2,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_2_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7300_2,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_1_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7500_3,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_4_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7420_3,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_2_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7300_3,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_1_115200 },
> +
> +	{	PCI_VENDOR_ID_ADDIDATA,
> +		PCI_DEVICE_ID_ADDIDATA_APCI7800_3,
> +		PCI_ANY_ID,
> +		PCI_ANY_ID,
> +		0,
> +		0,
> +		pbn_b0_bt_8_115200 },
> +
> +	/*
>  	 * These entries match devices with class COMMUNICATION_SERIAL,
>  	 * COMMUNICATION_MODEM or COMMUNICATION_MULTISERIAL
>  	 */

Otherwise patch looks good.

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke@donpac.ru		| PGP key: wwwkeys.pgp.net

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* AW: [PATCH] serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c and pci_ids.h.
       [not found]     ` <20071130071339.GB24928@pazke.donpac.ru>
@ 2007-12-06  7:49       ` Krauth.Julien
       [not found]         ` <20071218152554.c2ded155.akpm@linux-foundation.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Krauth.Julien @ 2007-12-06  7:49 UTC (permalink / raw)
  To: Andrey Panin; +Cc: linux-kernel


Hello,

Here is the last version of the patch updated regarding your remarks.

Regards,

Julien Krauth

Changes:
========

- Indentation.

- Code optimisation: all boards except the APCI-7800 are now managed
with the pci_default_setup() function.

- Add pbn_b0_8_115200 to manage the APCI-7800-3 with the
pci_default_setup() function.


---

From: Krauth Julien <krauth.julien@addi-data.com>

Add ADDI-DATA GmbH communication cards to 8250_pci driver.
Supported cards are:

APCI-7300, APCI-7420, APCI-7500, APCI-7800 APCI-7300-2, APCI-7420-2,
APCI-7500-2 APCI-7300-3, APCI-7420-3, APCI-7500-3, APCI-7800-3

8250_pci.c.patch
================
Add ADDI-DATA GmbH communication cards to 8250_pci.c.

pci_ids.h.patch
===============
Add ADDI-DATA GmbH communication cards Vendor and Device IDs to
pci_ids.h.

WARNING:
========
8250_pci.c.patch depend on pci_ids.h.patch.
8250_pci.c is using Vendor and Device ID defined in pci_ids.h.


Signed-off-by: Krauth J. <krauth.julien@addi-data.com>
---

This patch applies to kernel 2.6.23.9.

--- linux-2.6.23.9-vanilla/include/linux/pci_ids.h	2007-11-26
18:51:43.000000000 +0100
+++ linux-2.6.23.9/include/linux/pci_ids.h	2007-11-27
10:55:12.000000000 +0100
@@ -2019,6 +2019,23 @@
 #define PCI_VENDOR_ID_QUICKNET		0x15e2
 #define PCI_DEVICE_ID_QUICKNET_XJ	0x0500
 
+/*
+ * ADDI-DATA GmbH communication cards <info@addi-data.com>  */
+#define PCI_VENDOR_ID_ADDIDATA_OLD             0x10E8
+#define PCI_VENDOR_ID_ADDIDATA                 0x15B8
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500        0x7000
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420        0x7001
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300        0x7002
+#define PCI_DEVICE_ID_ADDIDATA_APCI7800        0x818E
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500_2      0x7009
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420_2      0x700A
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300_2      0x700B
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500_3      0x700C
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420_3      0x700D
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300_3      0x700E
+#define PCI_DEVICE_ID_ADDIDATA_APCI7800_3      0x700F
+
 #define PCI_VENDOR_ID_PDC		0x15e9
 
 #define PCI_VENDOR_ID_FARSITE           0x1619


--- linux-2.6.23.9-vanilla/drivers/serial/8250_pci.c	2007-11-26
18:51:43.000000000 +0100
+++ linux-2.6.23.9/drivers/serial/8250_pci.c	2007-11-30
08:33:50.000000000 +0100
@@ -106,6 +106,32 @@ setup_port(struct serial_private *priv, 
 }
 
 /*
+ * ADDI-DATA GmbH communication cards <info@addi-data.com>
+ */
+static int
+addidata_apci7800_setup(struct serial_private *priv, struct
pciserial_board *board,
+               struct uart_port *port, int idx)
+{
+	unsigned int bar = 0, offset = board->first_offset;
+	bar = FL_GET_BASE(board->flags);
+
+	if (idx < 2 ) {
+		offset += idx * board->uart_offset;
+	} else if ((idx >= 2) && (idx < 4)) {
+		bar += 1;
+		offset += ((idx - 2) * board->uart_offset);
+	} else if ((idx >= 4) && (idx < 6 )) {
+		bar += 2;
+		offset += ((idx - 4) * board->uart_offset);
+	} else if (idx >= 6) {
+		bar += 3;
+		offset += ((idx - 6) * board->uart_offset);
+	}
+
+	return setup_port(priv, port, bar, offset, board->reg_shift);
+}
+
+/*
  * AFAVLAB uses a different mixture of BARs and offsets
  * Not that ugly ;) -- HW
  */
@@ -752,6 +778,16 @@ pci_default_setup(struct serial_private 
  */
 static struct pci_serial_quirk pci_serial_quirks[] = {
 	/*
+	* ADDI-DATA GmbH communication cards <info@addi-data.com>
+	*/
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA_OLD,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7800,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_apci7800_setup,
+	},
+	/*
 	 * AFAVLAB cards - these may be called via parport_serial
 	 *  It is not clear whether this applies to all products.
 	 */
@@ -1036,6 +1072,7 @@ enum pci_board_num_t {
 	pbn_b0_2_115200,
 	pbn_b0_4_115200,
 	pbn_b0_5_115200,
+	pbn_b0_8_115200,
 
 	pbn_b0_1_921600,
 	pbn_b0_2_921600,
@@ -1172,6 +1209,12 @@ static struct pciserial_board pci_boards
 		.base_baud	= 115200,
 		.uart_offset	= 8,
 	},
+	[pbn_b0_8_115200] = {
+		.flags       = FL_BASE0,
+		.num_ports   = 8,
+		.base_baud   = 115200,
+		.uart_offset = 8,
+	},
 
 	[pbn_b0_1_921600] = {
 		.flags		= FL_BASE0,
@@ -2574,6 +2617,97 @@ static struct pci_device_id serial_pci_t
 		pbn_pasemi_1682M },
 
 	/*
+	* ADDI-DATA GmbH communication cards <info@addi-data.com>
+	*/
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA_OLD,
+		PCI_DEVICE_ID_ADDIDATA_APCI7800,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b1_8_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7800_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_8_115200 },
+
+	/*
 	 * These entries match devices with class COMMUNICATION_SERIAL,
 	 * COMMUNICATION_MODEM or COMMUNICATION_MULTISERIAL
 	 */


ADDI-DATA GmbH - Dieselstraße 3 - 77833 Ottersweier (Germany)
Amtsgericht Mannheim HRB210433
Geschäftsführer Antonio Agnetti, René Ohlmann 
UST-ID-Nr.: DE 143754253 WEEE-Reg.-Nr. DE 65862200

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote confirms that this email message has been scanned for the presence of computer viruses.


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

* AW: AW: [PATCH] serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c and pci_ids.h.
       [not found]         ` <20071218152554.c2ded155.akpm@linux-foundation.org>
@ 2007-12-19  8:23           ` Krauth.Julien
  0 siblings, 0 replies; 4+ messages in thread
From: Krauth.Julien @ 2007-12-19  8:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2227 bytes --]

Hello,

As suggested by Andrew Morton, the patch is now as attachment.

Best regards,
Krauth Julien

-----Ursprüngliche Nachricht-----
Von: Andrew Morton [mailto:akpm@linux-foundation.org] 
Gesendet: Mittwoch, 19. Dezember 2007 00:26
An: Krauth.Julien
Betreff: Re: AW: [PATCH] serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c and pci_ids.h.

On Thu, 6 Dec 2007 08:49:44 +0100
"Krauth.Julien" <Krauth.Julien@addi-data.com> wrote:

> 
> Hello,
> 
> Here is the last version of the patch updated regarding your remarks.
> 
> Regards,
> 
> Julien Krauth
> 
> Changes:
> ========
> 
> - Indentation.
> 
> - Code optimisation: all boards except the APCI-7800 are now managed
> with the pci_default_setup() function.
> 
> - Add pbn_b0_8_115200 to manage the APCI-7800-3 with the
> pci_default_setup() function.
> 
> 
> ---
> 
> From: Krauth Julien <krauth.julien@addi-data.com>
> 
> Add ADDI-DATA GmbH communication cards to 8250_pci driver.
> Supported cards are:
> 
> APCI-7300, APCI-7420, APCI-7500, APCI-7800 APCI-7300-2, APCI-7420-2,
> APCI-7500-2 APCI-7300-3, APCI-7420-3, APCI-7500-3, APCI-7800-3
> 
> 8250_pci.c.patch
> ================
> Add ADDI-DATA GmbH communication cards to 8250_pci.c.
> 
> pci_ids.h.patch
> ===============
> Add ADDI-DATA GmbH communication cards Vendor and Device IDs to
> pci_ids.h.
> 
> WARNING:
> ========
> 8250_pci.c.patch depend on pci_ids.h.patch.
> 8250_pci.c is using Vendor and Device ID defined in pci_ids.h.
> 
> 

This patch was hopelessly mangled by your email client: wordwrapped and
strange whitespace substitutions.

I suggest that when you resend it, you use attachments.

ADDI-DATA GmbH - Dieselstraße 3 - 77833 Ottersweier (Germany)
Amtsgericht Mannheim HRB210433
Geschäftsführer Antonio Agnetti, René Ohlmann 
UST-ID-Nr.: DE 143754253 WEEE-Reg.-Nr. DE 65862200

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote confirms that this email message has been scanned for the presence of computer viruses.


[-- Attachment #2: 8250_pci.c.patch --]
[-- Type: application/octet-stream, Size: 3783 bytes --]

--- linux-2.6.23.9-vanilla/drivers/serial/8250_pci.c	2007-11-26 18:51:43.000000000 +0100
+++ linux-2.6.23.9/drivers/serial/8250_pci.c	2007-11-30 08:33:50.000000000 +0100
@@ -106,6 +106,32 @@ setup_port(struct serial_private *priv, 
 }
 
 /*
+ * ADDI-DATA GmbH communication cards <info@addi-data.com>
+ */
+static int
+addidata_apci7800_setup(struct serial_private *priv, struct pciserial_board *board,
+               struct uart_port *port, int idx)
+{
+	unsigned int bar = 0, offset = board->first_offset;
+	bar = FL_GET_BASE(board->flags);
+
+	if (idx < 2 ) {
+		offset += idx * board->uart_offset;
+	} else if ((idx >= 2) && (idx < 4)) {
+		bar += 1;
+		offset += ((idx - 2) * board->uart_offset);
+	} else if ((idx >= 4) && (idx < 6 )) {
+		bar += 2;
+		offset += ((idx - 4) * board->uart_offset);
+	} else if (idx >= 6) {
+		bar += 3;
+		offset += ((idx - 6) * board->uart_offset);
+	}
+
+	return setup_port(priv, port, bar, offset, board->reg_shift);
+}
+
+/*
  * AFAVLAB uses a different mixture of BARs and offsets
  * Not that ugly ;) -- HW
  */
@@ -752,6 +778,16 @@ pci_default_setup(struct serial_private 
  */
 static struct pci_serial_quirk pci_serial_quirks[] = {
 	/*
+	* ADDI-DATA GmbH communication cards <info@addi-data.com>
+	*/
+	{
+		.vendor         = PCI_VENDOR_ID_ADDIDATA_OLD,
+		.device         = PCI_DEVICE_ID_ADDIDATA_APCI7800,
+		.subvendor      = PCI_ANY_ID,
+		.subdevice      = PCI_ANY_ID,
+		.setup          = addidata_apci7800_setup,
+	},
+	/*
 	 * AFAVLAB cards - these may be called via parport_serial
 	 *  It is not clear whether this applies to all products.
 	 */
@@ -1036,6 +1072,7 @@ enum pci_board_num_t {
 	pbn_b0_2_115200,
 	pbn_b0_4_115200,
 	pbn_b0_5_115200,
+	pbn_b0_8_115200,
 
 	pbn_b0_1_921600,
 	pbn_b0_2_921600,
@@ -1172,6 +1209,12 @@ static struct pciserial_board pci_boards
 		.base_baud	= 115200,
 		.uart_offset	= 8,
 	},
+	[pbn_b0_8_115200] = {
+		.flags		= FL_BASE0,
+		.num_ports	= 8,
+		.base_baud	= 115200,
+		.uart_offset	= 8,
+	},
 
 	[pbn_b0_1_921600] = {
 		.flags		= FL_BASE0,
@@ -2574,6 +2617,97 @@ static struct pci_device_id serial_pci_t
 		pbn_pasemi_1682M },
 
 	/*
+	* ADDI-DATA GmbH communication cards <info@addi-data.com>
+	*/
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA_OLD,
+		PCI_DEVICE_ID_ADDIDATA_APCI7800,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b1_8_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300_2,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7500_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_4_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7420_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_2_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7300_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_1_115200 },
+
+	{	PCI_VENDOR_ID_ADDIDATA,
+		PCI_DEVICE_ID_ADDIDATA_APCI7800_3,
+		PCI_ANY_ID,
+		PCI_ANY_ID,
+		0,
+		0,
+		pbn_b0_8_115200 },
+
+	/*
 	 * These entries match devices with class COMMUNICATION_SERIAL,
 	 * COMMUNICATION_MODEM or COMMUNICATION_MULTISERIAL
 	 */

[-- Attachment #3: pci_ids.h.patch --]
[-- Type: application/octet-stream, Size: 1144 bytes --]

--- linux-2.6.23.9-vanilla/include/linux/pci_ids.h	2007-11-26 18:51:43.000000000 +0100
+++ linux-2.6.23.9/include/linux/pci_ids.h	2007-11-27 10:55:12.000000000 +0100
@@ -2019,6 +2019,23 @@
 #define PCI_VENDOR_ID_QUICKNET		0x15e2
 #define PCI_DEVICE_ID_QUICKNET_XJ	0x0500
 
+/*
+ * ADDI-DATA GmbH communication cards <info@addi-data.com>
+ */
+#define PCI_VENDOR_ID_ADDIDATA_OLD             0x10E8
+#define PCI_VENDOR_ID_ADDIDATA                 0x15B8
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500        0x7000
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420        0x7001
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300        0x7002
+#define PCI_DEVICE_ID_ADDIDATA_APCI7800        0x818E
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500_2      0x7009
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420_2      0x700A
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300_2      0x700B
+#define PCI_DEVICE_ID_ADDIDATA_APCI7500_3      0x700C
+#define PCI_DEVICE_ID_ADDIDATA_APCI7420_3      0x700D
+#define PCI_DEVICE_ID_ADDIDATA_APCI7300_3      0x700E
+#define PCI_DEVICE_ID_ADDIDATA_APCI7800_3      0x700F
+
 #define PCI_VENDOR_ID_PDC		0x15e9
 
 #define PCI_VENDOR_ID_FARSITE           0x1619

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

end of thread, other threads:[~2007-12-19  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-28  9:57 [PATCH] serial: add ADDI-DATA GmbH Communication cards in 8250_pci.c and pci_ids.h Krauth.Julien
2007-11-28 10:49 ` Andrey Panin
     [not found]   ` <DD0BA80209AFF04091B518EA708D0A0B9F9210@exchange01.addi-data.intra>
     [not found]     ` <20071130071339.GB24928@pazke.donpac.ru>
2007-12-06  7:49       ` AW: [PATCH] serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c " Krauth.Julien
     [not found]         ` <20071218152554.c2ded155.akpm@linux-foundation.org>
2007-12-19  8:23           ` AW: " Krauth.Julien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®