The NetBSD Project

CVS log for src/sys/dev/acpi/acpi_pci.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / acpi

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Oct 14 22:10:15 2022 UTC (2 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, 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, netbsd-10, HEAD
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -67 lines
Add a PCI resource manager and use it on Arm ACPI platforms.

The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.

Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.

The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Feb 27 14:19:07 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -6 lines
acpi: Nix conditional pci_get_segment use.

New MI default of 0 serves.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Feb 11 23:19:59 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -5 lines
acpi(9): No need to test dv_locators.

It is always initialized by config_devalloc before config_devlink
makes it visible to device iteration.  No need to reach into private
autoconf internals.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jan 22 11:49:17 2022 UTC (2 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Dec 20 11:17:40 2021 UTC (2 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4 lines
Fix struct member prefix to be consistent.  same code before and after.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Sep 15 17:33:08 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -3 lines
Adjust the device_call() calling convention so as to provide type checking
of the arguments passed to the call, using auto-generated argument
structures and binding macros.

Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:17 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +38 -2 lines
sync with head

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:29 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +38 -2 lines
Sync with HEAD.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed May 12 23:22:33 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +38 -2 lines
- Define a device call for PCI bus instances to fetch a direct child's
  device handle given the device's device/function #s (extracted from
  a pcitag_t).  Use it to associate the handle with the child device
  at config_found() time.
- Implement this device call for ACPI and OpenFirmware.
- Enable the OpenFirmware variant for evbarm FDT, macppc, ofppc, sparc64.
- Obsolete acpi_device_register(); it is no longer needed.
- Obsolete setting the OpenFirmware handle in PCI devices in the
  sparc64 device_register(); it is no longer needed.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:43 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +38 -32 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Jan 14 14:37:17 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +38 -32 lines
In acpi_pci_ignore_boot_config(), use acpi_dsm() and add some comments
describing the (somewhat confusing) semantics of the _DSM method used
here.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri May 8 14:42:38 2020 UTC (4 years, 7 months ago) by jmcneill
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -4 lines
expose acpi_pcidev_pciroot_bus

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +31 -12 lines
Merge changes from current as of 20200406

Revision 1.26.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:45 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.26.6.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.6.1: +4 -4 lines
Sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jan 18 12:32:57 2020 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
Ignore PCI boot config unless the _DSM for ignoring PCI boot config is
explicitly set to 0.

Revision 1.26.6.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:30 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +29 -10 lines
Sync with head.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jan 17 17:06:32 2020 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: ad-namecache-base1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +29 -10 lines
Add support for Arm N1 SDP PCIe host controller.

The N1 SDP has a few bugs that we need to work around:
 - PCIe root port config space lives in a non-standard location.
 - Access to PCIe config space of devices that do not exist results in
   an sync SError. Firmware creates a "known devices" table at a fixed
   physical address that we use to filter PCI conf access to only known
   devices.

This change splits the Arm ACPI PCI quirks into separate files for each
host controller, and allows per-segment quirks to be applied.

These changes exposed some bugs in the MI ACPI layer related to
multi-segment support. The MI ACPI PCI code was using a shared PCI
chipset tag to access devices, and these accesses can happen before our
PCI host bridge drivers are attached! The global chipset tag is now gone,
and an MD callback can provide a custom tag on a per-segment basis.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:05 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +90 -4 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 1 09:26:00 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
- Almost all ppbreg.h's definitions are also in pcireg.h. Remove duplicated
  definitions from ppbreg.h and move some definitions from ppbreg.h to
  pcireg.h.
- Change fast back-to-back "capable" to "enable" in pci_subr.c.
- Print Primary Discard Timer, Secondary Discard Timer, Discard Timer Status
  and Discard Timer SERR# Enable bit in pci_subr.c.
- PCI_BRIDGE_PREFETCHBASE32_REG and PCI_BRIDGE_PREFETCHLIMIT32_REG are
  "upper" 32bit registers, rename to *UP32_REG to avoid confusion.
- Use macro.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:41 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Merge the [pgoyette-compat] branch

Revision 1.20.8.4: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:30 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.20.8.3: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.8.3: +61 -3 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Oct 21 11:04:26 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +61 -2 lines
Add a function to report whether the operating system may ignore the boot
configuration of PCI resources for a given bus.

Revision 1.20.8.3: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:30 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.8.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.8.2: +29 -2 lines
Sync with head

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Oct 15 10:00:30 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +29 -2 lines
Add a function to find a PCI root bridge by segment and bus number.

Revision 1.20.8.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:05 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20.8.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.8.1: +5 -2 lines
Sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat May 5 17:16:23 2018 UTC (6 years, 7 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -2 lines
introduce acpi_device_present() to replace the previous _STA checks.

Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:57 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -5 lines
Sync with HEAD, resolve some conflicts

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Apr 7 15:49:52 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -5 lines
Merge conflicts; STA methods and fields are not present anymore.

Revision 1.18.18.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -10 lines
update from HEAD

Revision 1.18.36.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:01 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18.36.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.36.1: +2 -8 lines
Sync with HEAD

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:09 2017 UTC (7 years, 6 months ago) by chs
Branches: 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, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: pgoyette-compat
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -8 lines
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.18.36.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:06 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 13 18:32:50 2015 UTC (9 years, 8 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
sync with new acpica struct shuffling.

Revision 1.4.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:03 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4.4.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.2: +137 -25 lines
sync with head

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Dec 31 10:56:39 2010 UTC (13 years, 11 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, 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-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +10 -4 lines
acpi_pcidev_find_dev(): take struct acpi_devnode as a parameter.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Dec 31 10:23:44 2010 UTC (13 years, 11 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +49 -2 lines
Move the function that finds a device_t for the corresponding ACPI device
node from ACPIVERBOSE to the ACPI PCI code.

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:27 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +40 -20 lines
Sync with HEAD.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Oct 26 22:27:44 2010 UTC (14 years, 1 month ago) by gsutre
Branches: MAIN
CVS tags: uebayasi-xip-base4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +40 -20 lines
An _ADR object is not required for PCI root bridges.  To solve
this, the structure acpi_pciinfo now tells whether the ACPI
device node is a PCI bridge, a regular PCI device, or both.

Problem reported by jmcneill@, who also suggested the solution.

ok jmcneill@, jruoho@

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:53 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +25 -11 lines
Sync with HEAD (-D20101022).

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:04 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.3: +27 -13 lines
sync with head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Sep 24 07:48:59 2010 UTC (14 years, 2 months ago) by gsutre
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +27 -13 lines
Do not discard ACPI PCI addresses with function number 0xFFFF: the
ACPI specification allows them (ACPI 4.0a, p. 200).

ok jruoho@

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:00 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +31 -9 lines
Sync with HEAD.

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:16 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +270 -128 lines
sync with head.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 9 09:36:42 2010 UTC (14 years, 4 months ago) by gsutre
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +12 -2 lines
acpi_pcidev_scan: attach PCI information only to working devices.

ok jruoho@

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 8 16:26:47 2010 UTC (14 years, 4 months ago) by gsutre
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +22 -7 lines
acpi_pcidev_scan: discard invalid PCI addresses.

Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:34 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.1: +3 -6 lines
sync with head

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 9 04:20:10 2010 UTC (14 years, 6 months ago) by mrg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -6 lines
pci_chipset_tag_t is opaque - don't compare it to NULL, just use it.
shouldn't be a problem because "acpi_softc" variable isn't setup until
the "sc_pc" member is set.

fixes ia64 build.  tested on amd64.  ok jruoho.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:17 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +249 -129 lines
sync with head

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:05 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +254 -137 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Apr 26 13:30:31 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +38 -35 lines
Improve and rearrange comments.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 23 15:46:59 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +15 -18 lines
Simplify acpi_pcidev_find(): directly return a pointer to the device node.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Apr 22 21:58:08 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -41 lines
Some pretty printing for ACPIVERBOSE.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Apr 22 15:25:46 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +32 -19 lines
Wrap long lines, add some white space for readability, remove unnecessary
variable assignments, misc KNF. No functional change.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Apr 22 15:14:24 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -12 lines
Shorten the long lines with two custom macros.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Apr 22 14:50:31 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +260 -123 lines
From Gregoire Sutre: rework the ACPI PCI support. This makes ACPI to
correctly pick PCI segment groups, PCI bus numbers, PCI root bridges,
PCI-to-PCI bridges, and PCI devices, among other things. In short: it is
more robust than the old code or anything in sys/arch/x86/x86/mpacpi.c.

ok cegger@, jmcneill@

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 18 14:05:26 2010 UTC (14 years, 7 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
From Gregoire Sutre:

  Modify the main ACPI namespace scan by including a parent-child
  relationship for each node. The result is a bi-directional tree.

ok jmcneill@

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:22 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +211 -0 lines
sync with head

Revision 1.4.2.1
Tue Mar 9 18:15:22 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.4: +0 -211 lines
file acpi_pci.c was added on branch yamt-nfs-mp on 2010-03-11 15:03:22 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 9 18:15:22 2010 UTC (14 years, 9 months ago) by jruoho
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: yamt-nfs-mp, rmind-uvmplock
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +16 -15 lines
Remove the namespace scopes.

These are neither used nor useful beyond the parser and interpreter.

ok jmcneill@, joerg@

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Mar 5 14:00:17 2010 UTC (14 years, 9 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -8 lines
Remove <dev/acpi/acpica.h> from all files. It is included from
<dev/acpi/acpivar.h>. Ditto for <dev/sysmon/sysmonvar.h>, <sys/bus.h>,
<dev/pci/pcivar.h>, and <dev/isa/isavar.h>.

Also nuke a lot of unused and invalid headers. Some of these are audibly
provided by standard headers (namely <sys/param.h> and <sys/device.h>), some
have nothing to do with ACPI devices (e.g. <sys/syslog.h>), and some are
nonexistent local includes (e.g. "mpu_ym.h"). Moreoever, try to group the
includes into their respective blocks.

Tested with GENERIC and ALL (i386). No functional change.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Dec 4 10:42:39 2009 UTC (15 years ago) by njoly
Branches: MAIN
CVS tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix NetBSD keyword expansion.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Dec 3 21:04:29 2009 UTC (15 years ago) by cegger
Branches: MAIN
Enumerate ACPI PCI devices. Allows to link PCI with ACPI devices.
Patch presented on tech-kern@
http://mail-index.netbsd.org/tech-kern/2009/11/28/msg006552.html

'nice work' Jukka Ruohonen

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>