All of lore.kernel.org
 help / color / mirror / Atom feed
From: Unicorn Chang <uchang@tw.ibm.com>
To: Jeff Garzik <jgarzik@pobox.com>, linux-ide@vger.kernel.org
Subject: [PATCH 0/2] libata: legacy mode fixes , take #2
Date: Tue, 20 Jun 2006 12:41:39 +0800	[thread overview]
Message-ID: <44977C83.3000404@tw.ibm.com> (raw)
In-Reply-To: <OFCF0117DA.A67C46D9-ON48257193.00125DE7-48257193.00127E8D@tw.ibm.com>


For a legacy ATA controller, libata registers two separate host sets problems.
There are two patch use the same way to fix this problems, but the SIMPLEX flag
is still assigned to both host_sets of legacy primary/secondary port.

http://marc.theaimsgroup.com/?l=linux-ide&m=115012115213127&w=2
http://marc.theaimsgroup.com/?l=linux-ide&m=114475219522457&w=2

This patch try to fix the problems by

1. Let both legacy ports share the same host_set for the ATA_HOST_SIMPLEX
   to work.
2. Add per port irq to ata_ioports for legacy irq 14/15 since
   host_set is shared now.
3. Add legacy irq handler (ata_nonshared_interrupt) to support legacy mode irq.
4. Pass struct ata_port* to request_irq() on legacy mode.


(Patch against the upstream branch)

Unicorn Chang




           reply	other threads:[~2006-06-20  4:41 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <OFCF0117DA.A67C46D9-ON48257193.00125DE7-48257193.00127E8D@tw.ibm.com>]

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=44977C83.3000404@tw.ibm.com \
    --to=uchang@tw.ibm.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@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.