netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: jgarzik@pobox.com
Cc: netdev@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>,
	Avuton Olrich <avuton@gmail.com>,
	Jesse Huang <jesse@icplus.com.tw>,
	Sorbica Shieh <sorbica@icplus.com.tw>
Subject: [PATCH 03/04] ipg: missing Kconfig dependency
Date: Sun, 28 Oct 2007 18:23:46 +0100	[thread overview]
Message-ID: <20071028172346.GD24622@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <20071028171937.GA24622@electric-eye.fr.zoreil.com>

Fix for the error below while linking vmlinux:
[...]
drivers/built-in.o: In function `ipg_ioctl':
drivers/net/ipg.c:2148: undefined reference to `generic_mii_ioctl'
drivers/built-in.o: In function `ipg_get_settings':
drivers/net/ipg.c:2181: undefined reference to `mii_ethtool_gset'
drivers/built-in.o: In function `ipg_set_settings':
drivers/net/ipg.c:2193: undefined reference to `mii_ethtool_sset'
drivers/built-in.o: In function `ipg_nway_reset':
drivers/net/ipg.c:2205: undefined reference to `mii_nway_restart'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Avuton Olrich <avuton@gmail.com>
Cc: Jesse Huang <jesse@icplus.com.tw>
Cc: Sorbica Shieh <sorbica@icplus.com.tw>
---
 drivers/net/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 86b8641..9f7ec7d 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -168,6 +168,7 @@ config NET_SB1000
 config IP1000
        tristate "IP1000 Gigabit Ethernet support"
        depends on PCI && EXPERIMENTAL
+	select MII
        ---help---
          This driver supports IP1000 gigabit Ethernet cards.
 
-- 
1.5.2.4


  parent reply	other threads:[~2007-10-28 17:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 17:19 [PATCH 00/04] pull request for 'upstream-jeff' branch Francois Romieu
2007-10-28 17:21 ` [PATCH 01/04] r8169: napi config Francois Romieu
2007-10-28 17:22 ` [PATCH 02/04] r8169: remove poll_locked logic Francois Romieu
2007-10-28 17:23 ` Francois Romieu [this message]
2007-10-28 17:25 ` [PATCH 04/04] ipg: Kconfig whitepaces/tab damages Francois Romieu
2007-10-29  9:48 ` [PATCH 00/04] pull request for 'upstream-jeff' branch Jeff Garzik

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=20071028172346.GD24622@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=akpm@linux-foundation.org \
    --cc=avuton@gmail.com \
    --cc=jesse@icplus.com.tw \
    --cc=jgarzik@pobox.com \
    --cc=netdev@vger.kernel.org \
    --cc=sorbica@icplus.com.tw \
    /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 NNTP newsgroup(s).