From: Andreas Oberritter <obi@saftware.de>
To: ecos-patches@sources.redhat.com
Cc: Andreas Oberritter <obi@saftware.de>
Subject: [PATCH 2/3] usbseth: compile fix: move misplaced #endif
Date: Sun, 21 Feb 2010 17:10:00 -0000 [thread overview]
Message-ID: <1266772191-28315-3-git-send-email-obi@saftware.de> (raw)
In-Reply-To: <1266772191-28315-2-git-send-email-obi@saftware.de>
---
packages/io/usb/eth/slave/v3_0/src/usbseth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packages/io/usb/eth/slave/v3_0/src/usbseth.c b/packages/io/usb/eth/slave/v3_0/src/usbseth.c
index 8d0cd7e..08c2139 100644
--- a/packages/io/usb/eth/slave/v3_0/src/usbseth.c
+++ b/packages/io/usb/eth/slave/v3_0/src/usbseth.c
@@ -108,9 +108,9 @@ usbs_eth_init(usbs_eth* eth, usbs_control_endpoint* ctrl, usbs_rx_endpoint* rx,
# ifndef HAL_DCACHE_LINE_SIZE
eth->rx_bufptr = eth->rx_buffer;
# else
-# endif
eth->rx_bufptr = (unsigned char*) ((((cyg_uint32)eth->rx_buffer) + HAL_DCACHE_LINE_SIZE - 1)
& ~(HAL_DCACHE_LINE_SIZE - 1));
+# endif
eth->rx_buffer_full = false;
eth->tx_in_send = false;
eth->tx_buffer_full = false;
--
1.6.3.3
next prev parent reply other threads:[~2010-02-21 17:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-21 17:10 [PATCH 0/3] misc fixes for eCos 3.0 Andreas Oberritter
2010-02-21 17:10 ` [PATCH 1/3] usbs_at91: call vendor_control_fn on USB_DEVREQ_TYPE_VENDOR Andreas Oberritter
2010-02-21 17:10 ` Andreas Oberritter [this message]
2010-02-21 17:10 ` [PATCH 3/3] tcpip: compile fix: remove unneeded cast to long in TCPT_RANGESET Andreas Oberritter
2010-02-22 11:54 ` [PATCH 0/3] misc fixes for eCos 3.0 Gary Thomas
2010-02-22 12:51 ` Andreas Oberritter
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=1266772191-28315-3-git-send-email-obi@saftware.de \
--to=obi@saftware.de \
--cc=ecos-patches@sources.redhat.com \
/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 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).