Re: CHRP PCI fixup for Pegasos IDE (looking for testers)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 09 Jul 2007 15:54:31 +0100
Matt Sealey <matt@xxxxxxxxxxxxxx> wrote:

> Hi guys,
> 
> Just a heads up here, I hammered out this little bit of code over the
> weekend which "solves" the Pegasos IDE problem by making PCI native
> mode work like PCI native mode should (it tweaks the ISA bridge to
> steer both IDE IRQs to 14)
> 
> http://www.powerdeveloper.org/files/Pegasos/ide_fixup.c
> 
> I definitely need someone to test it though. I can't compile it and
> I can't run it on a Pegasos here, and I am not sure if the fix is
> being done early enough (Alan said "before pci_setup_device"..).

Close but no cookie. The fixup is done at a sensible point, the fixup
makes sense.

The ifdef is wrong (could be modular PATA_VIA)
The viaide->irq check is iffy as this is the PCI IRQ rather than the
legacy one. Probably you should just force it to 14 if you know that is
the correct behaviour.

Otherwise looks a good basis. If it works sanely then I'd bump the other
fix out of the old IDE driver and use the quirk fixup for both.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux