The NetBSD Project

CVS log for src/sys/arch/x86/pci/pci_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.98 / (download) - annotate - [select for diffs], Tue Nov 21 23:22:23 2023 UTC (4 months, 3 weeks ago) by gutteridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.97: +4 -4 lines
Diff to previous 1.97 (colored) to selected 1.58 (colored)

pci_machdep.c & pci_msi_machdep.c: comment fixes

Correct spelling and grammar in some comments.

Revision 1.93.4.4 / (download) - annotate - [select for diffs], Sat Oct 21 12:59:25 2023 UTC (5 months, 4 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.93.4.3: +6 -6 lines
Diff to previous 1.93.4.3 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored) to selected 1.58 (colored)

Apply patch, requested by bouyer in ticket #433:

	sys/arch/x86/pci/pci_machdep.c		(apply patch)
	sys/arch/x86/x86/genfb_machdep.c	(apply patch)

Fix build of XEN kernels with genfb(4)

Revision 1.93.4.3 / (download) - annotate - [select for diffs], Wed Oct 18 16:53:03 2023 UTC (6 months ago) by martin
Branch: netbsd-10
Changes since 1.93.4.2: +15 -3 lines
Diff to previous 1.93.4.2 (colored) to branchpoint 1.93 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by bouyer in ticket #428):

	sys/arch/xen/xen/xen_machdep.c: revision 1.28
	sys/arch/x86/pci/pci_machdep.c: revision 1.97
	sys/arch/xen/xen/genfb_xen.c: revision 1.1
	sys/arch/xen/xen/genfb_xen.c: revision 1.2
	sys/arch/xen/include/hypervisor.h: revision 1.59
	sys/arch/i386/conf/XEN3PAE_DOM0: revision 1.41 (patch)
	sys/arch/x86/x86/genfb_machdep.c: revision 1.22
	sys/arch/xen/x86/consinit.c: revision 1.18
	sys/arch/xen/x86/autoconf.c: revision 1.26
	sys/external/mit/xen-include-public/dist/xen/include/public/platform.h: revision 1.2
	sys/arch/xen/conf/files.xen: revision 1.188
	sys/arch/x86/x86/consinit.c: revision 1.37
	sys/arch/xen/conf/files.xen: revision 1.189
	sys/arch/x86/x86/consinit.c: revision 1.38
	sys/external/mit/xen-include-public/dist/xen/include/public/xen.h: revision 1.2
	sys/arch/x86/include/genfb_machdep.h: revision 1.7
	sys/arch/xen/x86/pvh_consinit.c: revision 1.5
	sys/arch/xen/x86/pvh_consinit.c: revision 1.6
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.201

Move the pvh_xencons so xen_machdep.c as early_xencons, so it can be
used in the future as early ouput for plain PV guests too.

Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic
console on EFI-only hardware.

Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer
    structure, filled in with parameters provided by Xen

when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of
    lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the
    PCI graphic device (when genfb is attached) and in x86_genfb_init()
    when genfb is used as console.

x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo()
    to check if we have a genfb console

xen/x86/consinit.c: support genfb as possible console

xen/x86/consinit.c: use the hypervior IO as console until a better one
    is found. If the hypervisor is using a serial port for boot messages,
    we'll get NetBSD's boot message on the serial port too until
    the real console takes over.

xen/x86/autoconf.c: rework device_register() to be closer to the x86 version.
    Especially make sure that device_pci_register() is called.

Make sure to always fall back to xen_early_console, even for dom0

Enable genfb in DOM0 kernels

Add ext_lfb_base to dom0_vga_console_info, from recent Xen. We know if it's
present or not by checking dom0.info_size

Add XENPF_get_dom0_console, which gets a dom0_vga_console_info stucture
from the hypervisor. To be used by PVH dom0 kernels.

XENPVH option is not used. Fix consinit.c to use XENPVHVM as intended
and XENPVH from defflag
for a dom0 PVH, the dom0_vga_console_info structure has to be retrieved
using a platform hypercall; do so in the XENPVHVM case.

Now genfb works in a PVH dom0 running on Xen 4.18 (Xen 4.15 doesn't support
this platoform op, so no way to make it work here).

Revision 1.93.4.2 / (download) - annotate - [select for diffs], Wed Oct 18 15:14:24 2023 UTC (6 months ago) by martin
Branch: netbsd-10
Changes since 1.93.4.1: +2 -9 lines
Diff to previous 1.93.4.1 (colored) to branchpoint 1.93 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by bouyer in ticket #425):

	sys/arch/x86/pci/pci_machdep.c: revision 1.96
	sys/arch/x86/acpi/acpi_machdep.c: revision 1.36
	sys/arch/x86/x86/hyperv.c: revision 1.16
	sys/arch/x86/x86/genfb_machdep.c: revision 1.21
	sys/arch/x86/acpi/acpi_wakeup.c: revision 1.56
	sys/arch/x86/include/genfb_machdep.h: revision 1.6

Declare
int acpi_md_vesa_modenum;
int acpi_md_vbios_reset;
struct vcons_screen x86_genfb_console_screen;

