* [parisc-linux] 2.4.23 PCI source inconsistency
@ 2003-12-03 21:50 northern snowfall
2003-12-03 20:56 ` Carlos O'Donell
2003-12-04 5:45 ` Grant Grundler
0 siblings, 2 replies; 3+ messages in thread
From: northern snowfall @ 2003-12-03 21:50 UTC (permalink / raw)
To: parisc-linux
Hey all,
I compiled 2.4.23 from kernel.org for 32bit PA-RISC today
and found that the PA-RISC specific PCI code seems to be out-
of sync with the generic pci code.
from arch/parisc/kernel/pci.c:
gcc -D__KERNEL__ -I/usr/home/north_/k/linux-2.4.23/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce
-mno-space-regs -mfast-indirect-calls -mdisable-fpregs
-ffunction-sections -march=2.0 -mschedule=8000 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=pci -c -o pci.o pci.c
pci.c: In function `pcibios_init_bus':
pci.c:310: structure has no member named `bridge_ctl'
pci.c:311: structure has no member named `bridge_ctl'
pci.c:312: structure has no member named `bridge_ctl'
pci.c:315: structure has no member named `bridge_ctl'
make[1]: *** [pci.o] Error 1
Of course, the pci_bus structure is declared in the header
include/linux/pci.h:/^struct.*pci_bus However, there is
no longer a bridge_ctl member.
I'm running 2.4.17 off the Debian 3.0 release on a B2000,
and /usr/include/linux/pci.h still has the bridge_ctl
member in the pci_bus structure.
Advice?
Thanks,
Don (north_)
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [parisc-linux] 2.4.23 PCI source inconsistency
2003-12-03 21:50 [parisc-linux] 2.4.23 PCI source inconsistency northern snowfall
@ 2003-12-03 20:56 ` Carlos O'Donell
2003-12-04 5:45 ` Grant Grundler
1 sibling, 0 replies; 3+ messages in thread
From: Carlos O'Donell @ 2003-12-03 20:56 UTC (permalink / raw)
To: northern snowfall; +Cc: parisc-linux
On Wed, Dec 03, 2003 at 04:50:38PM -0500, northern snowfall wrote:
> Hey all,
> I compiled 2.4.23 from kernel.org for 32bit PA-RISC today
> and found that the PA-RISC specific PCI code seems to be out-
> of sync with the generic pci code.
Use cvs.parisc-linux.org.
c.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [parisc-linux] 2.4.23 PCI source inconsistency
2003-12-03 21:50 [parisc-linux] 2.4.23 PCI source inconsistency northern snowfall
2003-12-03 20:56 ` Carlos O'Donell
@ 2003-12-04 5:45 ` Grant Grundler
1 sibling, 0 replies; 3+ messages in thread
From: Grant Grundler @ 2003-12-04 5:45 UTC (permalink / raw)
To: northern snowfall; +Cc: parisc-linux
On Wed, Dec 03, 2003 at 04:50:38PM -0500, northern snowfall wrote:
> Hey all,
> I compiled 2.4.23 from kernel.org for 32bit PA-RISC today
> and found that the PA-RISC specific PCI code seems to be out-
> of sync with the generic pci code.
As carlos said, use kernels from ftp.parisc-linux.org or pull
sources directly from cvs.parisc-linux.org.
> pci.c: In function `pcibios_init_bus':
> pci.c:310: structure has no member named `bridge_ctl'
I added this field to clean up FBB and VGA routing support.
"bridge_ctl" is a PCI-PCI Bridge register that controls
both of those behaviors. Ivan K. (ex PCI Maintainer) and I had it
working for parisc/ia32/alpha but apperently it never got
submitted/accepted into any official tree.
Russell King (ARM maintainer) found it useful anyway
and submitted it
http://www.ussg.iu.edu/hypermail/linux/kernel/0208.0/0723.html
and later:
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2003-October/017459.html
Darn...looks like bridge_ctl didn't get pushed into 2.6 either. :^(
I'll follow up a bit offline.
grant
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-04 5:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-03 21:50 [parisc-linux] 2.4.23 PCI source inconsistency northern snowfall
2003-12-03 20:56 ` Carlos O'Donell
2003-12-04 5:45 ` Grant Grundler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.