public inbox for
 help / color / mirror / Atom feed
Subject: [Bug 1001858] New: CAN driver return code patch
Date: Wed, 05 Jun 2013 11:36:00 -0000	[thread overview]
Message-ID: <> (raw)

Please do not reply to this email, use the link below.

            Bug ID: 1001858
           Summary: CAN driver return code patch
           Product: eCos
           Version: CVS
            Target: All
  Architecture/Host Other
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: low
         Component: Patches and contributions

Created attachment 2248
CAN driver retuirn code patch

The following patch defines the error code to be returned by
cyg_io_set_config() for the config keys CYG_IO_SET_CONFIG_CAN_RANGE_FILTER and
CYG_IO_SET_CONFIG_CAN_MASK_FILTER if no buffers or filters are available

The function shall return -ENOSPC to indicate that there are no filters
available. At the moment the only implementation that uses these keys (LPC2xxx
CAN driver) returns -EPERM. But -EPERM is also returned if it is not possible
to configure filters because message filterings is deactivated
(CYGNUM_CAN_MSGBUF_RX_FILTER_ALL). So with the new return code it is possible
for the application to identify the exact reason why message filter
configuration failed.

You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2013-06-05 11:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 11:36 bugzilla-daemon [this message]
2013-06-05 21:02 ` [Bug 1001858] " bugzilla-daemon
2013-06-05 21:24 ` bugzilla-daemon
2013-06-06  5:27 ` bugzilla-daemon
2013-06-06 20:36 ` bugzilla-daemon

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).