[Prism54-devel] Latest CVS compile problem with Mandrake 8.2. Patch
attached
Sergio Ammirata
ammirata at econointl.com
Sun Nov 14 15:24:28 UTC 2004
The latest CVS will not compile on mandrake 8.2 due to an incompatibility
with an #ifdef structure. I am attaching a patch that will fix the problem.
--- ksrc/islpci_eth.c_orig Sun Nov 14 05:18:08 2004
+++ ksrc/islpci_eth.c Sun Nov 14 05:19:20 2004
@@ -131,11 +131,12 @@
/* Check alignment and WDS frame formatting. The start of the packet
should
* be aligned on a 4-byte boundary. If WDS is enabled add another 6
bytes
* and add WDS address information */
- if (likely(((long) skb->data & 0x03)
#ifdef CONFIG_PRISM54_WDS
- | priv->wds
+ if (likely(((long) skb->data & 0x03) | priv->wds ))
+#elseif
+ if (likely(((long) skb->data & 0x03)))
#endif
- )){
+ {
/* get the number of bytes to add and re-allign */
offset = (4 - (long) skb->data) & 0x03;
Sergio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: islpci_eth.c.compile.fix.patch
Type: application/octet-stream
Size: 620 bytes
Desc: not available
Url : http://prism54.org/pipermail/prism54-devel/attachments/20041114/9191ed04/islpci_eth.c.compile.fix.obj
More information about the Prism54-devel
mailing list