Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Noriyuki Soda <soda@netbsd.org>
List: source-changes
Date: 08/11/2000 01:42:07
Module Name: syssrc
Committed By: soda
Date: Thu Aug 10 22:42:06 UTC 2000
Modified Files:
syssrc/sys/arch/i386/pci [netbsd-1-5]: pci_addr_fixup.c pcibios.c
pcibios.h
Log Message:
Pull up to netbsd-1-5 branch
Approved by: thorpej
- define PCIBIOS_PRINTV() as pcibiosverbose printf(),
instead of DPRINTF() in each C source.
- define PIR_DEVFUNC_{DEVICE,FUNCTION}.
- fix oversight introduced in pci_addr_fixup.c revision 1.4,
pointed out by Michael Shalayeff <mickey@openbsd.org>.
- reserve AGP space to avoid resource conflict.
by UCHIYAMA Yasushi <uch@netbsd.org>
- Fix a problem uncovered by rev 1.5 of pcibios.c:
Avoid interpreting the upper 32 bits of 64-bit BARs as a 32-bit BAR.
Otherwise, the code would assume that the value 0 was incorrect and either:
(a) [on bus 0] "fix up" the address to some nonzero value, thus placing
the decoded address range outside of 32-bit address space, or
(b) [elsewhere] completely disable the device.
The fact that this behaviour depends on the bus number of the device is
already XXX'd.
XXX: This will need revisiting if and when we ever want to handle a PCI bus
XXX: with more than 32 bits of address space on an i386.
The onboard Adaptec 7890 on my Dell Precision Workstation 410 works again.
by Nathan J Williams <nathanw@netbsd.org>
Revisions pulled up:
> cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/i386/pci/pcibios.h
> cvs rdiff -r1.3 -r1.5 syssrc/sys/arch/i386/pci/pcibios.c
> cvs rdiff -r1.3 -r1.7 syssrc/sys/arch/i386/pci/pci_addr_fixup.c
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.3.2.1 syssrc/sys/arch/i386/pci/pci_addr_fixup.c
cvs rdiff -r1.3 -r1.3.6.1 syssrc/sys/arch/i386/pci/pcibios.c
cvs rdiff -r1.2 -r1.2.6.1 syssrc/sys/arch/i386/pci/pcibios.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.