* [Xenomai] [PATCH] rtcan: Adding device ID for PEAK PCIe card IPEH-003027
@ 2012-12-04 15:16 Wolfgang Grandegger
2012-12-08 12:30 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Grandegger @ 2012-12-04 15:16 UTC (permalink / raw)
To: Xenomai@xenomai.org; +Cc: Jonathan Bohren
Signed-off-by: Jonathan Bohren <jbo@jhu.edu>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
---
HI Gilles,
second try to the right ml. Could you please apply this patch. It looks
good from my point of view.
Thanks,
Wolfgang.
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_CONFIG_PORT_SIZE 0x1000 // size of the config io-memory
#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},
{ }
};
MODULE_DEVICE_TABLE (pci, peak_pci_tbl);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Xenomai] [PATCH] rtcan: Adding device ID for PEAK PCIe card IPEH-003027
2012-12-04 15:16 [Xenomai] [PATCH] rtcan: Adding device ID for PEAK PCIe card IPEH-003027 Wolfgang Grandegger
@ 2012-12-08 12:30 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2012-12-08 12:30 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: Jonathan Bohren, Xenomai@xenomai.org
On 12/04/2012 04:16 PM, Wolfgang Grandegger wrote:
>
> Signed-off-by: Jonathan Bohren <jbo@jhu.edu>
> Acked-by: Wolfgang Grandegger <wg@grandegger.com>
>
> ---
>
> HI Gilles,
>
> second try to the right ml. Could you please apply this patch. It looks
> good from my point of view.
Applied, thanks.
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-08 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-04 15:16 [Xenomai] [PATCH] rtcan: Adding device ID for PEAK PCIe card IPEH-003027 Wolfgang Grandegger
2012-12-08 12:30 ` Gilles Chanteperdrix
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.