[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1192396500.6188.4.camel@pasglop>
Date: Mon, 15 Oct 2007 07:15:00 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [git patches] IDE updates (part 2)
> How's about this patch?
>
> [PATCH] ide-pmac: fix pmac_ide_init_hwif_ports()
>
> * pmac_ide_init_hwif_ports() can be called by ide_init_hwif_ports()
> (through ppc_ide_md.ide_init_hwif hook) for non IDE PMAC interfaces.
> If this is the case the hw->io_ports[] should be already setup by
> ide_init_hwif_ports()->ide_std_init_ports() so remove redundant code
> from pmac_ide_init_hwif_ports().
>
> As side-effect this change fixes ctl_addr == 0 special handling in
> ide_init_hwif_ports().
>
> * Fix misleading comment while at it.
I would have to try it. Problem is, I don't actually have any powermac
with a PCI IDE controller at hand.. ouch. I'll see what I can find.
Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists