login
Header Space

 
 

Re: [RFC/PATCH 4/4] [POWERPC] pci: Disable IO/Mem on a device when resources can't be allocated

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Grant Grundler <grundler@...>
Cc: <linux-pci@...>, Alan Cox <alan@...>, Greg Kroah-Hartman <greg@...>, <jgarzik@...>, Ivan Kokshaysky <ink@...>, <wingel@...>, Bartlomiej Zolnierkiewicz <bzolnier@...>, <james.smart@...>, <linux-driver@...>, <linux-kernel@...>
Date: Tuesday, December 25, 2007 - 5:20 pm

On Mon, 2007-12-24 at 00:23 -0700, Grant Grundler wrote:

This is exactly what's supposed to be happening, but the code is buggy
and nobody noticed :-) (I'm mixing up IORESOURCE_* flags and
PCI_COMMAND_* flags). Thanks for reviewing !


No need for 2 calls, just disable whatever type the resource is, but
using the right bits instead of what my code incorrectly does.


Yes, that's what intended by the above code, if I didn't have mixed up
the flags.

Ben.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC/PATCH 4/4] [POWERPC] pci: Disable IO/Mem on a devic..., Benjamin Herrenschmidt, (Tue Dec 25, 5:20 pm)
Re: [RFC/PATCH 4/4] [POWERPC] pci: Disable IO/Mem on a devic..., Benjamin Herrenschmidt, (Tue Dec 25, 5:26 pm)
speck-geostationary