All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kartheek N S <kartheek.ns@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] how to use a function provided by u-boot in linux driver
Date: Mon, 18 May 2009 23:19:31 -0700 (PDT)	[thread overview]
Message-ID: <23610373.post@talk.nabble.com> (raw)


Hi All,
     I would like to use miiphy_read and miiphy_write functions provided by
u-boot in the linux kernel driver.
     This is required for reading the link status of each of the phys
associated with a switch.

    I added miiphy_read and miiphy_write to the exports.h and tried to use
it in the kernel. But we get lots of multiple reference errors as some
libraries will be there both in u-boot and linux kernel.

    Could I do something like a dll or lib for these functions and use them
in the linux kernel driver ?
    Please guide me on this.

Thanks,
Kartheek N S
-- 
View this message in context: http://www.nabble.com/how-to-use-a-function-provided-by-u-boot-in-linux-driver-tp23610373p23610373.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

             reply	other threads:[~2009-05-19  6:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19  6:19 Kartheek N S [this message]
2009-05-19 14:26 ` [U-Boot] how to use a function provided by u-boot in linux driver Detlev Zundel
2009-05-19 21:25 ` Wolfgang Denk

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=23610373.post@talk.nabble.com \
    --to=kartheek.ns@ge.com \
    --cc=u-boot@lists.denx.de \
    /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.