Your message dated Sun, 12 Dec 2010 19:32:48 +0000
with message-id <[email protected]>
and subject line Bug#593586: fixed in xenomai 2.5.5.2-1
has caused the Debian Bug report #593586,
regarding linux-patch-xenomai: rtcan IXXAT SJA_MOD register refuses to set up
dual channel cards
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
593586: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593586
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: linux-patch-xenomai
Version: 2.5.4-1
Tags: patch
there is a fix for dual channel can cards which got forgotten in the
upstream 2.5.4 release. [1]
patch attached.
Regards,
Stefan
[1] https://mail.gna.org/public/xenomai-help/2010-08/msg00085.html
From 5c7bec10b099fd1973394b2a6ca388a5e3742b64 Mon Sep 17 00:00:00 2001
From: Peter Soetens <[email protected]>
Date: Fri, 9 Jul 2010 15:21:53 +0200
Subject: [PATCH] rtcan: Mask the SJA_MOD register when probing for channels
Inspired by the plx_pci.c driver which does the same.
Tested on IXXAT PC-I 04
Signed-off-by: Peter Soetens <[email protected]>
---
ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c b/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
index 5faa763..8c91efd 100644
--- a/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
+++ b/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
@@ -63,6 +63,7 @@ struct rtcan_ixxat_pci
#define IXXAT_INTCSR_OFFSET 0x4c /* Offset in PLX9050 conf registers */
#define IXXAT_INTCSR_SLAVE 0x41 /* LINT1 and PCI interrupt enabled */
#define IXXAT_INTCSR_MASTER 0x08 /* LINT2 enabled */
+#define IXXAT_SJA_MOD_MASK 0xa1 /* Mask for reading dual/single channel */
/* PCI vender, device and sub-device ID */
#define IXXAT_PCI_VENDOR_ID 0x10b5
@@ -238,7 +239,7 @@ static int __devinit ixxat_pci_init_one (struct pci_dev *pdev,
writeb(0x1, base_addr + CHANNEL_MASTER_RESET);
writeb(0x1, base_addr + CHANNEL_SLAVE_RESET);
udelay(100);
- if (readb(base_addr + CHANNEL_OFFSET + SJA_MOD) != 0x21 ||
+ if ( (readb(base_addr + CHANNEL_OFFSET + SJA_MOD) & IXXAT_SJA_MOD_MASK ) != 0x21 ||
readb(base_addr + CHANNEL_OFFSET + SJA_SR ) != 0x0c ||
readb(base_addr + CHANNEL_OFFSET + SJA_IR ) != 0xe0)
channel = CHANNEL_SINGLE;
--
1.6.3.3
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: xenomai
Source-Version: 2.5.5.2-1
We believe that the bug you reported is fixed in the latest version of
xenomai, which is due to be installed in the Debian FTP archive:
libxenomai-dev_2.5.5.2-1_i386.deb
to main/x/xenomai/libxenomai-dev_2.5.5.2-1_i386.deb
libxenomai1_2.5.5.2-1_i386.deb
to main/x/xenomai/libxenomai1_2.5.5.2-1_i386.deb
linux-patch-xenomai_2.5.5.2-1_all.deb
to main/x/xenomai/linux-patch-xenomai_2.5.5.2-1_all.deb
xenomai-doc_2.5.5.2-1_all.deb
to main/x/xenomai/xenomai-doc_2.5.5.2-1_all.deb
xenomai-runtime_2.5.5.2-1_i386.deb
to main/x/xenomai/xenomai-runtime_2.5.5.2-1_i386.deb
xenomai_2.5.5.2-1.debian.tar.gz
to main/x/xenomai/xenomai_2.5.5.2-1.debian.tar.gz
xenomai_2.5.5.2-1.dsc
to main/x/xenomai/xenomai_2.5.5.2-1.dsc
xenomai_2.5.5.2.orig.tar.bz2
to main/x/xenomai/xenomai_2.5.5.2.orig.tar.bz2
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Stigge <[email protected]> (supplier of updated xenomai package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 12 Dec 2010 19:45:39 +0100
Source: xenomai
Binary: xenomai-runtime linux-patch-xenomai libxenomai1 libxenomai-dev
xenomai-doc
Architecture: source all i386
Version: 2.5.5.2-1
Distribution: unstable
Urgency: low
Maintainer: Roland Stigge <[email protected]>
Changed-By: Roland Stigge <[email protected]>
Description:
libxenomai-dev - Headers and static libs for Xenomai
libxenomai1 - Shared libraries for Xenomai
linux-patch-xenomai - Linux kernel patches for Xenomai
xenomai-doc - Xenomai documentation
xenomai-runtime - Xenomai runtime utilities
Closes: 593585 593586
Changes:
xenomai (2.5.5.2-1) unstable; urgency=low
.
* New upstream release (Closes: #593585, #593586)
* Using scripts/prepare-patch.sh now instead of debian/prepare-patch.sh
Checksums-Sha1:
d3940dfaa6f930e0929a603f964058abcf68cb8b 1161 xenomai_2.5.5.2-1.dsc
01cff1bfb9f6d815444e4f6cc91d3b7e8920b03c 8594615 xenomai_2.5.5.2.orig.tar.bz2
839700c3fdfb56ae3aa5d4bf7ad642753e6cd467 175841 xenomai_2.5.5.2-1.debian.tar.gz
610cc333917c28ad612ed18dfe0f5e87d197546a 8950662
linux-patch-xenomai_2.5.5.2-1_all.deb
39e22cb69dd67c138095cd05ccb726e56faa33cf 6895216 xenomai-doc_2.5.5.2-1_all.deb
fe33fcb74c4d6a6d3875b75b1e9e05ab2cf4e499 146924
xenomai-runtime_2.5.5.2-1_i386.deb
83c0a86d3060f869df0eb38a58d03b98225e9b4c 92794 libxenomai1_2.5.5.2-1_i386.deb
700bfac2d421cd15b70c8fe3aa3a9541bc5b4066 353800
libxenomai-dev_2.5.5.2-1_i386.deb
Checksums-Sha256:
95174081530b1077bf9a533321fb2b80c7e7537daa08e72d722d558b1d092bae 1161
xenomai_2.5.5.2-1.dsc
434eb82094e864138752500230bcf0141b244eb257831e2e110632cc4f125d88 8594615
xenomai_2.5.5.2.orig.tar.bz2
9c3a7d622ed95d1bd9caaa551c3f3b7784db96a4e1ad203e3f22b41f18609bcb 175841
xenomai_2.5.5.2-1.debian.tar.gz
df5419d40ed8899593e109874818b26651f2f09c22de133d21996e9f817b107f 8950662
linux-patch-xenomai_2.5.5.2-1_all.deb
82d20625e546eceee632f841be49de9cb1d7c97a7f66308594bff4312dc7c105 6895216
xenomai-doc_2.5.5.2-1_all.deb
3509bed9003765dfbfcb675a1ac139dbf197c1471d0fce997f2935bb7155087c 146924
xenomai-runtime_2.5.5.2-1_i386.deb
3ac32fe367e8f5ac241050156cde99f98202c6201a73d67cddfab12e5da4e372 92794
libxenomai1_2.5.5.2-1_i386.deb
33f16c43e3ad19f4e92beb3c3f6d81db2440b4aca808853c4e63111292dd00bd 353800
libxenomai-dev_2.5.5.2-1_i386.deb
Files:
0fe55a45241b49f94070634c070f6334 1161 devel extra xenomai_2.5.5.2-1.dsc
1ee31275830c77a024e27655d2fe8f69 8594615 devel extra
xenomai_2.5.5.2.orig.tar.bz2
8020cb31fe4713fd15b606faa55fc214 175841 devel extra
xenomai_2.5.5.2-1.debian.tar.gz
3458026c320cca407db0cef8ca56aa34 8950662 kernel extra
linux-patch-xenomai_2.5.5.2-1_all.deb
00055b1ed638536a59c32f476b271556 6895216 doc extra
xenomai-doc_2.5.5.2-1_all.deb
d45e0a3844ca5d33a4cc36266c5ad6ef 146924 devel extra
xenomai-runtime_2.5.5.2-1_i386.deb
3b003faa77d092410e96562411d932f5 92794 libs extra
libxenomai1_2.5.5.2-1_i386.deb
d6c9a1734be52b28b75b682137160757 353800 libdevel extra
libxenomai-dev_2.5.5.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFNBR4EcaH/YBv43g8RAo1eAKC1hr7lYNECBz+CLK6IAcVYgPoCpQCfWi+m
kfM+Yimi/cUkyAAlpJCg/48=
=aGi9
-----END PGP SIGNATURE-----
--- End Message ---