in genfb_machdep.h instead of locally as extern in various .c files.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Oct 17 12:07:42 2023 UTC (6 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.96: +15 -3 lines
Diff to previous 1.96 (colored) to selected 1.58 (colored)

Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic
console on EFI-only hardware.
Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer
    structure, filled in with parameters provided by Xen
when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of
    lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the
    PCI graphic device (when genfb is attached) and in x86_genfb_init()
    when genfb is used as console.
x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo()
    to check if we have a genfb console
xen/x86/consinit.c: support genfb as possible console
xen/x86/consinit.c: use the hypervior IO as console until a better one
    is found. If the hypervisor is using a serial port for boot messages,
    we'll get NetBSD's boot message on the serial port too until
    the real console takes over.
xen/x86/autoconf.c: rework device_register() to be closer to the x86 version.
    Especially make sure that device_pci_register() is called.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Oct 16 17:27:02 2023 UTC (6 months ago) by bouyer
Branch: MAIN
Changes since 1.95: +2 -9 lines
Diff to previous 1.95 (colored) to selected 1.58 (colored)

Declare
int acpi_md_vesa_modenum;
int acpi_md_vbios_reset;
struct vcons_screen x86_genfb_console_screen;

in genfb_machdep.h instead of locally as extern in various .c files.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Aug 25 08:05:18 2023 UTC (7 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.94: +7 -7 lines
Diff to previous 1.94 (colored) to selected 1.58 (colored)

xen: Provide definitions or ifdefs to make drm build in XEN3_DOM0.

No idea if it works, but it builds now.

PR port-xen/49330

Revision 1.79.2.3 / (download) - annotate - [select for diffs], Wed Aug 23 17:10:57 2023 UTC (7 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.79.2.2: +18 -10 lines
Diff to previous 1.79.2.2 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1890):

	sys/arch/x86/pci/pci_machdep.c: revision 1.94

Fix detection of availability of MSI/MSI-X on some systems.

Try to find all functions on bus 0, device 0 to find a PCI host bridge.
Some CPU's host bridge is at 0:0.4. Tested by Intel Snow Ridge.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Wed Aug 23 17:09:09 2023 UTC (7 months, 3 weeks ago) by martin
Branch: netbsd-9
Changes since 1.86: +18 -10 lines
Diff to previous 1.86 (colored) next main 1.87 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1722):

	sys/arch/x86/pci/pci_machdep.c: revision 1.94

Fix detection of availability of MSI/MSI-X on some systems.

Try to find all functions on bus 0, device 0 to find a PCI host bridge.
Some CPU's host bridge is at 0:0.4. Tested by Intel Snow Ridge.

Revision 1.93.4.1 / (download) - annotate - [select for diffs], Wed Aug 23 17:05:39 2023 UTC (7 months, 3 weeks ago) by martin
Branch: netbsd-10
Changes since 1.93: +18 -10 lines
Diff to previous 1.93 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #337):

	sys/arch/x86/pci/pci_machdep.c: revision 1.94

Fix detection of availability of MSI/MSI-X on some systems.

Try to find all functions on bus 0, device 0 to find a PCI host bridge.
Some CPU's host bridge is at 0:0.4. Tested by Intel Snow Ridge.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Aug 7 06:23:39 2023 UTC (8 months, 1 week ago) by msaitoh
Branch: MAIN
Changes since 1.93: +18 -10 lines
Diff to previous 1.93 (colored) to selected 1.58 (colored)

Fix detection of availability of MSI/MSI-X on some systems.

Try to find all functions on bus 0, device 0 to find a PCI host bridge.
Some CPU's host bridge is at 0:0.4. Tested by Intel Snow Ridge.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Sep 6 01:44:24 2022 UTC (19 months, 1 week ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.92: +7 -2 lines
Diff to previous 1.92 (colored) to selected 1.58 (colored)

 Fix compile error. Compile test only.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Sep 5 14:18:51 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.91: +25 -10 lines
Diff to previous 1.91 (colored) to selected 1.58 (colored)

x86: Fix interaction between consinit, device_pci_register, and drm.

Leave an essay on what's going on here in both places with
cross-references.

PR kern/56996

Revision 1.91 / (download) - annotate - [select for diffs], Tue May 24 14:00:23 2022 UTC (22 months, 3 weeks ago) by bouyer
Branch: MAIN
Changes since 1.90: +2 -10 lines
Diff to previous 1.90 (colored) to selected 1.58 (colored)

- msipic_construct_msix_pic(): set mp_table_base to memaddr (without
  table_offset), this is what Xen wants
while there use pci_conf_write16() in msi_set_msictl_enablebit() too,
for consistency (it seems that Xen accepts the 32bit write at this point,
but this may change).

- xen_map_msix_pirq(): don't forget to set map_irq.table_base in the
  MSI-X case, otherwise Xen maps it as MSI
- call pic_hwunmask() after pirq_establish() in msi/msix case, to make sure
  the msi-x vector is unmasked.

Now MSI-X works with Xen so stop disabling it in pci_attach_hook().

Revision 1.90 / (download) - annotate - [select for diffs], Mon May 23 15:03:05 2022 UTC (22 months, 3 weeks ago) by bouyer
Branch: MAIN
Changes since 1.89: +40 -2 lines
Diff to previous 1.89 (colored) to selected 1.58 (colored)

Work in progress on MSI/MSI-X on Xen (MSI works on my hardware, more work
needed for MSI-X):
- Xen silently rejects 32 bits writes to MSI configuration registers
  (especially when setting PCI_MSI_CTL_MSI_ENABLE/PCI_MSIX_CTL_ENABLE),
  it expects 16 bits writes. So introduce a pci_conf_write16(),
  only available on XENPV (and working only for mode 1 without
  PCI_OVERRIDE_CONF_WRITE) and use it to enable MSI or MSI-X on XENPV.
- for multi-MSI vectors, Xen allocates all of them in a single hypercall,
  so it's not convenient to do it at intr_establish() time.
  So do it at alloc() time and register the pirqs in the msipic structure.
  xen_pic_to_gsi() now just returns the values cached in the msipic.
  As a bonus, if the PHYSDEVOP_map_pirq hypercall fails we can fail
  the alloc() and we don't need the xen_pci_msi*_probe() hacks.

options NO_PCI_MSI_MSIX still on by default for XEN3_DOM0.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Oct 15 18:51:38 2021 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.88: +12 -2 lines
Diff to previous 1.88 (colored) to selected 1.58 (colored)

Disable MSI and MSI-X support if IAPC_BOOT_ARCH reports that MSI is not
supported.

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:41 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.87: +2 -4 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Jan 28 01:57:31 2021 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.87: +2 -4 lines
Diff to previous 1.87 (colored) to selected 1.58 (colored)

Remove x86_genfb_mtrr_init. PATs have been available since the Pentium III
and this code has been #if notyet'd shortly after being introduced.

Revision 1.87 / (download) - annotate - [select for diffs], Mon May 4 15:55:56 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.86: +11 -2 lines
Diff to previous 1.86 (colored) to selected 1.58 (colored)

add support for using MSI for XenPV Dom0

use PHYSDEVOP_map_pirq to get the pirq/gsi for MSI/MSI-X, switch also INTx
to use it instead of PHYSDEVOP_alloc_irq_vector

MSI confirmed working with single-vector MSI for wm(4), ahcisata(4), bge(4)

XXX added some provision for MSI-X, but it doesn't actually work (no interrupts
delivered), needs some further investigation; disable MSI-X for XENPV
via flag in x86/pci/pci_machdep.c

