All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Adam D. Scislowicz" <adams@fourelle.com>
To: linux-kernel@vger.kernel.org
Subject: IDE0(Primary)/Slave Detection Problem
Date: Wed, 11 Jul 2001 14:57:09 -0700	[thread overview]
Message-ID: <3B4CCBB5.21FC36AE@fourelle.com> (raw)

While looking through ide-probe.c I came across the following code:
        /*
         * Prevent long system lockup probing later for non-existant
         * slave drive if the hwif is actually a flash memory card of
some variety:
         */
        if (drive_is_flashcard(drive)) {
                ide_drive_t *mate =
&HWIF(drive)->drives[1^drive->select.b.unit];
                if (!mate->ata_flash) {
                        mate->present = 0;
                        mate->noprobe = 1;
                }
        }

In my case I am using a flash card with a normal harddrive as the slave,
but
this code does not allow for that combination. Their must be a better
way to
handle this, or it should at least print, "Flash Disk Detected, Ignoring
Slave"...

 -Adam Scislowicz <adams@fourelle.com>


                 reply	other threads:[~2001-07-11 21:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3B4CCBB5.21FC36AE@fourelle.com \
    --to=adams@fourelle.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.