| 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 |
| Archive-link: |
| Article,
Thread
|
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=115012115...
http://marc.theaimsgroup.com/?l=linux-ide&m=114475219...
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
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html