Re: [PATCH] mark PCI resource with start 0 as unassigned

2007-08-06 Thread Benjamin Herrenschmidt
On Mon, 2007-08-06 at 20:04 +0200, Segher Boessenkool wrote: > That's of course the smarter choice, _if_ we have a choice at > all -- on PowerPC, the PCI setup on certain platforms is done > by the firmware (and we don't want to mess with it for various > reasons), and some _do_ map PCI legacy I/O

Re: [PATCH] mark PCI resource with start 0 as unassigned

2007-08-06 Thread Alan Cox
O> That's of course the smarter choice, _if_ we have a choice at > all -- on PowerPC, the PCI setup on certain platforms is done > by the firmware (and we don't want to mess with it for various > reasons), and some _do_ map PCI legacy I/O at 0. > > Not in this case though, so let's just ignore tha

Re: [PATCH] mark PCI resource with start 0 as unassigned

2007-08-06 Thread Segher Boessenkool
>>> But 0 _is_ a valid PCI I/O address. Do we now have to start >> >> I wasn't in PCI 2.1 (later the corresponding passage have >> disppeared). > > SFF controllers often use 0 to indicate a channel isn't configured and > present. Libata and old IDE both assume these semantics for an SFF > IDE

Re: [PATCH] mark PCI resource with start 0 as unassigned

2007-08-01 Thread Alan Cox
On Wed, 01 Aug 2007 18:22:36 +0400 Sergei Shtylyov <[EMAIL PROTECTED]> wrote: > Segher Boessenkool wrote: > > >> setup-pci is for SFF8038i devices. It therefore knows that for assigned > >> resources they must be I/O. It also assumes that zero is not a valid I/O > >> port just like zero is not

Re: [PATCH] mark PCI resource with start 0 as unassigned

2007-08-01 Thread Sergei Shtylyov
Segher Boessenkool wrote: >> setup-pci is for SFF8038i devices. It therefore knows that for assigned >> resources they must be I/O. It also assumes that zero is not a valid I/O >> port just like zero is not a valid IRQ. Stick a real IDE resource at >> zero and drivers/ide can't cope. > But 0