The NetBSD Project

CVS log for src/sys/arch/sparc64/dev/ffb.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.68 / (download) - annotate - [select for diffs], Wed Dec 20 05:33:58 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.67: +2 -3 lines
Diff to previous 1.67 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:05 2021 UTC (2 years, 8 months ago) by thorpej
Branch: 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-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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Merge thorpej-cfargs2.

Revision 1.66.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:57:07 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Adapt to CFARGS().

Revision 1.66 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:49 2021 UTC (2 years, 11 months ago) by thorpej
Branch: 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
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

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.65.4.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:07 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

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.65 / (download) - annotate - [select for diffs], Sun Jul 5 09:55:07 2020 UTC (3 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Adapt to proplib api changes

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:54 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.62.2.1: +3 -20 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Merge changes from current as of 20200406

Revision 1.64 / (download) - annotate - [select for diffs], Sun Dec 22 23:23:31 2019 UTC (4 years, 3 months ago) by thorpej
Branch: 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
Changes since 1.63: +3 -20 lines
Diff to previous 1.63 (colored)

Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus().  "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.

Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:47 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Sync with HEAD

Revision 1.61.8.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:42 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.61.8.1: +3 -3 lines
Diff to previous 1.61.8.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.63 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:27 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.61.8.1 / (download) - annotate - [select for diffs], Fri Mar 30 06:20:12 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Resolve conflicts between branch and HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Mon Mar 26 10:31:10 2018 UTC (6 years ago) by jdc
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Branch point for: phil-wifi
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Correct a typo in the openprom variable name.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:44 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.52.2.1: +84 -44 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

update from HEAD

Revision 1.55.6.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:53 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55.6.3: +55 -20 lines
Diff to previous 1.55.6.3 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Fri May 19 19:25:53 2017 UTC (6 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: pgoyette-compat
Changes since 1.60: +9 -8 lines
Diff to previous 1.60 (colored)

enable font loading / screen resizing

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Tue May 2 03:19:17 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.59: +47 -16 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD - tag prg-localcount2-base1

Revision 1.60 / (download) - annotate - [select for diffs], Thu Apr 27 23:17:21 2017 UTC (6 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1
Changes since 1.59: +47 -16 lines
Diff to previous 1.59 (colored)

- don't blindly copy attribute bits which we don't support or which make no
  sense in the attribute buffer
- support WSATTR_UNDERLINE
- remove unused function

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:07 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.57.2.1: +6 -3 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Sat Apr 22 15:07:49 2017 UTC (6 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: prg-localcount2-base, pgoyette-localcount-20170426
Branch point for: prg-localcount2
Changes since 1.58: +6 -3 lines
Diff to previous 1.58 (colored)

- set RI_FULLCLEAR
- clear RI_CURSOR when we clear the screen
no more garbage when switching screens
while there set RI_PREFER_ALPHA

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:26 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.57: +24 -22 lines
Diff to previous 1.57 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.55.6.3 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:58 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55.6.2: +24 -22 lines
Diff to previous 1.55.6.2 (colored) to branchpoint 1.55 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Fri Nov 4 16:35:32 2016 UTC (7 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.57: +24 -22 lines
Diff to previous 1.57 (colored)

mmap() memory-ish regions with BUS_SPACE_MAP_PREFETCHABLE

Revision 1.55.6.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:24:57 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55.6.1: +6 -6 lines
Diff to previous 1.55.6.1 (colored) to branchpoint 1.55 (colored)

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:38 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.56: +6 -6 lines
Diff to previous 1.56 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:52 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55: +7 -4 lines
Diff to previous 1.55 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 11 22:27:17 2015 UTC (8 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.55: +7 -4 lines
Diff to previous 1.55 (colored)

- initialize sc_bg_cache and FFB_FBC_BG along with everything else so things
  get redrawn properly when exiting X
- fix off by one in ffb_ras_erasecols(), no more artifacts when the screen
  is redrawn

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:25 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.52: +14 -9 lines
Diff to previous 1.52 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:09 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.48.2.2: +14 -9 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync with head.

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

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

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:26 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.52.4.1: +11 -7 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 9 17:21:39 2013 UTC (10 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.54: +10 -2 lines
Diff to previous 1.54 (colored)

support WSDISPLAYIO_GET_FBINFO

Revision 1.54 / (download) - annotate - [select for diffs], Thu Sep 12 19:57:43 2013 UTC (10 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.53: +3 -7 lines
Diff to previous 1.53 (colored)

Remove unused variable

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:22 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.52: +5 -4 lines
Diff to previous 1.52 (colored)

sync with head

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jul 30 19:16:50 2013 UTC (10 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.52: +5 -4 lines
Diff to previous 1.52 (colored)

avoid uninitialized use of defattr

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:23 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.48.2.1: +155 -123 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Thu Aug 9 00:48:06 2012 UTC (11 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.51: +155 -123 lines
Diff to previous 1.51 (colored)

split ffb_putchar() into a version for mono fonts and one for anti-aliased
ones. While there use the blitter to draw the cursor and remove some waits
that are unnecessary now that characters are drawn by hardware.

Revision 1.48.6.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:42 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.48.6.1: +10 -2 lines
Diff to previous 1.48.6.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync to latest -current.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:55 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.48: +115 -28 lines
Diff to previous 1.48 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Thu Apr 12 19:09:18 2012 UTC (12 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Changes since 1.50: +10 -2 lines
Diff to previous 1.50 (colored)

don't assume that wscons assumes BGR ordering and request it explicitly

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:15 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.48: +107 -28 lines
Diff to previous 1.48 (colored)

merge to -current.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jan 11 15:53:32 2012 UTC (12 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

use rasops_init(0, 0)

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 22 05:08:05 2011 UTC (12 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.48: +106 -27 lines
Diff to previous 1.48 (colored)

support anti-aliased fonts and let the hardware do the alpha blending

Revision 1.48 / (download) - annotate - [select for diffs], Mon Oct 31 08:28:46 2011 UTC (12 years, 5 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.47: +16 -3 lines
Diff to previous 1.47 (colored)

Add support for the WSDISPLAYIO_GET_EDID ioctl (requires passing a device_t
to ffb_attach).

Revision 1.47 / (download) - annotate - [select for diffs], Sun Oct 23 06:06:24 2011 UTC (12 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.46: +12 -23 lines
Diff to previous 1.46 (colored)

Correct the VSYNC-related register definitions and rework how they are used
(only when the monitor supports composite sync).  OK macallan@.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 18 12:53:25 2011 UTC (12 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

shut up some debug output accidentially left in

Revision 1.45 / (download) - annotate - [select for diffs], Tue Aug 16 12:59:01 2011 UTC (12 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.44: +30 -12 lines
Diff to previous 1.44 (colored)

use appropriate WID and FBC for high resolution mode
Tested with a 1680x1050 TFT on an ffb2+

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 1 18:48:36 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:41 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.42: +18 -15 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.37.4.4 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:08 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.3: +16 -13 lines
Diff to previous 1.37.4.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:49 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.38: +527 -34 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 3 03:20:39 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.42: +18 -15 lines
Diff to previous 1.42 (colored)

CFATTACH_DECL_NEW

Revision 1.37.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:18 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.2: +3 -8 lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Thu May 19 04:43:45 2011 UTC (12 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.41: +2 -7 lines
Diff to previous 1.41 (colored)

remove obsolete comment - putchar() does in fact use the blitter now

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 9 09:06:28 2011 UTC (12 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored)

Alter the sync-on-green and composite-sync settings:

  if the monitor doesn't support composite sync, enable sync-on-green

  then, if the monitor supports separate sync, disable composite vsync

(Prompted by macallan@.)

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:26 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.4.1: +512 -17 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Wed Apr 20 09:57:59 2011 UTC (12 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.39: +2 -7 lines
Diff to previous 1.39 (colored)

Remove some leftovers

Revision 1.39 / (download) - annotate - [select for diffs], Sat Apr 9 19:31:15 2011 UTC (13 years ago) by jdc
Branch: MAIN
Changes since 1.38: +519 -19 lines
Diff to previous 1.38 (colored)

Add EDID and video mode setting support to FFB.

Add definitions for registers related to video modes, and to DDC.  Rename
other registers to be more descriptive.
Add i2c bus routines to read the EDID data via DDC.
Add routines to calculate, and to set, the video mode.

Note, that interlaced and stereo video modes are not supported.

Thanks to Michael Lorenz and Jared McNeill for advice and encouragement,
and to Martin Husemann for testing.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:05 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37: +97 -30 lines
Diff to previous 1.37 (colored)

sync with head

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:34 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.37: +97 -30 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD (-D20101022).

Revision 1.33.4.3 / (download) - annotate - [select for diffs], Sat Oct 9 03:31:54 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.4.2: +97 -30 lines
Diff to previous 1.33.4.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 21 03:31:04 2010 UTC (13 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.37: +97 -30 lines
Diff to previous 1.37 (colored)

* implement hw acceleration for putchar()
* use VCONS for copycols()
* don't map the framebuffer now that we don't access it anymore
* make a bunch of drawing engine syncs optional

Revision 1.35.4.1.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:48 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.35.4.1: +2 -2 lines
Diff to previous 1.35.4.1 (colored) next main 1.35.4.2 (colored)

sync to netbsd-5

Revision 1.35.4.3 / (download) - annotate - [select for diffs], Sun Oct 18 14:39:37 2009 UTC (14 years, 5 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.35.4.2: +4 -4 lines
Diff to previous 1.35.4.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

back out ticket 972

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Sun Oct 18 13:45:50 2009 UTC (14 years, 5 months ago) by bouyer
Branch: netbsd-5
Changes since 1.35.4.1: +5 -5 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored)

Pull up following revision(s) (requested by macallan in ticket #972):
	sys/arch/sparc64/dev/ffb.c: revision 1.37
call vcons_replay_msgbuf() when appropriate

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:43 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.4.1: +5 -5 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Thu Aug 20 02:50:46 2009 UTC (14 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

call vcons_replay_msgbuf() when appropriate

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

sync with head.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Wed Feb 25 20:52:09 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.35: +11 -4 lines
Diff to previous 1.35 (colored)

Pull up following revision(s) (requested by macallan in ticket #515):
	sys/arch/sparc64/dev/ffb.c: revision 1.36
make this work right with WSDISPLAY_SCROLLSUPPORT

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:47 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.35: +11 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.32.40.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:31 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.40.3: +9 -2 lines
Diff to previous 1.32.40.3 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:29 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.34.2.1: +11 -4 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Nov 16 05:10:46 2008 UTC (15 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.35: +11 -4 lines
Diff to previous 1.35 (colored)

make this work right with WSDISPLAY_SCROLLSUPPORT

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:00 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Sync with HEAD.

Revision 1.32.40.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:08 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.40.2: +1 -1 lines
Diff to previous 1.32.40.2 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.33.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:34 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.33.6.1: +3 -3 lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 28 19:17:55 2008 UTC (15 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

use device_private() to get the softc

Revision 1.32.40.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:00 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32.40.1: +5 -6 lines
Diff to previous 1.32.40.1 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:43 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.33: +7 -8 lines
Diff to previous 1.33 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:49 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.33: +7 -8 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:13 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.33: +7 -8 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 13 13:10:49 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.33: +7 -8 lines
Diff to previous 1.33 (colored)

use device_lookup_private to get softc

Revision 1.32.40.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:42 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.32: +7 -7 lines
Diff to previous 1.32 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Apr 5 13:40:05 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.32: +7 -7 lines
Diff to previous 1.32 (colored)

use aprint_*_dev and device_xname
OK martin

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:14 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.2.2: +5 -5 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:46 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:48 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:02 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.2.1: +259 -444 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

sync with head.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:32 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.29: +258 -441 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:11 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Sun Oct 15 19:55:32 2006 UTC (17 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)

Missing initializer

Revision 1.30 / (download) - annotate - [select for diffs], Thu Sep 14 16:05:18 2006 UTC (17 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base
Branch point for: yamt-splraiseipl
Changes since 1.29: +256 -440 lines
Diff to previous 1.29 (colored)

Vcons-ify the ffb driver, from macallan.
Also adds some redrawing when entering DDB.

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:18 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22.2.4: +4 -8 lines
Diff to previous 1.22.2.4 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.8.10.11 / (download) - annotate - [select for diffs], Tue Sep 12 09:51:40 2006 UTC (17 years, 7 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.8.10.10: +3 -3 lines
Diff to previous 1.8.10.10 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Pull up following revision(s) (requested by martin in ticket #1507):
	sys/arch/sparc64/dev/zs.c: revision 1.61
	sys/arch/sparc64/dev/ffb.c: revision 1.28
Fix wrong prom_getoption() return value checks

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:36 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.21: +18 -22 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Thu Sep 7 08:39:37 2006 UTC (17 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.28: +4 -8 lines
Diff to previous 1.28 (colored)

Remove accidently commited debug printf when unblanking, and actually
do the unblank instead.

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:32 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22.2.3: +3 -3 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon Aug 21 12:32:00 2006 UTC (17 years, 7 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pull up following revision(s) (requested by martin in ticket #34):
	sys/arch/sparc64/dev/zs.c: revision 1.61
	sys/arch/sparc64/dev/ffb.c: revision 1.28
Fix wrong prom_getoption() return value checks

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 18 11:17:25 2006 UTC (17 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Fix wrong prom_getoption() return value checks

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:00 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22.2.2: +5 -3 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

sync with head

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:04 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Merge from HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 4 18:14:44 2006 UTC (17 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored)

Initialize the "console screen" once - no matter if we are console or
not.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:40 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19: +15 -17 lines
Diff to previous 1.19 (colored)

sync with head.

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:48:23 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.22.6.1: +5 -7 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:57:14 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22.2.1: +7 -9 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

sync with head.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:59 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.21: +12 -14 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:45 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.22: +9 -11 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head - hopefully this will work

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 15 17:48:23 2006 UTC (18 years ago) by jmmv
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.25: +2 -4 lines
Diff to previous 1.25 (colored)

Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@.  These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@.  No objections in tech-kern@.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 12 20:22:00 2006 UTC (18 years ago) by macallan
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

make this compile again

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 12 19:38:23 2006 UTC (18 years ago) by jmmv
Branch: MAIN
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored)

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.22.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:30 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:10 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:47 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Use device_cfdata().

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:48 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 13 21:47:11 2006 UTC (18 years, 2 months ago) by cdi
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

ANSIfy: u_intN_t -> uintN_t, remove __P(), fix function definitions.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 12 02:44:31 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.20: +8 -8 lines
Diff to previous 1.20 (colored)

more proc -> lwp conversions.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:09 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

merge ktrace-lwp.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:17 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +727 -204 lines
Diff to previous 1.2.2.1 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 4 22:18:37 2005 UTC (18 years, 9 months ago) by jdc
Branch: 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
Branch point for: yamt-lazymbuf
Changes since 1.18: +8 -5 lines
Diff to previous 1.18 (colored)

Only set up the console screen on the console ffb.
Fixes bug where ttyE0 ends up on the 2nd ffb.
Based on dev/sun/cgsix.c:r1.27 (from macallan@).

Revision 1.8.10.10 / (download) - annotate - [select for diffs], Tue Jun 7 18:05:12 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RC2, netbsd-3-1-RC1, 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
Changes since 1.8.10.9: +8 -5 lines
Diff to previous 1.8.10.9 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.18 (requested by martin in ticket #376):
fixed a stupid typo that chained copycols to itself

Revision 1.8.10.9 / (download) - annotate - [select for diffs], Tue Jun 7 18:04:39 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.8: +6 -2 lines
Diff to previous 1.8.10.8 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.17 (requested by martin in ticket #376):
added missing ffb_ras_wait()

Revision 1.8.10.8 / (download) - annotate - [select for diffs], Tue Jun 7 18:03:55 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.7: +532 -164 lines
Diff to previous 1.8.10.7 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.16 (requested by martin in ticket #376):
added support for virtual consoles

Revision 1.8.10.7 / (download) - annotate - [select for diffs], Tue Jun 7 18:01:33 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.6: +3 -3 lines
Diff to previous 1.8.10.6 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.15 (requested by martin in ticket #376):
- sprinkle const
- avoid variable shadow

Revision 1.8.10.6 / (download) - annotate - [select for diffs], Tue Jun 7 17:50:26 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.5: +33 -13 lines
Diff to previous 1.8.10.5 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.14 (requested by martin in ticket #376):
fixed a bug in ffbfb_mmap to make XFree's sunffb driver work, added another
special case region for afbinit

Revision 1.8.10.5 / (download) - annotate - [select for diffs], Tue Jun 7 17:49:52 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.4: +4 -6 lines
Diff to previous 1.8.10.4 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.13 (requested by martin in ticket #376):
Just ignore (and don't fail) FBIO{S,G}CURSOR.

Revision 1.8.10.4 / (download) - annotate - [select for diffs], Tue Jun 7 17:28:24 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.3: +5 -2 lines
Diff to previous 1.8.10.3 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.12 (requested by martin in ticket #376):
Fill in fb_depth, fb_width, and fb_height in the fb_type info.  XFree86 works
better now.

Revision 1.8.10.3 / (download) - annotate - [select for diffs], Tue Jun 7 17:27:16 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.2: +183 -27 lines
Diff to previous 1.8.10.2 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.11 (requested by martin in ticket #376):
Make ffb take part in the /dev/fbN circus.

Revision 1.8.10.2 / (download) - annotate - [select for diffs], Tue Jun 7 17:25:55 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8.10.1: +17 -50 lines
Diff to previous 1.8.10.1 (colored) to branchpoint 1.8 (colored)

Pull up revision 1.10 (requested by martin in ticket #376):
Use ansi function header style consistently.

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Tue Jun 7 17:25:19 2005 UTC (18 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Pull up revision 1.9 (requested by martin in ticket #376):
Avoid returning -1 from ffb_ioctl() - we want EPASSTHROUGH or EIO.

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 31 17:33:02 2005 UTC (18 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.17: +8 -5 lines
Diff to previous 1.17 (colored)

fixed a stupid typo that chained copycols to itself

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 31 14:36:17 2005 UTC (18 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

added missing ffb_ras_wait()

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 31 02:48:37 2005 UTC (18 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.15: +532 -164 lines
Diff to previous 1.15 (colored)

added support for virtual consoles

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 31 00:50:28 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

- sprinkle const
- avoid variable shadow

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 27 22:50:43 2005 UTC (18 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.13: +33 -13 lines
Diff to previous 1.13 (colored)

fixed a bug in ffbfb_mmap to make XFree's sunffb driver work, added another
special case region for afbinit

Revision 1.13 / (download) - annotate - [select for diffs], Sun May 15 16:41:25 2005 UTC (18 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.12: +4 -6 lines
Diff to previous 1.12 (colored)

Just ignore (and don't fail) FBIO{S,G}CURSOR.

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 13 06:33:32 2005 UTC (18 years, 11 months ago) by mhitch
Branch: MAIN
Changes since 1.11: +5 -2 lines
Diff to previous 1.11 (colored)

Fill in fb_depth, fb_width, and fb_height in the fb_type info.  XFree86 works
better now.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 4 14:38:44 2005 UTC (18 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.10: +183 -27 lines
Diff to previous 1.10 (colored)

Make ffb take part in the /dev/fbN circus.

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 4 06:38:06 2005 UTC (18 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.9: +17 -50 lines
Diff to previous 1.9 (colored)

Use ansi function header style consistently.

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

sync with -current

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 29 08:38:33 2005 UTC (18 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Avoid returning -1 from ffb_ioctl() - we want EPASSTHROUGH or EIO.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:23 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +71 -28 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 19 01:04:35 2004 UTC (19 years, 9 months ago) by heas
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3, kent-audio2
Changes since 1.7: +14 -7 lines
Diff to previous 1.7 (colored)

Collect and save the FFB DAC version, which will be needed for the h/w cursor
since the Elite3d's logic is reversed.  From FreeBSD.
Fix comments in wsdisplay_accessops initialisation.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 21 21:45:04 2004 UTC (19 years, 10 months ago) by heas
Branch: MAIN
Changes since 1.6: +40 -2 lines
Diff to previous 1.6 (colored)

Map the ffb's DAC register space and add support for video "blanking"
(aka WSDISPLAYIO_{S,G}VIDEO).

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 21 19:21:31 2004 UTC (19 years, 10 months ago) by heas
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

ffb wsdisplay type should be sunffb/SUNFFB

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 17 17:04:59 2004 UTC (20 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: 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
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

Rename PROM_getprop*() => prom_getprop*().

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 17 13:58:14 2004 UTC (20 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.3: +13 -18 lines
Diff to previous 1.3 (colored)

ffb_attach: Use prom_getoption() and drop home-grown string-to-integer
conversion code.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 15 03:36:05 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

__KERNEL_RCSID()

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 11 22:50:12 2003 UTC (20 years, 10 months ago) by petrov
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Comment out debug output.

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 23 06:51:15 2003 UTC (20 years, 10 months ago) by petrov
Branch: MAIN

Port of OpenBSD ffb driver written by Jason L. Wright.

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




CVSweb <webmaster@jp.NetBSD.org>