All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Build Error Report
Date: Mon, 13 Dec 2010 10:08:53 -0800	[thread overview]
Message-ID: <20101213180853.GF637@tux> (raw)
In-Reply-To: <20101213144718.8BA8.2E210E2F@nifty.com>

On Sun, Dec 12, 2010 at 09:47:19PM -0800, Masahiro Inoue wrote:
> Hello,
> 
> The build error occurs by compat-wireless-2010-12-12.
> My kernel is 2.6.27. 
> 
>   CC [M]  /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.o
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c: In function 'ath_pci_extn_synch_enable':
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: 'PCI_EXP_LNKCTL_ES' undeclared (first use in this function)
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: (Each undeclared identifier is reported only once
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:118: error: for each function it appears in.)
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c: At top level:
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:348: warning: useless storage class specifier in empty declaration
> /home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.c:348: warning: empty declaration
> make[5]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k/pci.o] Error 1
> make[4]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath/ath9k] Error 2
> make[3]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless/ath] Error 2
> make[2]: *** [/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12/drivers/net/wireless] Error 2
> make[1]: *** [_module_/home/miyabi/test/compat-wireless/compat-wireless-2010-12-12] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.27-67vl5-x86_64'
> make: *** [modules] Error 2

Like you just need PCI_EXP_LNKCTL_ES defined added via 322162a7 on
v2.6.29-rc1~181^2~19.  Can you try this simple patch?

--- include/linux/compat-2.6.29.h.orig	2010-12-13 10:08:19.697355996 -0800
+++ include/linux/compat-2.6.29.h	2010-12-13 10:07:58.307355996 -0800
@@ -17,6 +17,8 @@
 #include <linux/skbuff.h>
 #include <linux/usb.h>
 
+#define  PCI_EXP_LNKCTL_ES     0x0080  /* Extended Synch */
+
 /*
  * Older kernels do not have struct net_device_ops but what we can
  * do is just define the data structure and use a caller to let us

  reply	other threads:[~2010-12-13 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13  5:47 [ath9k-devel] Build Error Report Masahiro Inoue
2010-12-13 18:08 ` Luis R. Rodriguez [this message]
2010-12-14  1:04   ` Masahiro Inoue
2010-12-14  1:20     ` Luis R. Rodriguez
2010-12-14  1:20       ` Luis R. Rodriguez

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=20101213180853.GF637@tux \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /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 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.