Revision 1.79.2.2 / (download) - annotate - [select for diffs], Wed Jun 12 10:17:33 2019 UTC (4 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.79.2.1: +4 -5 lines
Diff to previous 1.79.2.1 (colored) to branchpoint 1.79 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by nonaka in ticket #1280):

	sys/arch/x86/x86/consinit.c: revision 1.29
	sys/dev/hyperv/vmbusvar.h: revision 1.2
	sys/dev/hyperv/genfb_vmbusvar.h: revision 1.1
	sys/arch/x86/x86/x86_autoconf.c: revision 1.78
	sys/arch/x86/x86/identcpu.c: revision 1.91
	sys/arch/x86/x86/hyperv.c: revision 1.2
	sys/arch/x86/x86/hyperv.c: revision 1.3
	sys/arch/x86/x86/hyperv.c: revision 1.4
	sys/arch/i386/conf/GENERIC: revision 1.1207
	sys/dev/wscons/wsconsio.h: revision 1.123
	sys/arch/x86/x86/hypervvar.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.528
	sys/dev/hyperv/files.hyperv: revision 1.2
	sys/arch/x86/include/autoconf.h: revision 1.6
	sys/dev/hyperv/hyperv_common.c: revision 1.2
	sys/arch/xen/x86/autoconf.c: revision 1.23
	sys/arch/x86/pci/pci_machdep.c: revision 1.86
	sys/dev/hyperv/hvkbd.c: revision 1.1
	sys/dev/hyperv/hypervvar.h: revision 1.2
	sys/dev/acpi/vmbus_acpi.c: revision 1.2
	sys/dev/hyperv/vmbus.c: revision 1.3
	sys/dev/hyperv/hvkbdvar.h: revision 1.1
	sys/dev/hyperv/genfb_vmbus.c: revision 1.1

Added drivers for Hyper-V Synthetic Keyboard and Video device.

Avoid undefined reference to `hyperv_guid_video' without vmbus(4).

Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).

Use efi_probe().

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:53 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.82: +77 -80 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Fri May 24 14:28:48 2019 UTC (4 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9
Changes since 1.85: +4 -5 lines
Diff to previous 1.85 (colored) to selected 1.58 (colored)

Added drivers for Hyper-V Synthetic Keyboard and Video device.

Revision 1.85 / (download) - annotate - [select for diffs], Fri May 17 18:34:33 2019 UTC (4 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.84: +66 -71 lines
Diff to previous 1.84 (colored) to selected 1.58 (colored)

Factor out the fbinfo setting code, to make it more readable, and use
memcpy to properly align the structure (although it does not matter on x86).

Revision 1.84 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:33 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored) to selected 1.58 (colored)

We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.

Revision 1.79.8.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:42 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.79.8.2: +9 -6 lines
Diff to previous 1.79.8.2 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jul 10 06:44:49 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.82: +9 -6 lines
Diff to previous 1.82 (colored) to selected 1.58 (colored)

Fix bug, SPINOUT() is not supposed to take the value given to BACKOFF().
Here the exponential backoff is wrecked.

Revision 1.79.8.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:47 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.79.8.1: +38 -4 lines
Diff to previous 1.79.8.1 (colored) to branchpoint 1.79 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.82 / (download) - annotate - [select for diffs], Sat Jun 23 16:09:53 2018 UTC (5 years, 9 months ago) by jakllsch
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.81: +7 -4 lines
Diff to previous 1.81 (colored) to selected 1.58 (colored)

Disable all contemporary mode 1 quirks.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jun 23 16:05:05 2018 UTC (5 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.80: +33 -2 lines
Diff to previous 1.80 (colored) to selected 1.58 (colored)

If mode 1 enable check fails, give mode 1 a second chance by trying to
use it to locate a PCI Host Bridge or device from vendor that produced
a chipset lacking a Host Bridge class device.

Should allow us to remove most all the mode 1 quirks added in the last
two decades.

Revision 1.79.8.1 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:56 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.79: +24 -5 lines
Diff to previous 1.79 (colored) to selected 1.58 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Wed Apr 11 14:53:50 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.79: +24 -5 lines
Diff to previous 1.79 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by nonaka in ticket #740):

	sys/arch/x86/pci/pci_machdep.c: revision 1.80

efiboot reports parent ppb bus/device/function of booted network inteface.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Apr 11 10:34:19 2018 UTC (6 years ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.79: +24 -5 lines
Diff to previous 1.79 (colored) to selected 1.58 (colored)

efiboot reports parent ppb bus/device/function of booted network inteface.

Revision 1.56.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:50 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.56.2.2: +196 -13 lines
Diff to previous 1.56.2.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored) to selected 1.58 (colored)

update from HEAD

Revision 1.69.2.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:56 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.2.4: +15 -15 lines
Diff to previous 1.69.2.4 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:08 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.78: +2 -6 lines
Diff to previous 1.78 (colored) to selected 1.58 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:39 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.76: +15 -11 lines
Diff to previous 1.76 (colored) next main 1.77 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:22 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.74: +15 -11 lines
Diff to previous 1.74 (colored) next main 1.75 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Sat Feb 25 01:13:50 2017 UTC (7 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.77: +9 -2 lines
Diff to previous 1.77 (colored) to selected 1.58 (colored)

EFI console is drawing faster by shadowfb.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Feb 9 03:38:01 2017 UTC (7 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.76: +8 -11 lines
Diff to previous 1.76 (colored) to selected 1.58 (colored)

 Supress verbose message "This pci host supports neither MSI nor MSI-X."
on VMware and KVM. OK'd by k-nakahara.

Revision 1.69.2.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:37 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.2.3: +8 -4 lines
Diff to previous 1.69.2.3 (colored) to branchpoint 1.69 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Thu Aug 25 12:21:21 2016 UTC (7 years, 7 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.75: +8 -4 lines
Diff to previous 1.75 (colored) to selected 1.58 (colored)

more fix line break position in verbose message.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Aug 25 11:06:50 2016 UTC (7 years, 7 months ago) by knakahara
Branch: MAIN
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored) to selected 1.58 (colored)

fix line break position in verbose message.

pointed out by nonaka@n.o, thanks.

Revision 1.69.2.3 / (download) - annotate - [select for diffs], Sat Jul 9 20:24:59 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.2.2: +8 -6 lines
Diff to previous 1.69.2.2 (colored) to branchpoint 1.69 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jun 10 23:07:52 2016 UTC (7 years, 10 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.73: +8 -6 lines
Diff to previous 1.73 (colored) to selected 1.58 (colored)

Avoid trying to create a tag for locating AMD HyperTransport bridge that will
panic a machine that uses Configuration Mechanism 2.

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:45 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.2.1: +46 -2 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored) to selected 1.58 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.73 / (download) - annotate - [select for diffs], Thu Nov 26 16:27:05 2015 UTC (8 years, 4 months ago) by jakllsch
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.72: +5 -6 lines
Diff to previous 1.72 (colored) to selected 1.58 (colored)

Move acpimcfg_map_bus() before no-MSI bailout in pci_attach_hook().

Revision 1.72 / (download) - annotate - [select for diffs], Mon Nov 2 09:29:08 2015 UTC (8 years, 5 months ago) by knakahara
Branch: MAIN
Changes since 1.71: +4 -2 lines
Diff to previous 1.71 (colored) to selected 1.58 (colored)

Add verbose messages when the kernel disables MSI/MSI-X.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Oct 2 05:22:52 2015 UTC (8 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.70: +45 -2 lines
Diff to previous 1.70 (colored) to selected 1.58 (colored)

PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
  if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
  Currently the following extended capabilities are decoded:
   - Advanced Error Reporting
   - Virtual Channel
   - Device Serial Number
   - Power Budgeting
   - Root Complex Link Declaration
   - Root Complex Event Collector Association
   - Access Control Services
   - Alternative Routing-ID Interpretation
   - Address Translation Services
   - Single Root IO Virtualization
   - Page Request
   - TPH Requester
   - Latency Tolerance Reporting
   - Secondary PCI Express
   - Process Address Space ID
   - LN Requester
   - L1 PM Substates
  The following extended capabilities are not decoded yet:
   - Root Complex Internal Link Control
   - Multi-Function Virtual Channel
   - RCRB Header
   - Vendor Unique
   - Configuration Access Correction
   - Multiple Root IO Virtualization
   - Multicast
   - Resizable BAR
   - Dynamic Power Allocation
   - Protocol Multiplexing
   - Downstream Port Containment
   - Precision Time Management
   - M-PCIe
   - Function Reading Status Queueing
   - Readiness Time Reporting
   - Designated Vendor-Specific

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:04 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69: +129 -2 lines
Diff to previous 1.69 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Mon Apr 27 07:03:58 2015 UTC (8 years, 11 months ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.69: +129 -2 lines
Diff to previous 1.69 (colored) to selected 1.58 (colored)

add x86 MD MSI/MSI-X support code.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sun Jan 25 08:25:11 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.67: +8 -4 lines
Diff to previous 1.67 (colored) next main 1.68 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by nonaka in ticket #451):
	sys/arch/x86/pci/pci_machdep.c: revision 1.68
we don't need to keep track of curmode if not vga_post.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Nov 7 12:48:21 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.68: +11 -9 lines
Diff to previous 1.68 (colored) to selected 1.58 (colored)

print the bad values in panic messages

Revision 1.68 / (download) - annotate - [select for diffs], Wed Nov 5 05:07:43 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.67: +8 -4 lines
Diff to previous 1.67 (colored) to selected 1.58 (colored)

we don't need to keep track of curmode if not vga_post.

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.56.2.1: +58 -55 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored) to selected 1.58 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:11 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.65: +19 -8 lines
Diff to previous 1.65 (colored) next main 1.66 (colored) to selected 1.58 (colored)

Rebase.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:13 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.52.2.1: +64 -61 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored) to selected 1.58 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.34.10.2 / (download) - annotate - [select for diffs], Wed May 21 22:05:40 2014 UTC (9 years, 11 months ago) by bouyer
Branch: netbsd-5
Changes since 1.34.10.1: +17 -2 lines
Diff to previous 1.34.10.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1903):
	sys/arch/x86/pci/pci_machdep.c: revision 1.61 via patch
	sys/arch/x86/pci/pci_machdep.c: revision 1.66 via patch
Force pci_mode 1 when running as Xen HVM domU to allow cd* to be
detected correctly. Fixes kern/48770. Thanks to cube@
Force PCI mode 1 when running under QEMU, to work around QEMU bug 897771.
This should also make it possible to boot NetBSD under versions of KVM
that have inherited said QEMU bug.  Fixes PR kern/45671.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Wed May 21 21:02:57 2014 UTC (9 years, 11 months ago) by bouyer
Branch: netbsd-6
Changes since 1.54.2.1: +10 -3 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1060):
	sys/arch/x86/pci/pci_machdep.c: revision 1.66
Force pci_mode 1 when running as Xen HVM domU to allow cd* to be
detected correctly. Fixes kern/48770. Thanks to cube@

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:30 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.57.4.1: +43 -11 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.67 / (download) - annotate - [select for diffs], Tue May 6 18:54:34 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.66: +18 -14 lines
Diff to previous 1.66 (colored) to selected 1.58 (colored)

tidy up.

Revision 1.66 / (download) - annotate - [select for diffs], Tue May 6 09:01:26 2014 UTC (9 years, 11 months ago) by sborrill
Branch: MAIN
Changes since 1.65: +10 -3 lines
Diff to previous 1.65 (colored) to selected 1.58 (colored)

Force pci_mode 1 when running as Xen HVM domU to allow cd* to be detected
correctly. Fixes kern/48770. Thanks to cube@

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jan 27 23:11:50 2014 UTC (10 years, 2 months ago) by jakllsch
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.64: +9 -2 lines
Diff to previous 1.64 (colored) to selected 1.58 (colored)

Stopgap to prevent genfb from stealing console.  Revisit later.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jan 26 10:54:24 2014 UTC (10 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.63: +12 -4 lines
Diff to previous 1.63 (colored) to selected 1.58 (colored)

PUCCN improvements:
 - Fix a bug that the puc cn mechanism doesn't use the UART's frequency
   in pucdata.c's table.

 - Add a new option PUC_CNAUTO. If this option is set, consinit() in
   x86/x86/consinit.c checks puc com device to use it as console.
   Without this option, the behavior is the same as before.

 - Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
   If PUC_CNBUS is set, the specified number's bus will be scanned.

 - Rename comcnprobe() to puc_cnprobe() to make it clear.

 - Rename comcninit() to puc_cninit() to make it clear.

 - Add code for a device that a device's com register is MMIO (#if0 ed).

Revision 1.63 / (download) - annotate - [select for diffs], Wed Dec 25 17:24:39 2013 UTC (10 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.58 (colored)

Give cpu_comcnprobe a chance of working on Mode 2 PCI config space.

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Sun Oct 20 13:18:50 2013 UTC (10 years, 6 months ago) by bouyer
Branch: netbsd-6-1
CVS Tags: netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE
Changes since 1.54: +10 -2 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.58 (colored)

Apply patchm requested by gson in ticket #963:
sys/arch/x86/pci/pci_machdep.c			1.61 via patch

	Force PCI mode 1 when running under QEMU, to work around
	QEMU bug 897771.
	This should also make it possible to boot NetBSD under versions of KVM
	that have inherited said QEMU bug.  Fixes PR kern/45671.

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Sun Oct 20 13:18:48 2013 UTC (10 years, 6 months ago) by bouyer
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE
Changes since 1.54: +10 -2 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.58 (colored)

Apply patch, requested by gson in ticket #963:
sys/arch/x86/pci/pci_machdep.c                  1.61 via patch

	Force PCI mode 1 when running under QEMU, to work around
	QEMU bug 897771.
	This should also make it possible to boot NetBSD under versions of KVM
	that have inherited said QEMU bug.  Fixes PR kern/45671.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun Oct 20 13:16:57 2013 UTC (10 years, 6 months ago) by bouyer
Branch: netbsd-6
Changes since 1.54: +10 -2 lines
Diff to previous 1.54 (colored) to selected 1.58 (colored)

Apply patch, requested by riastradh in ticket #962:
sys/arch/x86/pci/pci_machdep.c			1.61 via patch

	Force PCI mode 1 when running under QEMU, to work around
	QEMU bug 897771.
	This should also make it possible to boot NetBSD under versions of KVM
	that have inherited said QEMU bug.  Fixes PR kern/45671.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Oct 17 21:12:24 2013 UTC (10 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.61: +3 -5 lines
Diff to previous 1.61 (colored) to selected 1.58 (colored)

remove set but unused variables

Revision 1.61 / (download) - annotate - [select for diffs], Sat Oct 5 11:20:34 2013 UTC (10 years, 6 months ago) by gson
Branch: MAIN
Changes since 1.60: +10 -2 lines
Diff to previous 1.60 (colored) to selected 1.58 (colored)

Force PCI mode 1 when running under QEMU, to work around QEMU bug 897771.
This should also make it possible to boot NetBSD under versions of KVM
that have inherited said QEMU bug.  Fixes PR kern/45671.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:24 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.57: +21 -50 lines
Diff to previous 1.57 (colored) to selected 1.58 (colored)

sync with head

Revision 1.60 / (download) - annotate - [select for diffs], Wed Jul 31 19:27:51 2013 UTC (10 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored) to selected 1.58 (colored)

hand genfb the virtual address of the actual framebuffer, not the upper
left corner of the text area
now centering works and we don't scribble past the mapped VRAM when trying
to clear the screen in 32bit colour

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jul 31 14:05:33 2013 UTC (10 years, 8 months ago) by soren
Branch: MAIN
Changes since 1.58: +2 -49 lines
Diff to previous 1.58 (colored)

Blocking memory space accesses on the SIS 85C496 chipset turned out to be
a bit too heavy-handed and similar cases are unlikely to crop up again,
so simplify by eliminating pci_bus_flags().

Closes PR port-i386/20410.

Revision 1.57.6.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:35 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.57: +19 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with HEAD

Revision 1.58 / (download) - annotate - [selected], Mon Jul 22 13:40:36 2013 UTC (10 years, 8 months ago) by soren
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.57: +19 -2 lines
Diff to previous 1.57 (colored)

Allow console on com_puc without a compile-time option so that PC servers
can become headless after the first reboot (sadly, e.g. Intel AMT presents
as a com_puc, but doesn't appear in the BIOS serial port table, so you need
a keyboard and monitor to install and set the installboot parameters first).

Fix com_puc console on devices with offset BAR's.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:14 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.56: +6 -6 lines
Diff to previous 1.56 (colored) to selected 1.58 (colored)

resync from head

Revision 1.57 / (download) - annotate - [select for diffs], Fri May 3 15:42:29 2013 UTC (10 years, 11 months ago) by jakllsch
Branch: MAIN
CVS Tags: riastradh-drm2-base, khorben-n900
Branch point for: rmind-smpnet, riastradh-drm2
Changes since 1.56: +6 -6 lines
Diff to previous 1.56 (colored) to selected 1.58 (colored)

use IO_VGA as symbolic constant for 0x3c0 in x86_genfb_set_mapreg()

Revision 1.34.10.1 / (download) - annotate - [select for diffs], Sat May 19 16:39:24 2012 UTC (11 years, 11 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by gendalia in ticket #1755):
	sys/arch/x86/pci/pci_machdep.c: revision 1.36
add SIS 740 to the list of chipsets known to implement PCI configuration
mode 1 incorrectly, from Jason White
(see thread "ACPI issue with old Shuttle system" on port-i386)

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:05 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.52: +25 -63 lines
Diff to previous 1.52 (colored) to selected 1.58 (colored)

sync with head

Revision 1.53.4.4 / (download) - annotate - [select for diffs], Tue Mar 6 18:26:40 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53.4.3: +24 -25 lines
Diff to previous 1.53.4.3 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored) to selected 1.58 (colored)

sync to -current

Revision 1.53.4.3 / (download) - annotate - [select for diffs], Tue Mar 6 09:56:12 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53.4.2: +25 -24 lines
Diff to previous 1.53.4.2 (colored) to branchpoint 1.53 (colored) to selected 1.58 (colored)

sync to -current

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Sun Mar 4 00:46:16 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53.4.1: +24 -25 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored) to selected 1.58 (colored)

sync to latest -current.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Mar 1 20:16:27 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.55: +14 -15 lines
Diff to previous 1.55 (colored) to selected 1.58 (colored)

slightly rework pcim1_quirk_tbl[]-related bits:
 - put patchable entry first so finding it with gdb/ddb is more trivial
 - use pcitag_t instead of uint32_t for tag
 - make this table const
 - drop old #undef
 - use NULL instead of 0 where appropriate.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Feb 28 18:14:47 2012 UTC (12 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.54: +12 -12 lines
Diff to previous 1.54 (colored) to selected 1.58 (colored)

cosmetic, spelling, and grammar adjustments

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:35 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored) to selected 1.58 (colored)

merge to -current.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Feb 15 16:30:29 2012 UTC (12 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored) to selected 1.58 (colored)

Add VIA VX900 host bridge to a buggy PCI mode 1 quirk table.  PR/46018
Ok releng@

Revision 1.53 / (download) - annotate - [select for diffs], Fri Nov 18 22:18:08 2011 UTC (12 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.52: +2 -41 lines
Diff to previous 1.52 (colored) to selected 1.58 (colored)

remove Xbox support

Revision 1.52 / (download) - annotate - [select for diffs], Tue Oct 18 23:43:36 2011 UTC (12 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.51: +237 -3 lines
Diff to previous 1.51 (colored) to selected 1.58 (colored)

Factor device_isa_register() and device_pci_register() out of
device_register() and stick the new routines into isa_machdep.c and
pci_machdep.c, respectively.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Sep 13 17:58:42 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.50: +4 -2 lines
Diff to previous 1.50 (colored) to selected 1.58 (colored)

Bracket a debugging printf() with #ifdef DEBUG.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Sep 1 15:10:31 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.49: +2 -38 lines
Diff to previous 1.49 (colored) to selected 1.58 (colored)

Add bus_dma overrides. From dyoung

Revision 1.49 / (download) - annotate - [select for diffs], Mon Aug 29 22:46:04 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.48: +2 -917 lines
Diff to previous 1.48 (colored) to selected 1.58 (colored)

Move the code for grovelling in PCI configuration space for assigned
memory & I/O regions into its own module, pci_ranges.c, so that we can
leave it out on systems that won't need it.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Aug 28 06:04:18 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.47: +917 -2 lines
Diff to previous 1.47 (colored) to selected 1.58 (colored)

Add some code for grovelling in the PCI configuration space for all
of the memory & I/O space reserved by the PCI BIOS for PCI devices
(including bridges) and recording that information for later use.

The code takes between 13k and 50k (depends on the architecture and,
bizarrely, the kernel configuration) so I am going to move it from
pci_machdep.c into its own module on Monday.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Aug 28 04:59:37 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.46: +27 -38 lines
Diff to previous 1.46 (colored) to selected 1.58 (colored)

Make the override implementation more concise.  Saves about three lines
of code per routine, makes it more explicit what's going on, and avoids
recursion, though the compiler probably optimized the tail recursion in
the old code.

Revision 1.34.14.5 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:30 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34.14.4: +54 -48 lines
Diff to previous 1.34.14.4 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.58 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Aug 27 09:32:11 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.45: +52 -46 lines
Diff to previous 1.45 (colored) to selected 1.58 (colored)

use c99 struct initializers

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:07 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:23 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41.2.1: +4 -4 lines
Diff to previous 1.41.2.1 (colored) next main 1.42 (colored) to selected 1.58 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Tue May 17 17:34:53 2011 UTC (12 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) to selected 1.58 (colored)

PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name.  Correct that.

Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.

This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:

algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

Revision 1.34.14.4 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:17 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34.14.3: +311 -159 lines
Diff to previous 1.34.14.3 (colored) to branchpoint 1.34 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:32 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.37.2.1: +14 -2 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.33.4.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:56 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.4.5: +207 -43 lines
Diff to previous 1.33.4.5 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:12 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41: +183 -41 lines
Diff to previous 1.41 (colored) to selected 1.58 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Fri Apr 30 21:05:27 2010 UTC (13 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.43: +16 -4 lines
Diff to previous 1.43 (colored) to selected 1.58 (colored)

Add an exponential back-off to the loop that tries to lock the
PCI configuration-access registers, to avoid excessive cacheline
ping-ponging.  Thanks to rmind@ for the tip.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:58 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.37: +299 -159 lines
Diff to previous 1.37 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Apr 28 21:27:14 2010 UTC (13 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.42: +92 -14 lines
Diff to previous 1.42 (colored) to selected 1.58 (colored)

Provide an x86 implementation of pci_chipset_tag_create(9) and
pci_chipset_tag_destroy(9).

Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 27 23:33:14 2010 UTC (13 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.41: +81 -29 lines
Diff to previous 1.41 (colored) to selected 1.58 (colored)

Make pci_conf_read(9) and pci_conf_write(9) re-entrant so that the
kernel can use them in an NMI trap handler.  Only one CPU can be
in _read() or _write() at once.  However, on any single CPU, more
than one thread of execution (LWP, interrupt handler, trap handler)
may be in _read() or _write() at once, because each thread saves
and restores the PCI configuration-access state.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 14 20:19:06 2010 UTC (14 years, 1 month ago) by dyoung
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.40: +34 -12 lines
Diff to previous 1.40 (colored) to selected 1.58 (colored)

Add a new member, pc_super, to x86's pci_chipset_tag: pc.pc_super points
to the tag that pc inherits its behavior from.  Add code to deal with
pc.pc_super.

Pull identical declarations out of xen/include/pci_machdep.h and
x86/include/pci_machdep.h into x86/include/pci_machdep_common.h.

Revision 1.33.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:08 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.4.4: +124 -136 lines
Diff to previous 1.33.4.4 (colored) to branchpoint 1.33 (colored) to selected 1.58 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 25 20:51:10 2010 UTC (14 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.39: +20 -2 lines
Diff to previous 1.39 (colored) to selected 1.58 (colored)

In the x86 pci(9) implementation, test for and call a
pci_chipset_tag_t's override functions.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Feb 16 19:29:40 2010 UTC (14 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.38: +70 -45 lines
Diff to previous 1.38 (colored) to selected 1.58 (colored)

PCI Configuration Mechanisms #1 and #2 are controlled by two to
three registers.  Let us think of the kernel operating the registers
in two steps:

1) Select: enable configuration cycles and select a range of
   configuration-space addresses.

2) Access: read or write a word in PCI configuration space.

To make the steps more explicit, extract some helper subroutines
from pci_conf_read(9) and pci_conf_write(9):

pci_conf_selector(tag, reg): from a pcitag_t and a register offset,
    create a word that enables configuration cycles and selects a
    configuration address range.

pci_conf_select(w): for `w' a word created by pci_conf_selector(),
    enable configuration cycles and select the address range indicated
    by `w'.

pci_conf_select(0): disable configuration cycles.

pci_conf_port(tag, reg): map a pcitag_t and a register offset to an I/O
    port where the configuration access should occur.

While I'm in here, change the panic(9) calls to panic("%s: ...",
__func__) instead of hard-coding a subroutine name.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 16 00:03:47 2010 UTC (14 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.37: +70 -125 lines
Diff to previous 1.37 (colored) to selected 1.58 (colored)

Get rid of all PCI_CONF_MODE #ifdef'age except for the little bit
that initializes pci_mode, which I have moved to the top.

Make pci_mode private to pci_machdep.c.

Provide pci_mode_set() for pcibios.c to configure the PCI Configuration
Mechanism.  KASSERT() in pci_mode_set() that the mechanism is not
changing from anything but the "don't know" value, -1.

Revision 1.34.14.3 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:17 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34.14.2: +5 -5 lines
Diff to previous 1.34.14.2 (colored) to branchpoint 1.34 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.33.4.4 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:50 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.4.3: +5 -5 lines
Diff to previous 1.33.4.3 (colored) to branchpoint 1.33 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Aug 18 16:41:03 2009 UTC (14 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored) to selected 1.58 (colored)

Switch to ACPICA 20090730, and update for API changes.

Revision 1.34.14.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:37 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34.14.1: +4 -2 lines
Diff to previous 1.34.14.1 (colored) to branchpoint 1.34 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.33.4.3 / (download) - annotate - [select for diffs], Sat Jul 18 14:52:56 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.4.2: +4 -2 lines
Diff to previous 1.33.4.2 (colored) to branchpoint 1.33 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 3 13:15:22 2009 UTC (14 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored) to selected 1.58 (colored)

add SIS 740 to the list of chipsets known to implement PCI configuration
mode 1 incorrectly, from Jason White
(see thread "ACPI issue with old Shuttle system" on port-i386)

Revision 1.34.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:44 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.58 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:10 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.4.1: +3 -3 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:56 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Mar 15 21:32:36 2009 UTC (15 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.58 (colored)

ansify function definitions

Revision 1.31.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:51 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31.6.1: +3 -10 lines
Diff to previous 1.31.6.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:04 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.33: +2 -9 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:28 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33: +2 -9 lines
Diff to previous 1.33 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:40 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Changes since 1.33: +2 -9 lines
Diff to previous 1.33 (colored) to selected 1.58 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.33 / (download) - annotate - [select for diffs], Wed Apr 16 16:06:51 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored) to selected 1.58 (colored)

- use aprint_*_dev and device_xname
- use POSIX integer types

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:30 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.31: +3 -4 lines
Diff to previous 1.31 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.11.2.6 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:40 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.5: +3 -4 lines
Diff to previous 1.11.2.5 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:09 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.31: +3 -4 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.26.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:28 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.26.6.2: +5 -4 lines
Diff to previous 1.26.6.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.58 (colored)

sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Fri Mar 21 00:24:34 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.31: +3 -4 lines
Diff to previous 1.31 (colored) to selected 1.58 (colored)

Use device_t.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:17 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.28: +6 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.11.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:12 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.4: +6 -4 lines
Diff to previous 1.11.2.4 (colored) to branchpoint 1.11 (colored) to selected 1.58 (colored)

sync with head

Revision 1.28.8.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:48 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.28.8.1: +2 -0 lines
Diff to previous 1.28.8.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 14 18:44:17 2008 UTC (16 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) to selected 1.58 (colored)

KASSERT() that reads/writes from/to PCI configuration space are
aligned on 32-bit boundaries.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:51 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.26.6.1: +4 -4 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) to selected 1.58 (colored)

sync with HEAD

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:36 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jan 4 21:17:43 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored) to selected 1.58 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 4 18:38:32 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.28: +3 -4 lines
Diff to previous 1.28 (colored) to selected 1.58 (colored)

sys/lock.h isn't needed here.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:43 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored) to selected 1.58 (colored)

sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:15 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.58 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.22.4.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:43 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.22.4.2: +3 -4 lines
Diff to previous 1.22.4.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.58 (colored)

Sync with head.

Revision 1.22.12.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:51 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.22: +7 -8 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:46 2007 UTC (16 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:22 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.3: +7 -8 lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:19:51 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.23.4.1: +3 -4 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Aug 29 22:14:00 2007 UTC (16 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, bouyer-xenamd64
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored) to selected 1.58 (colored)

Use __arraycount().

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:39:16 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.22.4.1: +3 -3 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:57 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:54 2007 UTC (16 years, 8 months ago) by matt
Branch: matt-mips64
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 22 23:45:50 2007 UTC (16 years, 9 months ago) by mjf
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.58 (colored)

Remove newline from format string of aprint_normal.

Thanks to pooka@ for pointing it out.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 19 14:07:10 2007 UTC (16 years, 9 months ago) by mjf
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.58 (colored)

s/aprintf_normal/aprint_normal

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jul 19 13:31:26 2007 UTC (16 years, 9 months ago) by mjf
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.58 (colored)

Change printf to aprintf_normal and add a newline as requested by Christoph Egger on port-xen.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:17 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.58 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:38 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment, matt-mips64
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) to selected 1.58 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Tue Apr 10 12:11:18 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) to selected 1.58 (colored)

Replace some more locks.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:25 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.20: +8 -6 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.58 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:50 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.2: +46 -6 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 22 04:58:26 2007 UTC (17 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored) to selected 1.58 (colored)

Add missing initializer for _tag_needs_count

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 21 20:41:27 2007 UTC (17 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.20: +7 -6 lines
Diff to previous 1.20 (colored) to selected 1.58 (colored)

add a pair of new bus_dma(9) functions:
	int _bus_dmatag_subregion(bus_dma_tag_t tag,
				  bus_addr_t min_addr,
				  bus_addr_t max_addr,
				  bus_dma_tag_t *newtag,
				  int flags)
	void _bus_dmatag_destroy(bus_dma_tag_t tag)

that allow a (normally broken/limited) device to restrict the bus address
range it can talk to.  this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.

all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.

XXX: bus_dma(9) needs an update still.

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Fri Feb 9 21:03:50 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.16.4.2: +20 -2 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 6 03:13:37 2007 UTC (17 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.19: +20 -2 lines
Diff to previous 1.19 (colored) to selected 1.58 (colored)

On Xbox, disallow pci_conf_read/pci_conf_write calls for bus 0 device 0
functions 1 and 2.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:01 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.16.4.1: +22 -2 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) to selected 1.58 (colored)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 5 17:53:54 2007 UTC (17 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +22 -2 lines
Diff to previous 1.18 (colored) to selected 1.58 (colored)

On the Xbox, prevent scanning past the first device on bus 1.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.2.1: +21 -27 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.16.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:42 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16.6.1: +9 -9 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:38 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.16: +12 -24 lines
Diff to previous 1.16 (colored) to selected 1.58 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:39 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.17: +9 -9 lines
Diff to previous 1.17 (colored) to selected 1.58 (colored)

__unused removal on arguments; approved by core.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:16 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16: +12 -24 lines
Diff to previous 1.16 (colored) to selected 1.58 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:44 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.16: +12 -24 lines
Diff to previous 1.16 (colored) to selected 1.58 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:49 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.12: +11 -166 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.58 (colored)

sync with head

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:16 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.14.2.1: +8 -5 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.58 (colored)

sync with head

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:06 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.14: +11 -5 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.58 (colored)

Merge from HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 4 00:30:23 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.15: +8 -5 lines
Diff to previous 1.15 (colored) to selected 1.58 (colored)

Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:45:40 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 25 03:46:56 2006 UTC (17 years, 9 months ago) by soren
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored) to selected 1.58 (colored)

Add quirk for the not quite standard PCI bus in Parallels Desktop for Mac.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:57:56 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11: +4 -163 lines
Diff to previous 1.11 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:09 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.13: +13 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.58 (colored)

Sync with head.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:54 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.12: +2 -163 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 7 20:38:43 2006 UTC (18 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, gdamore-uart
Changes since 1.13: +13 -2 lines
Diff to previous 1.13 (colored) to selected 1.58 (colored)

Add back proper MPBIOS/MPACPI handling.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 3 19:58:21 2006 UTC (18 years, 2 months ago) by bouyer
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.12: +2 -174 lines
Diff to previous 1.12 (colored) to selected 1.58 (colored)

Split move interrupt-related PCI functions from pci_machdep.c to
pci_intr_machdep.c. In Xen-3 registers access is done the normal way but
interrupts need custom setup. Proposed on port-amd64, port-i386 and
port-xen a week ago.

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:38 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.5.2.4: +4 -2 lines
Diff to previous 1.5.2.4 (colored) next main 1.6 (colored) to selected 1.58 (colored)

Sync with head.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:06 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.58 (colored)

sync with head.

Revision 1.9.14.2 / (download) - annotate - [select for diffs], Mon Nov 21 20:19:52 2005 UTC (18 years, 5 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.9.14.1: +2 -0 lines
Diff to previous 1.9.14.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.58 (colored)

Pull up following revision(s) (requested by christos in ticket #966):
	sys/arch/x86/pci/pci_machdep.c: revision 1.12
PR/31885: Stephane Witzmann: Force pci mode 1 on SIS 741.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 16 16:08:36 2005 UTC (18 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Branch point for: yamt-uio_vmspace, rpaulo-netinet-merge-pcb
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored) to selected 1.58 (colored)

PR/31885: Stephane Witzmann: Force pci mode 1 on SIS 741.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +98 -3 lines
Diff to previous 1.5.2.3 (colored) to selected 1.58 (colored)

Sync with HEAD. Here we go again...

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 20 11:04:15 2005 UTC (18 years, 10 months ago) by sekiya
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.10: +97 -2 lines
Diff to previous 1.10 (colored) to selected 1.58 (colored)

pci_device_foreach(), pci_device_foreach_min(), pci_bridge_foreach(), and
pci_bridge_hook don't actually have any dependancies on PCIBIOS-specific code,
and they can be used to fixup PCI bus numbering in the absence of the BIOS.

To that end, decouple them from PCIBIOS.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:29 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.58 (colored)

sync with -current

Revision 1.9.14.1 / (download) - annotate - [select for diffs], Thu Apr 21 18:40:40 2005 UTC (19 years ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-0-RC1
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.58 (colored)

Pull up revision 1.10 (requested by yamt in ticket #175):
tweak x86 bus_dma code so that it can be used by xen port.
- distinguish paddr_t and bus_addr_t.
  for xen, use bus_addr_t in the sense of machine address.
- move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h.
- remove special handling of xen_shm.  we can always grab
  machine address from pte.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 16 07:53:35 2005 UTC (19 years ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.58 (colored)

tweak x86 bus_dma code so that it can be used by xen port.

- distinguish paddr_t and bus_addr_t.
  for xen, use bus_addr_t in the sense of machine address.
- move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h.
- remove special handling of xen_shm.  we can always grab
  machine address from pte.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +2 -2 lines
Diff to previous 1.5.2.2 (colored) to selected 1.58 (colored)

Fix the sync with head I botched.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:43 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +0 -0 lines
Diff to previous 1.5.2.1 (colored) to selected 1.58 (colored)

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:04 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +5 -22 lines
Diff to previous 1.5 (colored) to selected 1.58 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 30 21:19:54 2003 UTC (20 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3, kent-audio2
Changes since 1.8: +5 -6 lines
Diff to previous 1.8 (colored) to selected 1.58 (colored)

* keep track of PCI buses that aren't known by firmware, but are found
  by NetBSD
* use this info in in intr_find_mpmapping
* get rid of the last argument to intr_find_mpmapping, it was redundant

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 16 22:56:29 2003 UTC (20 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.7: +6 -5 lines
Diff to previous 1.7 (colored) to selected 1.58 (colored)

Add hooks and structures to allow the MP table intr mapping code a
better shot at finding a mapping. For PCI interrupts, if a bus
has no mappings, try its parent, with the swizzled pin, and the
bridge's device number.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 6 17:44:40 2003 UTC (20 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +4 -31 lines
Diff to previous 1.6 (colored) to selected 1.58 (colored)

Move the bulk of pci_intr_string into a seperate intr_string function. Use
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 6 14:55:50 2003 UTC (20 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +18 -8 lines
Diff to previous 1.5 (colored) to selected 1.58 (colored)

If possible, put the device name of the APIC used into the interrupt string,
not "apic N". This makes it easier to match vmstat output with dmesg output.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 15 23:09:08 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +24 -2 lines
Diff to previous 1.4 (colored) to selected 1.58 (colored)

Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 29 20:22:32 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.3: +18 -2 lines
Diff to previous 1.3 (colored) to selected 1.58 (colored)

Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 7 21:33:58 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.2: +18 -4 lines
Diff to previous 1.2 (colored) to selected 1.58 (colored)

Generalize bounce buffers, and use them for 32 bit PCI if needed.
Make ALLOCNOW the default iff bouncing might be needed (this has
no effect on i386 because ISA DMA devices already had to use
ALLOCNOW, and PCI isn't bounced (yet), since we don't do > 4G
at this point for i386.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 28 20:26:18 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored) to selected 1.58 (colored)

Include "eisa.h" in order to get the NEISA value; without it EISA-only
MP intr routing tables wouldn't be searched.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 27 00:30:31 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Diff to selected 1.58 (colored)

Moved here from i386/pci.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>