All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Daniel De Graaf <danieldegraaf@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Rescan IDE interface when no IDE devices are present
Date: Sun, 16 Jul 2006 15:25:02 -0400	[thread overview]
Message-ID: <1153077903.5905.35.camel@localhost.localdomain> (raw)
In-Reply-To: <427c54c0607161212m714f4faew60b8615e06ac885a@mail.gmail.com>

On Sun, 2006-07-16 at 14:12 -0500, Daniel De Graaf wrote:
> My laptop has only one IDE interface (/dev/hdc), which means there are
> no valid IDE block devices which can be used for HDIO_SCAN_HWIF ioctl
> to scan for the insertion of my CD-ROM drive.
> 
> Are there alternate methods of invoking this ioctl, or for creating an
> open filehandle where it can be used?

If you have ide1, you have both hdc and hdd (slave of hdc) unles sit's
not really IDE ...

Ben.



  reply	other threads:[~2006-07-16 19:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-16 19:12 Rescan IDE interface when no IDE devices are present Daniel De Graaf
2006-07-16 19:25 ` Benjamin Herrenschmidt [this message]
2006-07-16 20:03   ` Daniel De Graaf
2006-07-16 20:24     ` Joshua Hudson
2006-07-26  1:28     ` Alan Cox
2006-07-26  1:57       ` Daniel De Graaf

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=1153077903.5905.35.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=danieldegraaf@gmail.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.