[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071218125643.B7874@jurassic.park.msu.ru>
Date: Tue, 18 Dec 2007 12:56:43 +0300
From: Ivan Kokshaysky <ink@...assic.park.msu.ru>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: linux-pci@...ey.karlin.mff.cuni.cz, Alan Cox <alan@...hat.com>,
Greg Kroah-Hartman <greg@...ah.com>, jgarzik@...ox.com,
wingel@...o-system.com,
Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
james.smart@...lex.com, linux-driver@...gic.com,
linux-kernel@...r.kernel.org
Subject: Re: [RFC/PATCH 4/4] [POWERPC] pci: Disable IO/Mem on a device when resources can't be allocated
On Tue, Dec 18, 2007 at 10:01:15AM +1100, Benjamin Herrenschmidt wrote:
> @@ -1040,7 +1040,10 @@ static inline void __devinit alloc_resou
> r->flags |= IORESOURCE_UNSET;
> r->end -= r->start;
> r->start = 0;
Perhaps we should use IORESOURCE_UNSET universally... It's a lot better
than clearing r->start which is in fact architecture dependent thing
and in the end just destroys information for no purpose.
Ivan.
--
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