The NetBSD Project

CVS log for src/sys/dev/ic/sti.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:56:42 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +155 -14 lines
Sync with HEAD

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri May 30 19:42:28 2025 UTC (17 months, 2 weeks ago) by tsutsui
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, 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, HEAD
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Fix indent.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri May 30 13:42:33 2025 UTC (17 months, 2 weeks ago) by tsutsui
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +7 -6 lines
Use fixed STI_PGSHIFT to calculate region info stored in the sti(4) ROM.

The length and offset values in the ROM assume 4KB/page.
Now sti(4) works with 8KB/page (PGSHIFT == 13) settings on hp300.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu May 29 17:57:49 2025 UTC (17 months, 2 weeks ago) by tsutsui
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -2 lines
Fix silent panic when STIDEBUG is defined and sti(4) is console.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun May 25 16:41:27 2025 UTC (17 months, 3 weeks ago) by tsutsui
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -4 lines
No need to setup board specific routines for hp300 specific EVRX variants.

They are handled in MD sys/arch/hp300/dev/sti_machdep.c later.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Dec 10 09:13:00 2024 UTC (23 months ago) by macallan
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
un-static the unicode-to-HP Roman8 table so we can use it wlsewhere - whatever
uses it will depend on STI anyway, so no need for multiple copies

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Dec 6 12:41:12 2024 UTC (23 months, 1 week ago) by macallan
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -5 lines
add *very* experimental FB support for Visualize FX 5/10
needs testing

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Dec 6 12:00:48 2024 UTC (23 months, 1 week ago) by macallan
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -4 lines
more Visualize FX stuff:
- magic number reduction
- set VRAM read mode so X now works without shadowfb

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Nov 20 05:23:15 2024 UTC (23 months, 3 weeks ago) by macallan
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +76 -3 lines
add fb / cmap support for Summit family, aka FX2/4/6

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Aug 19 16:09:42 2024 UTC (2 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -4 lines
Whitespace fixes

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Aug 19 10:57:32 2024 UTC (2 years, 2 months ago) by macallan
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +8 -2 lines
add an ioctl() to read a device's graphics ID, mimic HP/UX's GCID
that way an xorg driver can identify which WSDISPLAY_TYPE_STI it's talking to
without having to setup its own STI

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Jul 3 13:08:36 2024 UTC (2 years, 4 months ago) by macallan
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +49 -4 lines
fix HXRC colour map handling
With this we can run X in 8bit with correct colours.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jun 25 11:52:11 2024 UTC (2 years, 4 months ago) by macallan
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +16 -3 lines
first step to HCRX support
this gets us an 8bit framebuffer with wrong colours, as opposed to X just
erroring out

Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 17 16:05:32 2024 UTC (2 years, 8 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +44 -29 lines
Pull up following revision(s) (requested by macallan in ticket #593):

	sys/dev/ic/sti.c: revision 1.32

Make this work properly on PCI Visualize EG:
- use bus_space_*_stream() for all register accesses in order to avoid
  byte order conversion on PCI devices
- when switching to framebuffer mode, request as many text planes as STI allows
- request access to both text and non-text planes in fb mode

With this and the bus_space commit a few days ago I have usable X on my C360
and a PCI Visualize EG.

This needs testing on quite literally everything else.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Feb 13 13:17:51 2024 UTC (2 years, 9 months ago) by macallan
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +8 -2 lines
in sti_screen_setup() don't bother looking for fonts if STI_FBMODE is requested

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Feb 1 06:50:36 2024 UTC (2 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
Trailing whitespace

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Feb 1 02:41:56 2024 UTC (2 years, 9 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
sti.c: fix a typo in a comment

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Jan 31 08:15:00 2024 UTC (2 years, 9 months ago) by macallan
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +44 -29 lines
Make this work properly on PCI Visualize EG:
- use bus_space_*_stream() for all register accesses in order to avoid
  byte order conversion on PCI devices
- when switching to framebuffer mode, request as many text planes as STI allows
- request access to both text and non-text planes in fb mode
With this and the bus_space commit a few days ago I have usable X on my C360
and a PCI Visualize EG.
This needs testing on quite literally everything else.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Merge thorpej-cfargs2.

Revision 1.30.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 20:14:42 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +3 -3 lines
Adapt to CFARGS().

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -3 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:45 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.22.2.1: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +12 -23 lines
Sync with HEAD.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:12 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +4 -3 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Mar 14 08:13:58 2021 UTC (5 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -5 lines
No need to have an MD #ifdef in an MI file, so remove it.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Mar 7 14:31:20 2021 UTC (5 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -11 lines
Remove an '#ifndef hp300' and make STI_{EN,DIS}ABLE_ROM simply check the
sc_{en,disable}_rom methdos provide by the bus attachment glue.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Mar 7 10:02:33 2021 UTC (5 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -8 lines
Use bus_space_mmap in sti_mmap.  This makes X on sti for my B160L nearly
work (the colour map is somewhat wrong), but at least the machine doesn't
wedge.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Mar 4 20:30:39 2021 UTC (5 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -5 lines
Trailing whitespace

Revision 1.22.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.22: preferred, colored
Changes since revision 1.22: +451 -127 lines
Sync w/ HEAD.

Revision 1.19.12.2: download - view: text, markup, annotated - select for diffs
Mon Dec 28 20:10:04 2020 UTC (5 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Diff to: previous 1.19.12.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.12.1: +451 -127 lines
Pull up following revision(s) (requested by tsutsui in ticket #1162):

	sys/dev/ic/stivar.h: revision 1.11
	sys/dev/ic/sti.c: revision 1.23
	sys/dev/ic/sti.c: revision 1.24
	sys/dev/ic/sti.c: revision 1.25
	sys/arch/hp300/dev/sti_sgc.c: revision 1.4

Pull the latest OpenBSD sti(4) changes for bitmap framebuffer support.
- bitmap and colormap ops based on old HP ngle X11 driver:
  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/sti.c#rev1.76
  > Work-in-progress support for non-accelerated X11 on *some* sti(4)
  > frame buffers; based upon the old HP ngle X11 driver.
  > Currently limited to CRX (720/735/750), Timber (710, old 715),
  > Artist (712, 715) and EG (B-series), however the
  > colormap isn't set up correctly on Timber and EG yet.
  >
  > Joint work with Artem Falcon, now in good enough shape to be worked further
  > in the tree.
- misc other cosmetic changes to reduce diffs
No particular comments on port-hp300@ and port-hppa@:
 https://mail-index.netbsd.org/port-hp300/2020/12/19/msg000184.html
 https://mail-index.netbsd.org/port-hp300/2020/12/20/msg000185.html

The MD hp300 attachment for SGC CRX (A1659-66001) will be committed
separately.

Add bitmap access ops support for SGC CRX (A1659-66001) framebuffer.
Also modify existing 425e EVRX attachment to use updated MI sti(4) ops
more efficiently.

The Xorg server and mlterm-wscons (that support wsdisplay bitmap) work
fine on SGC hp425t.

No particular comments on port-hp300@ and port-hppa@:
 https://mail-index.netbsd.org/port-hp300/2020/12/19/msg000184.html
 https://mail-index.netbsd.org/port-hp300/2020/12/20/msg000185.html

Special thanks to Miod Vallat again, for contributing the SGC CRX
framebuffer with the SGC connector and flexible cable for HP9000/425t.

He also contributed DIO-II "Hyperion" monochrome framebuffer and
1 plane grayscale SGC GRX (A1924-66001), and I've confirmed hyper(4)
just works even with Xorg server.  I will try GRX as the next project.

Handle WSSCREEN_REVERSE properly.  Based on OpenBSD's sti(4).

Also remove WSSCREEN_UNDERLINE from capabilities that is not handled
by sti(4) ROM routines.

Tested on HP9000/425t with CRX.

Ignore WSDISPLAYIO_PUTCMAP in WSDISPLAYIO_MODE_EMUL, i.e. text mode.

The hardware palette settings are handled by the STI ROM in STI_TEXTMODE
and changing cmap could cause mangled text colors at least on CRX on 425t.

Updating CMAP in EMUL mode isn't expected anyway.

Fixes "red or invisible text" after exiting mlterm-wscons on A1659 CRX.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Dec 26 08:58:03 2020 UTC (5 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +12 -2 lines
Ignore WSDISPLAYIO_PUTCMAP in WSDISPLAYIO_MODE_EMUL, i.e. text mode.

The hardware palette settings are handled by the STI ROM in STI_TEXTMODE
and changing cmap could cause mangled text colors at least on CRX on 425t.
Updating CMAP in EMUL mode isn't expected anyway.

Fixes "red or invisible text" after exiting mlterm-wscons on A1659 CRX.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Dec 25 20:41:24 2020 UTC (5 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +34 -10 lines
Handle WSSCREEN_REVERSE properly.  Based on OpenBSD's sti(4).

Also remove WSSCREEN_UNDERLINE from capabilities that is not handled
by sti(4) ROM routines.

Tested on HP9000/425t with CRX.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Dec 23 08:34:35 2020 UTC (5 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +409 -119 lines
Pull the latest OpenBSD sti(4) changes for bitmap framebuffer support.

- bitmap and colormap ops based on old HP ngle X11 driver:
  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/sti.c#rev1.76
  > Work-in-progress support for non-accelerated X11 on *some* sti(4)
  > frame buffers; based upon the old HP ngle X11 driver.
  > Currently limited to CRX (720/735/750), Timber (710, old 715),
  > Artist (712, 715) and EG (B-series), however the
  > colormap isn't set up correctly on Timber and EG yet.
  >
  > Joint work with Artem Falcon, now in good enough shape to be worked further
  > in the tree.
- misc other cosmetic changes to reduce diffs

No particular comments on port-hp300@ and port-hppa@:
 https://mail-index.netbsd.org/port-hp300/2020/12/19/msg000184.html
 https://mail-index.netbsd.org/port-hp300/2020/12/20/msg000185.html

The MD hp300 attachment for SGC CRX (A1659-66001) will be committed
separately.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:30:11 2020 UTC (6 years, 2 months ago) by riastradh
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
  to query whether curlwp is the pagedaemon, which should maybe be
  exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
  by it.  We should split up uvm_extern.h but this will serve for now
  to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
  UVMHIST(ubchist), since ubchist is declared in uvm.h but the
  reference evaporates if UVMHIST is not defined, so we reduce header
  file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
  here.

ok chs@

Revision 1.19.12.1: download - view: text, markup, annotated - select for diffs
Mon May 18 17:52:22 2020 UTC (6 years, 6 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-1-RELEASE
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -9 lines
Pull up following revision(s) (requested by tsutsui in ticket #908):

	sys/dev/ic/stivar.h: revision 1.10
	sys/dev/ic/sti.c: revision 1.21
	sys/arch/hp300/dev/sti_sgc.c: revision 1.3

Add bitmap access ops support for EVRX framebuffer on HP9000/425e.

8bpp Xorg wsfb server and mlterm-wscons (formerly mlterm-fb) work.
No particular comment on port-hp300@ and port-hppa@:
 https://mail-index.netbsd.org/port-hp300/2020/05/02/msg000170.html

Special thanks to Miod Vallat, for his advice about HP-UX implementation
and binutils patches to disassemble old HP-UX a.out-hp300hpux binaries
(and also contributing his 425e back in 2014).

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon May 4 06:52:53 2020 UTC (6 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +12 -9 lines
Add bitmap access ops support for EVRX framebuffer on HP9000/425e.

8bpp Xorg wsfb server and mlterm-wscons (formerly mlterm-fb) work.
No particular comment on port-hp300@ and port-hppa@:
 https://mail-index.netbsd.org/port-hp300/2020/05/02/msg000170.html

Special thanks to Miod Vallat, for his advice about HP-UX implementation
and binutils patches to disassemble old HP-UX a.out-hp300hpux binaries
(and also contributing his 425e back in 2014).

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:22 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +6 -23 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:35 2019 UTC (7 years ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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.19: preferred, colored
Changes since revision 1.19: +6 -23 lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.16.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:04 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.16.12.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.12.1: +2 -2 lines
update from HEAD

Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:04 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
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.16.8.2: download - view: text, markup, annotated - select for diffs
Thu Jun 15 06:04:01 2017 UTC (9 years, 5 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.16.8.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.8.1: +4 -4 lines
Pull up following revision(s) (requested by spz in ticket #1456):
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16
	sys/arch/pmax/ibus/pm.c: revision 1.13
	sys/dev/hpc/bivideo.c: revision 1.34
	sys/dev/ic/sti.c: revision 1.19
correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification

Revision 1.16.22.1: download - view: text, markup, annotated - select for diffs
Thu Jun 15 06:02:58 2017 UTC (9 years, 5 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -4 lines
Pull up following revision(s) (requested by spz in ticket #1456):
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16
	sys/arch/pmax/ibus/pm.c: revision 1.13
	sys/dev/hpc/bivideo.c: revision 1.34
	sys/dev/ic/sti.c: revision 1.19
correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification

Revision 1.16.14.1: download - view: text, markup, annotated - select for diffs
Thu Jun 15 06:02:09 2017 UTC (9 years, 5 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -4 lines
Pull up following revision(s) (requested by spz in ticket #1456):
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16
	sys/arch/pmax/ibus/pm.c: revision 1.13
	sys/dev/hpc/bivideo.c: revision 1.34
	sys/dev/ic/sti.c: revision 1.19
correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 15 05:53:00 2017 UTC (9 years, 5 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4 lines
Pull up following revision(s) (requested by spz in ticket #1432):
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16
	sys/arch/pmax/ibus/pm.c: revision 1.13
	sys/dev/hpc/bivideo.c: revision 1.34
	sys/dev/ic/sti.c: revision 1.19
correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification

Revision 1.18.14.1: download - view: text, markup, annotated - select for diffs
Thu Jun 15 05:51:45 2017 UTC (9 years, 5 months ago) by snj
Branches: netbsd-7-1
CVS tags: netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4 lines
Pull up following revision(s) (requested by spz in ticket #1432):
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16
	sys/arch/pmax/ibus/pm.c: revision 1.13
	sys/dev/hpc/bivideo.c: revision 1.34
	sys/dev/ic/sti.c: revision 1.19
correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification

Revision 1.18.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 15 05:50:42 2017 UTC (9 years, 5 months ago) by snj
Branches: netbsd-7-0
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4 lines
Pull up following revision(s) (requested by spz in ticket #1432):
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16
	sys/arch/pmax/ibus/pm.c: revision 1.13
	sys/dev/hpc/bivideo.c: revision 1.34
	sys/dev/ic/sti.c: revision 1.19
correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification

Revision 1.18.20.1: download - view: text, markup, annotated - select for diffs
Thu Jun 15 05:45:17 2017 UTC (9 years, 5 months ago) by snj
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, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -4 lines
Pull up following revision(s) (requested by spz in ticket #39):
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.16
	sys/arch/pmax/ibus/pm.c: revision 1.13
	sys/dev/hpc/bivideo.c: revision 1.34
	sys/dev/ic/sti.c: revision 1.19
correct size checks so they cannot be circumvented by integer overflows
reported by CTurt, thanks for the notification

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jun 13 19:13:55 2017 UTC (9 years, 5 months ago) by spz
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-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, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
correct size checks so they cannot be circumvented by integer overflows

reported by CTurt, thanks for the notification

Revision 1.16.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +42 -10 lines
Rebase to HEAD as of a few days ago.

Revision 1.16.26.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:52 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +42 -10 lines
Rebase.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jun 29 04:08:43 2014 UTC (12 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, 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, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-8-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: nick-nhusb, netbsd-8, netbsd-7-1, netbsd-7-0, netbsd-7
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -10 lines
Export accessops functions to allow overriding them in MD attachment.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:22 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +42 -2 lines
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.16.8.1: download - view: text, markup, annotated - select for diffs
Wed May 21 20:56:36 2014 UTC (12 years, 5 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +42 -2 lines
Pull up following revision(s) (requested by tsutsui in ticket #1058):
	sys/arch/hp300/conf/files.hp300: revision 1.88
	sys/arch/hp300/include/autoconf.h: revision 1.13
	sys/dev/ic/sti.c: revision 1.17
	sys/arch/hp300/dev/frodo.c: revision 1.31
	sys/arch/hp300/conf/GENERIC: revision 1.173
	sys/arch/hp300/hp300/machdep.c: revision 1.229
	sys/arch/hp300/dev/frodo.c: revision 1.32
	sys/arch/hp300/hp300/autoconf.c: revision 1.102
	sys/arch/hp300/dev/frodoreg.h: revision 1.5
	sys/arch/hp300/stand/common/ite_sti.c: revision 1.1
	sys/arch/hp300/stand/common/itevar.h: revision 1.16
	sys/arch/hp300/hp300/autoconf.c: revision 1.105
	sys/arch/hp300/dev/sti_sgcvar.h: revision 1.1
	sys/arch/hp300/stand/common/apci.c: revision 1.12
	sys/arch/hp300/stand/common/apci.c: revision 1.13
	sys/arch/hp300/dev/dnkbd.c: revision 1.6
	sys/arch/hp300/dev/dnkbd.c: revision 1.7
	sys/arch/hp300/stand/inst/version: revision 1.12
	sys/arch/hp300/dev/com_frodo.c: revision 1.9
	sys/arch/hp300/stand/common/ite.c: revision 1.17
	sys/arch/hp300/conf/GENERIC: revision 1.181
	sys/arch/hp300/dev/sti_sgc.c: revision 1.1
	sys/arch/hp300/stand/common/dnkbd.c: revision 1.13
	sys/arch/hp300/dev/sti_sgc.c: revision 1.2
	sys/dev/ic/stivar.h: revision 1.8
	sys/arch/hp300/dev/rtc.c: revision 1.21
	sys/arch/hp300/conf/INSTALL: revision 1.56
	sys/arch/hp300/conf/INSTALL: revision 1.58
	sys/arch/hp300/stand/uboot/version: revision 1.19
	sys/arch/hp300/stand/common/samachdep.h: revision 1.17
	sys/arch/hp300/stand/common/clock.c: revision 1.12
	sys/arch/hp300/dev/mcclock_frodo.c: revision 1.1
	sys/arch/hp300/stand/Makefile.buildboot: revision 1.34
	sys/arch/hp300/conf/files.hp300: revision 1.87
Add sti at sgc framebuffer.
Ported from OpenBSD by kiyohara@.
Fix a botch on switching from apci (and dca) to MI com(4) 10 years ago.
I.e. fix apci device address per FRODO_BASE macro change
in frodoreg.h rev 1.2.  Now bootloader works with serial console
on HP425e (which has only com at frodo).
Thanks to miod@openbsd for providing his 425e.
Add sti(4) at sgc screen console support.  From (the late) OpenBSD/hp300.
Tested on HP9000/425e, which was sent from Miod Vallat and
demonstrated at Open Source unConference 2014 Kagawa.
Check the service switch on 425e to select apci serial console.
Taken from OpenBSD/hp300.  See the following comment for details:
> * Check the service switch. On the 425e, this is a physical
> * switch, unlike other frodo-based machines, so we can use it
> * as a serial vs internal video selector, since the PROM can not
> * be configured for serial console.
Add proper RealTime Clock support for HP9000/425e.
As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.
Tested on HP425e (with mcclock) and HP362 (with old rtc).
Add RTC support for HP9000/425e to bootloader too.
Also put several cleanup:
- make local functions and variables static
- use proper variable types
- some KNF
Note it turns out that extreme slowness of netboot on hp300 is
caused by the too slow access of the traditional RTC chip at intio
(i.e. netboot on 425e is so much faster than others). Oh well.
Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.
The cnattach functions for sti(4) and service switch check method
for 425e in com_frodo.c are taken from OpenBSD.
The strategy how to choose the console device in hp300_cninit() is
quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.
Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.
Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).
XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
     to copy and call ROM functions on the executable memory region, so
     it can be called before UVM and related initializations are complete.
     Probably it's time to consider about MI "deferred consinit()" API
     in init_main.c (or elsewhere) for modern complicated VM system...
Also fix the apci device address in dnkbd.c as apci.c rev 1.12:
http://mail-index.netbsd.org/source-changes/2014/04/10/msg053940.html
Finally dnkbd(4) is confirmed working at least on bootloader.
Thanks again to Miod Vallat.
Make the Apollo Domain keyboard actually work.
Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW)
provided by Miod Vallat.  Mouse support needs more work.
Pull random notes on the Apollo Domain keyboard from ancient PR/3528.
Bump versions to denote recent 425e related changes.
Probe mcclock only on 425e to avoid an extra "not configured" message.
Add and enable sti(4) at sgc in install kernels for 425e.
Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)

Revision 1.16.16.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:38 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +42 -2 lines
sync with head

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Apr 20 04:12:54 2014 UTC (12 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +42 -2 lines
Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.

The cnattach functions for sti(4) and service switch check method
for 425e in com_frodo.c are taken from OpenBSD.
The strategy how to choose the console device in hp300_cninit() is
quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.

Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.

Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).

XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
     to copy and call ROM functions on the executable memory region, so
     it can be called before UVM and related initializations are complete.
     Probably it's time to consider about MI "deferred consinit()" API
     in init_main.c (or elsewhere) for modern complicated VM system...

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jul 11 02:30:49 2011 UTC (15 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-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-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, tls-earlyentropy, rmind-smpnet, netbsd-6-1, netbsd-6-0, netbsd-6
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -4 lines
Fix
    error: new qualifiers in middle of multi-level non-const cast are unsafe
by defining the type correctly thereby avoid the cast.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:55 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -2 lines
Sync with HEAD.

Revision 1.10.4.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:37 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.10.4.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.4.1: +2 -0 lines
sync with head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat May 21 12:02:55 2011 UTC (15 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2 lines
Add a kludge to make this build on hp300.
(anyway bus independent driver should not include bus dependent sti_pci.h)

Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:22 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +798 -340 lines
sync with head

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Nov 24 19:12:08 2010 UTC (15 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -3 lines
Improve debug output.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Nov 9 12:24:48 2010 UTC (16 years ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +794 -338 lines
Update sti(4) from OpenBSD bringing across support for sti @ pci.

Thanks to Adam Hoka for testing.

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:29 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +14 -14 lines
Sync with HEAD.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 1 06:41:50 2010 UTC (16 years ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +14 -14 lines
u_intNN_t -> uintNN_t

Same code before and after.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Oct 31 15:47:53 2010 UTC (16 years ago) by skrll
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
RCSId police.

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:24 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +13 -13 lines
sync with head

Revision 1.9.18.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:24 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +13 -13 lines
Sync with HEAD.

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

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 7 15:34:50 2009 UTC (17 years, 6 months ago) by skrll
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-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +13 -13 lines
device_t/softc split
struct device * -> device_t
struct cfdata * -> cfdata_t
Use aprint*

There are a couple of MI drivers with MD attachments left.

Revision 1.8.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:28 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +9 -9 lines
Sync with HEAD.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 8 12:07:27 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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-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, netbsd-5, 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: yamt-nfs-mp, jym-xensuspend
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -9 lines
use aprint_*_dev and device_xname

Revision 1.7.16.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:12 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3 lines
sync with HEAD

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:05 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +3 -3 lines
sync with head.

Revision 1.7.14.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:02 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.7.20.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:58 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3 lines
Sync with HEAD.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:46 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3 lines
Sync with head.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:02 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: 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, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:16 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +4 -4 lines
sync with head.

Revision 1.6.14.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:46 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +4 -4 lines
Sync with HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:02 2007 UTC (19 years, 8 months ago) by christos
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, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:50:03 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -6 lines
sync with head

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:56 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -6 lines
sync with head.

Revision 1.5.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:25 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -6 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:42 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -6 lines
sync with head.

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:56 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -6 lines
Sync with head.

Revision 1.5.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:24:40 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -6 lines
sync with head.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Apr 12 19:38:23 2006 UTC (20 years, 7 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, 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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -6 lines
Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called.  The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place.  There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:28 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
merge ktrace-lwp.

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:52 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +18 -16 lines
sync with -current

Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:29:52 2005 UTC (21 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.7: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.7: +6 -4 lines
Sync with HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Apr 1 11:59:37 2005 UTC (21 years, 7 months ago) by yamt
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -4 lines
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:04 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +14 -14 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:33 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.6: preferred, colored
Changes since revision 1.1.2.6: +14 -14 lines
Sync with HEAD.

Hi Perry!

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:02 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -14 lines
nuke trailing whitespace

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Wed Feb 9 15:16:28 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.5: preferred, colored
Changes since revision 1.1.2.5: +4 -4 lines
Adapt to branch.

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 25 13:03:14 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -4 lines
convert to new apis.

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:27 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +6 -5 lines
Sync with HEAD.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:28:08 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +2 -2 lines
Fix the sync with head I botched.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Sep 19 23:00:29 2004 UTC (22 years, 2 months ago) by chs
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -5 lines
fix optimized compilation.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:46:00 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:18 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +855 -0 lines
Sync with HEAD

Revision 1.1.2.1
Thu Aug 26 16:48:06 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.1: +0 -855 lines
file sti.c was added on branch ktrace-lwp on 2004-09-03 12:45:18 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Aug 26 16:48:06 2004 UTC (22 years, 2 months ago) by jkunz
Branches: MAIN
Branch point for: ktrace-lwp
Import STI wscons(4) driver from OpenBSD and add new driver for PS/2
keyboard / mouse pots of LASI.

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>