All of lore.kernel.org
 help / color / mirror / Atom feed
From: ebiederman@lnxi.com (Eric W. Biederman)
To: "ganesh_borse" <ganesh_borse@indiatimes.com>
Cc: <ebiederman@lnxi.com>, <agnew@missl.cs.umd.edu>,
	<linux-kernel@vger.kernel.org>
Subject: Re: Request for help
Date: 02 Jun 2003 11:49:01 -0600	[thread overview]
Message-ID: <m3fzmsjroy.fsf@maxwell.lnxi.com> (raw)
In-Reply-To: <200305290413.JAA23492@WS0005.indiatimes.com>

I am CC'ing linux-kernel as that is the general kernel list.  There
may be something even more focused on IDE issues but I am
not aware of it.

"ganesh_borse" <ganesh_borse@indiatimes.com> writes:

> Hi,
> 
> 
> I would like to request for a little help related to IDE controllers.
> 
> 
> I am trying to develop a device drive code for listing the devices connected to
> a ide controller at the time of kernel booting.
> 
> 
> 
> Is there any way to get which channels on ide controller has got devices and
> which devices? 

Yes.  But it is baroque.

> This I am trying to get even before the normal ide device driver
> has been setup. Are there ide controller commands to get this info? 

Not exactly.  The method is essentially you ping the drives to see
if they are there.

> Or is this
> info stored in registers of ide-controllers? 

Nope this information is not stored in registers.

> For this do we need to write
> assembly instructions on linux?

No.

But there is also nothing that allows you to force the module
order within the kernel.  So there are no guarantees you will
come before a normal IDE driver.  I assume from the questions
you intend to have this working in the linux kernel.

Eric


       reply	other threads:[~2003-06-02 17:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200305290413.JAA23492@WS0005.indiatimes.com>
2003-06-02 17:49 ` Eric W. Biederman [this message]
2003-06-02 18:48   ` Request for help Andy Pfiffer
2005-03-17  3:17 request " shashi dhara bhat
  -- strict thread matches above, loose matches on Subject: below --
2007-07-24 15:02 Request " Axj
2007-07-24 16:12 ` John W. Linville
2007-07-25  9:32 ` Zhu Yi
2007-07-26 15:10   ` Axj
2007-07-26 16:22     ` Pavel Roskin
2007-07-27  6:34       ` Axj
2007-07-27  7:44         ` Zhu Yi
2007-07-27  8:48           ` Axj
     [not found]           ` <200707270848.l6R8mqkh004526@mi1.bluebottle.com>
2007-07-27  8:56             ` Zhu Yi
2007-07-27  9:10               ` Axj
2007-07-30  0:58                 ` Zhu Yi
2007-08-01  6:40                   ` Axj
2020-03-30 12:38 Lev R. Oshvang .
2023-12-04 14:01 request " devicetree

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=m3fzmsjroy.fsf@maxwell.lnxi.com \
    --to=ebiederman@lnxi.com \
    --cc=agnew@missl.cs.umd.edu \
    --cc=ganesh_borse@indiatimes.com \
    --cc=linux-kernel@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.