Re: PATCH 2.4.0 parisc PCI support

2001-03-07 Thread Grant Grundler
Ivan Kokshaysky wrote: ... > Well, it seems that I finally see what is wrong with your code, and > why it worked in your case. You assume that "window" resources of > the bridge are already known when we call pbus_assign_resources_sorted(). > This is incorrect. Oh...do we know the "sizes" of all

Re: PATCH 2.4.0 parisc PCI support

2001-03-07 Thread Ivan Kokshaysky
On Tue, Mar 06, 2001 at 12:57:00PM -0800, Grant Grundler wrote: > My A500 console is a "regular" PCI serial device. > > [ I use quotes because linux sees the device as a 16550. > But I'm told it's fully emulated in firmware on a special card called > the "GSP" (Guardian Service Processor). ] Ok.

Re: PATCH 2.4.0 parisc PCI support

2001-03-06 Thread Grant Grundler
Ivan Kokshaysky wrote: > Yes, all that stuff appeared in -test12, IIRC. > Now ARM port uses it too, BTW. ok. I'll keep that in mind. > > I can't debug with *all* devices disabled. > > What is why I leave VGAs and all sorts of bridges enabled. > If you have some other type of console sitting on

Re: PATCH 2.4.0 parisc PCI support

2001-03-06 Thread Ivan Kokshaysky
On Mon, Mar 05, 2001 at 02:16:05PM -0800, Grant Grundler wrote: > > I believe it isn't. ;-) It works on various alphas including > > configurations with chained PCI-PCI bridges. > > Ok. I overlooked the changes in arch/alpha/kernel/pci.c:pcibios_fixup_bus(). > (As you know, things changed alot be

Re: PATCH 2.4.0 parisc PCI support

2001-03-05 Thread Grant Grundler
Ivan Kokshaysky wrote: > On Fri, Mar 02, 2001 at 11:32:35AM -0800, Grant Grundler wrote: > > Code in parisc-linux CVS (based on 2.4.0) does boot on my OB800 > > (133Mhz Pentium), C3000, and A500 with PCI-PCI bridge support > > working. I'm quite certain PCI-PCI bridge configuration (ie BIOS > > di

Re: PATCH 2.4.0 parisc PCI support

2001-03-04 Thread Ivan Kokshaysky
On Fri, Mar 02, 2001 at 11:32:35AM -0800, Grant Grundler wrote: > Code in parisc-linux CVS (based on 2.4.0) does boot on my OB800 > (133Mhz Pentium), C3000, and A500 with PCI-PCI bridge support > working. I'm quite certain PCI-PCI bridge configuration (ie BIOS > didn't configure the bridge) suppor

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Grant Grundler
Jeff Garzik wrote: > The patch worked 100% on my laptop, but failed to allocate a PCI memory > region on my desktop machine. Two attachments... "diff -u" output for > dmesg before and after your patch, and "diff -u" output for lspci before > and after your patch. Jeff, Thanks for trying. I'll r

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Jeff Garzik
Just tested your patch on an x86 laptop with two CardBus controllers (kernel's CardBus bridge code == kernel's PCI-PCI bridge code, for the most part) and an SMP x86 desktop machine. The patch worked 100% on my laptop, but failed to allocate a PCI memory region on my desktop machine. Two attachm

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Grant Grundler
Jeff Garzik wrote: > IIRC these "assuming transparent" lines were put in to -fix- PCI-PCI > bridges on at least some x86 boxes... I didn't really understand the > bridge code well enough at the time to comment one way or the other on > its correctness, but it definitely fixed some problems. Jeff

Re: PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Jeff Garzik
Grant Grundler wrote: > Index: drivers/pci/pci.c > === > RCS file: /home/cvs/parisc/linux/drivers/pci/pci.c,v > retrieving revision 1.1.1.6 > diff -u -p -r1.1.1.6 pci.c > --- pci.c 2001/01/09 16:57:56 1.1.1.6 > +++ pci.c

PATCH 2.4.0 parisc PCI support

2001-03-02 Thread Grant Grundler
Hi all, This patch contains the support parisc-linux needs in PCI generic. My patch is not as clean as I'd like - but it should work. Please send changes/feedback directly to me. Code in parisc-linux CVS (based on 2.4.0) does boot on my OB800 (133Mhz Pentium), C3000, and A500 with PCI-PCI bridge