All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: Jonathan Bohren <jonathan.bohren@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] RTDM and PEAK PCIe
Date: Tue, 04 Dec 2012 14:22:42 +0100	[thread overview]
Message-ID: <50BDF922.9030805@grandegger.com> (raw)
In-Reply-To: <CADy-PFgMDBt693UF0QbUnAAYZgGXG+H+7RdZc0G1fpeYLv_0oA@mail.gmail.com>

On 12/03/2012 04:43 PM, Jonathan Bohren wrote:
> Ok, here's the PEAK CANBus PCIE patch with all the necessary metadata:
> thanks!
> -j
> 
>>From d97ee63e108c3f6eff26368af0df3ba1d1050692 Mon Sep 17 00:00:00 2001
> From: Jonathan Bohren <jbo@jhu.edu>
> Date: Tue, 27 Nov 2012 09:13:11 -0500
> Subject: [PATCH] Adding device ID for PEAK PCIe card IPEH-003027

Please add an empty line between the subject and the commit message.

> Signed-off-by: Jonathan Bohren <jbo@jhu.edu>
> Acked-by: Wolfgang Grandegger <wg@grandegger.com>
> ---
>  #define PCI_CONFIG_PORT_SIZE 0x1000  // size of the config io-memory

Hm, where does that line come from. Maybe the result of the missing line
above.

>  ksrc/drivers/can/sja1000/rtcan_peak_pci.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
> b/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
> index 53c8fef..b5ad226 100644
> --- a/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
> +++ b/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
> @@ -71,13 +71,15 @@ struct rtcan_peak_pci
>  #define PITA_MISC        0x1C        // miscellanoes register
>  #define PEAK_PCI_VENDOR_ID   0x001C  // the PCI device and vendor IDs
> -#define PEAK_PCI_DEVICE_ID   0x0001
> +#define PEAK_PCI_DEVICE_ID   0x0001  // Device ID for PCI and older PCIe
> cards
> +#define PEAK_PCIE_DEVICE_ID  0x0003  // Device ID for newer PCIe
> cards (IPEH-003027)
>  #define PCI_PORT_SIZE        0x0400  // size of a channel io-memory
> 
>  static struct pci_device_id peak_pci_tbl[] = {
>   {PEAK_PCI_VENDOR_ID, PEAK_PCI_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
> + {PEAK_PCI_VENDOR_ID, PEAK_PCIE_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
> 0},

Unfortunately, you mail client has wrapped lines. This patch will not
apply. To avoid such problems I recommend to post the patch with  "git
send-email".

Thanks,

Wolfgang.



  reply	other threads:[~2012-12-04 13:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01 17:27 [Xenomai] RTDM and PEAK PCIe Jonathan Bohren
2012-10-01 18:42 ` Wolfgang Grandegger
2012-10-01 19:27   ` Jonathan Bohren
2012-11-27 14:33     ` Jonathan Bohren
2012-11-27 16:51       ` Wolfgang Grandegger
2012-11-27 17:08         ` Jonathan Bohren
2012-11-28 19:10           ` Wolfgang Grandegger
     [not found]             ` <CADy-PFjz_CeJ7-RC8xfr5PLrMcKH6sFTJP56z4ULKL8sS_q-VA@mail.gmail.com>
     [not found]               ` <CADy-PFitssGjMPVhWi5bCPHDMqvNPxvyZE68J0QjyLL4pwMd8A@mail.gmail.com>
2012-12-03  8:35                 ` Wolfgang Grandegger
2012-12-03 15:43               ` Jonathan Bohren
2012-12-04 13:22                 ` Wolfgang Grandegger [this message]
2012-12-04 15:02                   ` Jonathan Bohren

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=50BDF922.9030805@grandegger.com \
    --to=wg@grandegger.com \
    --cc=jonathan.bohren@gmail.com \
    --cc=xenomai@xenomai.org \
    /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.