All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Santini <luca.santini@spesonline.com>
To: linux-sh@vger.kernel.org
Subject: Re: kernel (sometimes) boot
Date: Tue, 29 Jul 2008 10:11:43 +0000	[thread overview]
Message-ID: <488EECDF.9080208@spesonline.com> (raw)
In-Reply-To: <488D864C.30808@spesonline.com>



Manuel Lauss wrote:
> On Mon, Jul 28, 2008 at 06:50:48PM +0200, Luca Santini wrote:
>>
>> Manuel Lauss wrote:
>>> On Mon, Jul 28, 2008 at 04:38:26PM +0200, Luca Santini wrote:
>>>>>> . loading smc91c96 driver fails at probe()
>>>>> Check MMIO area (chip is at 0x02000000 - 0x0200001f according to the
>>>>> ESDOK7760 manual available from renesas website if you didn't change any 
>>>>> of
>>>>> the DIP switches on the board), and correct IRQ (9 if I interpret the
>>>>> schematics correctly)
> 
> Going over the schematics again:
> this is a 91c96: you should add a "smc91x-attrib" mem resource.  However I
> don't know which address to set it to; please check the NIC's manual.
> i.e.
> 
> struct resource smc91x_res[] = {
> 	...
> 	[1] = {
> 		.name = "smc91x-attrib",
> 		.start = ???,
> 		.endd = ???,
> 		.flags = IORESOURCE_MEM,
> 	},
> 	...
> };
>


i can't imagine where to find the addresses, i searched in edosk7760 and 
smc91c96 manuals; others implementations that use this NIC ...
someone knows? it's really necessary?


currently i have:

#define SMC_IOADDR 0xA2000000

static struct resource smc91x_res[] = {
         [0] = {
		.start  = SMC_IOADDR,
		.end    = SMC_IOADDR + 0x1f,
		.flags  = IORESOURCE_MEM,
         },
         [1] = {
		.start  = ETHERNET_IRQ,
		.end    = ETHERNET_IRQ,
		.flags  = IORESOURCE_IRQ,
         },

/*
		[2] = {
		.name = "smc91x-attrib",
		.start  = SMC_IOADDR + 0x02000000,
		.end    = SMC_IOADDR + 0x03ffffff,
		.flags = IORESOURCE_MEM,
		},
*/

};

  parent reply	other threads:[~2008-07-29 10:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28  8:41 kernel (sometimes) boot Luca Santini
2008-07-28  9:30 ` Manuel Lauss
2008-07-28  9:45 ` Paul Mundt
2008-07-28 14:38 ` Luca Santini
2008-07-28 16:39 ` Manuel Lauss
2008-07-29 10:11 ` Luca Santini [this message]
2008-07-29 10:30 ` Paul Mundt

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=488EECDF.9080208@spesonline.com \
    --to=luca.santini@spesonline.com \
    --cc=linux-sh@vger.kernel.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.