CVS log for src/sys/dev/pci/pci_map.c
Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 3 16:34:58 2021 UTC (5 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +306 -20
lines
Sync w/ HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Dec 29 15:49:45 2020 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
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,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -3
lines
KNF a comment
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Dec 29 15:49:13 2020 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +49 -15
lines
More of the patch that adds support for Enhanced Allocations as seen in
the Cavium ThunderX based GIGABYTE MT30-GS2-00
From thorpej@. Thanks!
(botched the copying of this from a branch previously)
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Dec 29 15:39:59 2020 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +254 -3
lines
Add support for Enhanced Allocations as seen in the Cavium ThunderX based
GIGABYTE MT30-GS2-00
From thorpej@. Thanks!
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Dec 28 12:38:44 2020 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -6
lines
Trailing whitespace
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue May 5 16:58:11 2020 UTC (6 years, 6 months ago) by bouyer
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +37 -4
lines
disable I/O or mem decode before probing BAR size.
Bar size is probed writing 0xffffffff to the BAR and reading back; but while
doing this the decoding address is not guaranteed to be valid and could have
side effect.
Xen PVH enforces disabling decoding before writing to a BAR.
Proposed on tech-kern@, got positive comments
Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:09 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.1: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Dec 2 17:13:13 2019 UTC (6 years, 11 months ago) by riastradh
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,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -20
lines
Leave it entirely up to the driver whether to map prefetchable.
We have only a few drivers that pass BUS_SPACE_MAP_PREFETCHABLE to
pci_mapreg_map -- dev/pci/if_hme_pci.c, dev/pci/igma.c,
dev/pci/radeonfb.c, dev/pci/wcfb.c -- and they all do it for ROM or
framebuffers.
Based on a subthread from macallan@ in the earlier discussion:
https://mail-index.NetBSD.org/tech-kern/2017/03/23/msg021685.html
The thrust is that:
- a driver not asking for prefetchable mappings shouldn't get it
- some devices are correctly used with prefetchable mappings, but for
some reason fail to set the prefetchable bit in the BAR
- nobody could identify any classes of device for which
(a) the driver asks for prefetchable mappings, but
(b) certain matching devices can't actually be used with
prefetchable mappings
This brings pci_mapreg_map in line with what the documentation says;
the documentation never advertised that the prefetchable bit in the
BAR could cause the bus_space mapping to be prefetchable.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Dec 2 08:33:42 2019 UTC (6 years, 11 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +21 -3
lines
Use BUS_SPACE_MAP_PREFETCHABLE only if BAR and driver agree on it.
- A driver that expects prefetchable memory and knows to issue the
needed bus_space_barrier calls can pass BUS_SPACE_MAP_PREFETCHABLE
to indicate a desire to map the memory prefetchable if the BAR
allows it.
(A driver that _really wants_ BUS_SPACE_MAP_PREFETCHABLE even if
the BAR claims _not_ to be prefetchable can use pci_mapreg_info and
bus_space_map explicitly -- this is not different from what we have
today.)
- For a driver that _does not_ expect prefetchable memory, the
appearance of the prefetchable bit in the BAR shouldn't cause it to
use BUS_SPACE_MAP_PREFETCHABLE, because the driver will not issue
the needed bus_space_barrier calls to get sensible results.
Note: `Prefetchable' here, sometimes called `write-combining', means
reads have no side effects, and writes are idempotent, so it is safe
to issue reads out of order and safe to combine writes.
Mappings with BUS_SPACE_MAP_PREFETCHABLE are often more weakly
ordered than normal memory -- e.g., on x86, in WC-type memory
regions, loads can be reordered with loads, stores can be reordered
with stores, which is not possible with any other type of memory
regions.
Discussed on tech-kern a while ago:
https://mail-index.NetBSD.org/tech-kern/2017/03/22/msg021678.html
This is option A, which received the most support. This should help
unconfuse drivers that do not expect prefetchable mappings, like
Yamaguchi-san tripped over recently:
https://mail-index.NetBSD.org/tech-kern/2019/12/02/msg025785.html
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:17 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -7
lines
Sync with HEAD
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Mar 1 05:41:56 2019 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-5-RELEASE,
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
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -7
lines
No functional change:
- u_int* -> uint*
- KNF.
Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 7 15:52:54 2018 UTC (8 years, 5 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +15 -4
lines
Pull up following revision(s) (requested by jakllsch in ticket #832):
sys/dev/pci/pcivar.h: revision 1.112
sys/dev/pci/pci_map.c: revision 1.34,1.35
sys/arch/x86/x86/efi.c: revision 1.15
Enable the appropriate memory or I/O space decode in the PCI
Command/Status Register upon mapping a BAR.
This should fix PR #53286. It's also possible there are other similar
PRs that might be fixed by this.
-
Refine previous change to enable PCI window decoding in Command
Register upon mapping; conditionalize on a global variable, that is set
to true on x86 machines booting under EFI.
For now, initialize the global variable at compile time to false. This
is intended to limit potential problems for other NetBSD ports, should
this changeset be pulled up to netbsd-8.
Related to PR #53286.
Revision 1.33.12.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:06 2018 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +15 -4
lines
Sync with HEAD
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat May 19 17:21:42 2018 UTC (8 years, 6 months ago) by jakllsch
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
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.35: preferred, colored
Changes since revision 1.35: +3 -3
lines
Re-enable PCI window decode enable in PCI Command Register upon
successful pci_mapreg_map().
Loosely related to PR #53286.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat May 19 17:18:57 2018 UTC (8 years, 6 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +13 -12
lines
Refine previous change to enable PCI window decoding in Command
Register upon mapping; conditionalize on a global variable, that is set
to true on x86 machines booting under EFI.
For now, initialize the global variable at compile time to false. This
is intended to limit potential problems for other NetBSD ports, should
this changeset be pulled up to netbsd-8.
Related to PR #53286.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed May 16 19:02:00 2018 UTC (8 years, 6 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +14 -4
lines
Enable the appropriate memory or I/O space decode in the PCI
Command/Status Register upon mapping a BAR.
This should fix PR #53286. It's also possible there are other similar
PRs that might be fixed by this.
Revision 1.29.14.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:08 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.29.14.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.14.1: +18 -25
lines
update from HEAD
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:06 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +10 -10
lines
Sync with HEAD
Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:48 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +10 -10
lines
Sync with HEAD
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:29 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +10 -10
lines
Sync with HEAD
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Mar 17 11:21:45 2017 UTC (9 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-base,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
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-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: pgoyette-compat,
netbsd-8
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -10
lines
Modify some variables to make code more understandable.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:10 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -9
lines
Sync with HEAD
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Fri Jan 23 16:24:55 2015 UTC (11 years, 9 months ago) by martin
Branches: netbsd-5
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -4
lines
Pull up the following changes, requested by msaitoh in ticket #1942:
sys/arch/x86/pci/ichlpcib.c 1.40, 1.45 via patch
sys/dev/ic/i82801lpcreg.h 1.12
sys/dev/pci/pci_map.c 1.32 via patch
- Fix a bug that ichlpcib(4) maps I/O area incorrectly. It might also
fixes ACPI related problem described in PR#48960:
- The LPCIB_PCI_PMBASE and LPCIB_PCI_GPIO register are alike PCI BAR
but not completely compatible with it. It's ok because the
registers' addresses are out of BAR0-BAR5(0x10-0x24) and are
located in the device-dependent header. The PMBASE and GPIO
registers define the base address and the type but not describe
the size. The size is fixed to 128bytes. So use
pci_mapreg_submap().
- Fix the calculation of the map size in pci_mapreg_submap().
- Use '\n' at the end of aprint_error_dev() format strings.
Revision 1.29.10.1: download - view: text, markup, annotated - select for diffs
Fri Jan 16 08:22:25 2015 UTC (11 years, 10 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +5 -9
lines
Pull up following revision(s) (requested by msaitoh in ticket #1229):
sys/arch/x86/pci/ichlpcib.c: revision 1.40, 1.45
sys/dev/pci/pcivar.h: revision 1.101
sys/dev/pci/pci_map.c: revision 1.32
sys/dev/ic/i82801lpcreg.h: revision 1.12
Use '\n' at the end of all aprint_error_dev() format strings.
--
Fix a bug that ichlpcib(4) maps I/O area incorrectly and then fails to attach
gpio. It might also fixes ACPI related problem described in PR#48960:
- The LPCIB_PCI_PMBASE and LPCIB_PCI_GPIO register are alike PCI BAR but not
completely compatible with it. It's ok because the registers' addresses are
out of BAR0-BAR5(0x10-0x24) and are located in the device-dependent header.
The PMBASE and GPIO registers define the base address and the type but not
describe the size. The size is fixed to 128bytes. So use
pci_mapreg_submap().
- Make pci_mapreg_submap() extern again.
- Fix the calculation of the map size in pci_mapreg_submap().
Revision 1.30.12.2: download - view: text, markup, annotated - select for diffs
Thu Jan 8 11:39:37 2015 UTC (11 years, 10 months ago) by martin
Branches: 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
Diff to: previous 1.30.12.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.12.1: +5 -9
lines
Pull up following revision(s) (requested by msaitoh in ticket #394):
sys/dev/pci/pcivar.h: revision 1.101
sys/dev/pci/pci_map.c: revision 1.32
sys/dev/ic/i82801lpcreg.h: revision 1.12
sys/arch/x86/pci/ichlpcib.c: revision 1.45
Fix a bug that ichlpcib(4) maps I/O area incorrectly and then fails to attach
gpio. It might also fix ACPI related problem described in PR#48960:
- The LPCIB_PCI_PMBASE and LPCIB_PCI_GPIO register are alike PCI BAR but not
completely compatible with it. It's ok because the registers' addresses are
out of BAR0-BAR5(0x10-0x24) and are located in the device-dependent header.
The PMBASE and GPIO registers define the base address and the type but not
describe the size. The size is fixed to 128bytes. So use
pci_mapreg_submap().
- Make pci_mapreg_submap() extern again.
- Fix the calculation of the map size in pci_mapreg_submap().
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Dec 26 05:09:03 2014 UTC (11 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
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,
nick-nhusb-base-20150406,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -9
lines
Fix a bug that ichlpcib(4) maps I/O area incorrectly and then fails to attach
gpio. It might also fix ACPI related problem described in PR#48960:
- The LPCIB_PCI_PMBASE and LPCIB_PCI_GPIO register are alike PCI BAR but not
completely compatible with it. It's ok because the registers' addresses are
out of BAR0-BAR5(0x10-0x24) and are located in the device-dependent header.
The PMBASE and GPIO registers define the base address and the type but not
describe the size. The size is fixed to 128bytes. So use
pci_mapreg_submap().
- Make pci_mapreg_submap() extern again.
- Fix the calculation of the map size in pci_mapreg_submap().
Revision 1.30.12.1: download - view: text, markup, annotated - select for diffs
Fri Oct 17 07:14:32 2014 UTC (12 years, 1 month ago) by martin
Branches: netbsd-7
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +9 -12
lines
Pull up following revision(s) (requested by riastradh in ticket #144):
sys/dev/pci/radeonfb.c: revision 1.85
sys/dev/pci/pcivar.h: revision 1.100
sys/dev/pci/pci_map.c: revision 1.31
sys/external/bsd/drm2/include/linux/pci.h: revision 1.9
Generalize pci_find_rom and use it to locate x86 video ROM in drm2.
- Make pci_find_rom take the ROM `BAR' size as a parameter, instead
of using pci_find_mem with the ROM `BAR' to detect the size.
- Use it to find the x86 video ROM in [0xc0000, 0xe0000) in drm2,
when nothing else reports that location.
- Adapt the one other caller in radeonfb, which already has the
maximum ROM size handy (romsz).
XXX pullup to netbsd-7
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Oct 16 12:31:23 2014 UTC (12 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +9 -12
lines
Generalize pci_find_rom and use it to locate x86 video ROM in drm2.
- Make pci_find_rom take the ROM `BAR' size as a parameter, instead
of using pci_find_mem with the ROM `BAR' to detect the size.
- Use it to find the x86 video ROM in [0xc0000, 0xe0000) in drm2,
when nothing else reports that location.
- Adapt the one other caller in radeonfb, which already has the
maximum ROM size handy (romsz).
XXX pullup to netbsd-7
Revision 1.29.14.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:20 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -6
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:37 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +9 -6
lines
sync with head
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:03:38 2012 UTC (14 years ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
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,
netbsd-7-base,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: netbsd-7
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -6
lines
Only probe the upper BAR of a mem64 BAR if bit 31 is readonly
Revision 1.24.12.1: download - view: text, markup, annotated - select for diffs
Tue Jan 3 18:26:25 2012 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +9 -6
lines
Only probe the upper BAR of a mem64 if the bit31 of the lower BAR isn't
writable.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:17 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +12 -8
lines
Sync with HEAD.
Revision 1.24.16.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:42 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.24.16.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.16.2: +2 -2
lines
sync with head
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue May 17 17:34:54 2011 UTC (15 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
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.24.16.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:52 2011 UTC (15 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.24.16.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.16.1: +10 -6
lines
sync with head
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Apr 4 20:37:56 2011 UTC (15 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -6
lines
Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.
For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:
Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.
siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.
slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.
viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.
While I'm here, make pci_mapreg_submap() static.
With these changes in place, I have tested the compilation of these
kernels:
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
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
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC
As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:
### evbmips-el GDIUM
nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop
### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'
### ia64 GENERIC
/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type
### sgimips GENERIC32_IP3x
crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Feb 27 18:01:28 2011 UTC (15 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -0
lines
revert previous; instead of commenting out the error message how about fixing
the code that causes it to be printed in the first place
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Feb 27 17:31:08 2011 UTC (15 years, 8 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3
lines
Remove the following aprint_debug(9): "pci_mem_find: void region". I have
a system where this is printed about a hundred times. No functional change.
Revision 1.24.14.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:27 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +38 -38
lines
Sync with HEAD.
Revision 1.22.18.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:51 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.22.18.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.18.2: +38 -38
lines
sync with head.
Revision 1.24.16.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:36 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +38 -38
lines
sync with head
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue May 11 16:49:35 2010 UTC (16 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +38 -38
lines
Cosmetic: remove superfluous parentheses from return statements. Don't
test truth of pointers, or compare with 0, but compare with NULL,
instead.
The compiler generated the same assembly language before & after this
change.
Revision 1.22.18.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:59 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.22.18.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.18.1: +23 -4
lines
sync with head.
Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:39 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +23 -4
lines
Sync with HEAD.
Revision 1.22.14.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:27 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.22.14.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.14.1: +21 -2
lines
Sync with HEAD.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:07 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +23 -4
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 28 14:37:27 2008 UTC (18 years, 3 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +23 -4
lines
Sync with head.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jul 22 04:52:19 2008 UTC (18 years, 3 months ago) by bjs
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
uebayasi-xip-base1,
uebayasi-xip-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
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,
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-premerge-20091211,
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-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: uebayasi-xip,
rmind-uvmplock,
netbsd-5,
matt-nb5-mips64
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +23 -4
lines
Add pci_mapreg_submap(): This function is pci_mapreg_map() with two
additional arguments, offset and maxsize. This new functionality
eases handling certain tasks within the direct rendering manager, though
I hope others will also find it useful.
pci_mapreg_map() is now merely a wrapper around pci_mapreg_submap();
the latter contains all of the code from the former.
ok christos@
Revision 1.18.14.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:24 2008 UTC (18 years, 5 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +6 -3
lines
Sync with netbsd-4.
Revision 1.22.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:42 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -9
lines
Sync with HEAD.
Revision 1.22.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:21 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +2 -9
lines
sync with head.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Sat May 17 16:16:09 2008 UTC (18 years, 6 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +6 -3
lines
Pull up following revision(s) (requested by sborrill in ticket #1142):
sys/dev/pci/pci_map.c: revision 1.21
allow pci_find_mem to map a 64-bit BAR.
Revision 1.22.18.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:44 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -9
lines
sync with head.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:55 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl,
haad-dm
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.20.10.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:55 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +7 -4
lines
sync with HEAD
Revision 1.20.16.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:45 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +7 -4
lines
Sync with HEAD.
Revision 1.13.4.3: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:30:28 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.4.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.2: +7 -4
lines
sync with head
Revision 1.20.8.3: download - view: text, markup, annotated - select for diffs
Sat Dec 1 06:06:06 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.20.8.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.8.2: +3 -3
lines
Sync with HEAD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Dec 1 06:05:18 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
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,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
aprintify
Revision 1.20.14.1: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:19:36 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +6 -3
lines
Sync with HEAD
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Nov 20 22:48:49 2007 UTC (19 years ago) by joerg
Branches: MAIN
CVS tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -3
lines
Merge from jmcneill-pm: XXX allow pci_find_mem to map a 64-bit BAR.
Revision 1.20.8.2: download - view: text, markup, annotated - select for diffs
Tue Nov 20 22:46:45 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.20.8.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.8.1: +3 -3
lines
Change the XXX to actually explain what it is doing.
Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:37:16 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.4.1: +4 -4
lines
sync with head.
Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Mon Aug 27 03:15:05 2007 UTC (19 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -3
lines
XXX allow pci_find_mem to map a 64-bit BAR, needs revisiting.
Revision 1.18.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:07:55 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4
lines
Sync with head.
Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:26 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4
lines
sync with head.
Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:24:26 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4
lines
Sync with head.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Apr 10 00:11:21 2007 UTC (19 years, 7 months ago) by macallan
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup
Branch point for: mjf-devfs,
matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
turn the other 'void region' message into aprint_debug() as well
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Apr 10 00:05:16 2007 UTC (19 years, 7 months ago) by macallan
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
demote 'pci_io_find: void region' to aprint_debug()
Revision 1.16.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:45 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.16.16.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.16.1: +3 -3
lines
sync with head.
Revision 1.16.14.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:31 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -2
lines
Sync with head.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:09 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-base-1,
reinoud-bufcleanup,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
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,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
wrstuden-fixsa,
vmlocking,
netbsd-4,
mjf-ufs-trans
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.16.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:18 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
sync with head
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:32 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:18 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +121 -15
lines
sync with head
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:05:06 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +121 -15
lines
sync with head.
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:15 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +121 -15
lines
Sync with head.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 1 18:53:39 2006 UTC (20 years, 8 months ago) by gdamore
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +87 -2
lines
Add pci_find_rom() API as discussed on tech-kern.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:21 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +36 -15
lines
sync with head.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Feb 27 16:11:58 2006 UTC (20 years, 8 months ago) by gdamore
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +36 -15
lines
Add PCI_MAPREG_TYPE_ROM and allow it to be used with pci_mapreg_map().
Fix to configure (but do not enable) BARs for expansion ROMs.
Reviewed by briggs@
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:50 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
merge ktrace-lwp.
Revision 1.12.14.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:07 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -3
lines
sync with -current
Revision 1.12.16.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:12 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -3
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:45:22 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -3
lines
Sync with HEAD.
Hi Perry!
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:33 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-km-base4,
yamt-km-base3,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
netbsd-3-base,
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-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
ktrace-lwp-base,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
nuke trailing whitespace
Revision 1.10.10.1: download - view: text, markup, annotated - select for diffs
Fri Oct 10 18:00:59 2003 UTC (23 years, 1 month ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +3 -2
lines
Pull up revision 1.11 (requested by kleink in ticket #1513):
When testing for a void region, use PCI_MAPREG_MEM_SIZE() for 32bit memaddr.
If the 32bit mask read is 0, wmask will be 0xffffffff00000000, and
PCI_MAPREG_MEM64_SIZE() won't make this 0.
Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:47:52 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.1: +31 -10
lines
catch up with -current on kqueue branch
Revision 1.10.8.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:33:41 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.10.8.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.8.1: +29 -9
lines
catch up with -current.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:45:39 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +31 -10
lines
Catch up to -current.
Revision 1.10.8.1: download - view: text, markup, annotated - select for diffs
Thu May 30 14:46:13 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
Catch up with -current.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu May 30 12:06:43 2002 UTC (24 years, 5 months ago) by drochner
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-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,
nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
fvdl_fs64_base
Branch point for: yamt-km,
ktrace-lwp,
kent-audio2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +29 -9
lines
implement a check whether a BAR is present at all at a given configuration
space address and use it where the mappings of the VGA card are registered
before descenting too deep into "memory" type specific code
(pci_mem_find() gets noisy if it doesn't like the register)
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed May 29 14:57:36 2002 UTC (24 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
When testing for a void region, use PCI_MAPREG_MEM_SIZE() for 32bit memaddr.
If the 32bit mask read is 0, wmask will be 0xffffffff00000000, and
PCI_MAPREG_MEM64_SIZE() won't make this 0.
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:56:54 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:23 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -1
lines
Catch up to -current.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:48:47 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -1
lines
add RCSID
Revision 1.5.12.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:12:33 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.5.12.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.12.1: +11 -42
lines
Sync with HEAD.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Nov 29 18:22:17 2000 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: nathanw_sa,
kqueue
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +11 -42
lines
ANSI'ify.
Revision 1.5.12.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:30 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +83 -17
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 28 17:43:42 2000 UTC (26 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +19 -3
lines
Pull up rev. 1.8:
Don't check for a BAR address past PCI_MAPREG_END; some devices
have BARs way out in left field.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 28 17:32:48 2000 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +19 -3
lines
Don't check for a BAR address past PCI_MAPREG_END; some devices
have BARs way out in left field.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed May 10 16:58:42 2000 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +63 -13
lines
Add support for mapping 64-bit PCI memory space. If the region
is mapped in a way that is inaccessible by a 32-bit bus_addr_t, then
print a message to that effect and return failure.
Original patches by Bill Studenmund, with a few small changes by me.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 25 22:30:04 2000 UTC (26 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 15 10:10:54 1998 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kenh-if-detach-base,
kenh-if-detach,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base,
chs-ubc2,
chs-ubc-base,
chs-ubc
Branch point for: thorpej_scsipi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +23 -16
lines
Assign my copyrights to TNF.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Oct 6 21:01:24 1997 UTC (29 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-base,
eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -7
lines
Back out last change. (Partially my fault, for not reviewing it close
enough.)
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 3 18:45:39 1997 UTC (29 years, 1 month ago) by lonhyn
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -9
lines
pci_mapreg_info() has been changed to take arguments like pci_mapreg_map()
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 29 07:21:06 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +11 -1
lines
Update marc-pcmcia branch from trunk.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 23 23:08:47 1997 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +11 -1
lines
If the region size turns out to be 0, return an error. This is what will
happen if we try to use a mapping register that's not actually defined.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 1 20:29:44 1997 UTC (29 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +227 -0
lines
Update marc-pcmcia branch from trunk.
Revision 1.1.2.1
Sat Aug 30 06:46:58 1997 UTC (29 years, 2 months ago) by thorpej
Branches: marc-pcmcia
FILE REMOVED
Changes since revision 1.1: +0 -227
lines
file pci_map.c was added on branch marc-pcmcia on 1997-09-01 20:29:44 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 30 06:46:58 1997 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal
Branch point for: marc-pcmcia
* Rewrite pci_io_find() and pci_mem_find() using my original pci_map_io() and
pci_map_mem(), with appropriate changes for bus_space.
* Add extra arguments for use by pci_mapreg_*(), and make the functions
static.
* Rewrite pci_mapreg_info() and pci_mapreg_map() as wrappers around
pci_*_find(), using the documented interface.
CVSweb <webmaster@jp.NetBSD.org>