linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Mark Chambers" <markc@mail.com>
To: <linuxppc-embedded@ozlabs.org>, <batsayan.das@tcs.com>
Subject: Re: How to enable PHY
Date: Fri, 6 Jan 2006 08:41:41 -0500	[thread overview]
Message-ID: <004201c612c6$ee3ede80$6601a8c0@chuck2> (raw)
In-Reply-To: OF114C07C5.7CED9F64-ON652570EE.00481B82-652570EE.00489CCF@tcs.com

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]


>I found that ADS8260 board enables PHY by the following lines of code 
>
>#ifndef CONFIG_ADS8260 
>        /* Enable the PHY. 
>        */ 
>        *(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_FETHIEN; 
>        *(volatile uint *)(BCSR_ADDR + 4) |=  BCSR1_FETH_RST; 
>#endif 
>
>Our board does not have BCSR. My question is how to enable PHY for MPC8260 based customs board without BCSR? 

If your board does not have the BCSR you can just leave this code out.  Usually, you only need to configure which MDII 
interface your PHY is connected to and which IRQ it uses.  But of course I don't know how your PHY is wired up on your
custom board.

Mark Chambers



[-- Attachment #2: Type: text/html, Size: 2022 bytes --]

  reply	other threads:[~2006-01-06 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-06 13:13 How to enable PHY batsayan.das
2006-01-06 13:41 ` Mark Chambers [this message]
2006-01-06 13:47 ` Alex Zeffertt

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='004201c612c6$ee3ede80$6601a8c0@chuck2' \
    --to=markc@mail.com \
    --cc=batsayan.das@tcs.com \
    --cc=linuxppc-embedded@ozlabs.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 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).