The NetBSD Project

CVS log for src/sys/dev/pci/voodoofb.c

[BACK] Up to [cvs.netbsd.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:04 2012 UTC (2 days, 21 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.28.2.1: +3 -3 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.28.6.3 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:58 2012 UTC (3 weeks, 5 days ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.28.6.2: +3 -3 lines
Diff to previous 1.28.6.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync to latest -current.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Apr 23 11:51:56 2012 UTC (4 weeks, 4 days ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base9, HEAD
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

initialize a variable before using it
found by uebayasi@
now why did gcc warn him on x86 but not me on macppc?

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:58 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.28: +512 -101 lines
Diff to previous 1.28 (colored)

sync with head

Revision 1.28.6.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:32 2012 UTC (7 weeks, 1 day ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.28.6.1: +13 -5 lines
Diff to previous 1.28.6.1 (colored) to branchpoint 1.28 (colored)

sync to latest -current.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 15 03:12:51 2012 UTC (2 months, 1 week ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base8
Changes since 1.39: +11 -3 lines
Diff to previous 1.39 (colored)

we need to zap the glyph cache when re-initializing after X

Revision 1.39 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:33 2012 UTC (2 months, 1 week ago) by elad
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:54 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.28: +501 -98 lines
Diff to previous 1.28 (colored)

merge to -current.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:23 2012 UTC (3 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.37: +3 -5 lines
Diff to previous 1.37 (colored)

Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 25 03:49:12 2012 UTC (4 months ago) by macallan
Branch: MAIN
Changes since 1.36: +93 -8 lines
Diff to previous 1.36 (colored)

add a simple glyph cacheing scheme
Glyphs which use the default attribute will be saved into offscreen video
memory the first time they're used and subsequent uses will just copy them
from there instead of rendering them every time.
This should give a nice speedup especially on slow CPUs.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 25 02:04:35 2012 UTC (4 months ago) by macallan
Branch: MAIN
Changes since 1.35: +38 -36 lines
Diff to previous 1.35 (colored)

sprinkle sc_ to make it consistent

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 22 19:00:45 2012 UTC (4 months ago) by macallan
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored)

clear the screen when returning from X

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 19 18:35:27 2012 UTC (4 months ago) by macallan
Branch: MAIN
Changes since 1.33: +149 -10 lines
Diff to previous 1.33 (colored)

support anti-aliased fonts in 8 bit using host blits

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 18 08:04:18 2012 UTC (4 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.32: +43 -9 lines
Diff to previous 1.32 (colored)

do some mode validation - for now reject everything above 1680x1200 until
I find out why these don't work ( 1680x1200 works but not 1920x1080 ).
Also use sync polarity info from videomode instead of guessing.
Finally, if there is no useble preferred mode, be a little smarter trying
to find the next best mode.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 17 21:31:46 2012 UTC (4 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.31: +7 -27 lines
Diff to previous 1.31 (colored)

we don't access video memory directly, no need to map it

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 17 19:13:22 2012 UTC (4 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.30: +188 -6 lines
Diff to previous 1.30 (colored)

support DDC2, pick an appropriate video mode if a data are found

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 17 07:48:48 2012 UTC (4 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.29: +2 -20 lines
Diff to previous 1.29 (colored)

get rid of HAVE_OPENFIRMWARE

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 11 16:02:30 2012 UTC (4 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

use rasops_init(0, 0)

Revision 1.28 / (download) - annotate - [select for diffs], Sat Oct 8 00:22:25 2011 UTC (7 months, 2 weeks ago) by kiyohara
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.27: +29 -28 lines
Diff to previous 1.27 (colored)

Change get parameters(width,height...) from prop_dictionary, like genfb.  tested on ofppc only.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:28 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.26: +8 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:59 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.21.4.1: +76 -79 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:53 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.26: +8 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jan 22 15:14:28 2011 UTC (16 months ago) by cegger
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.26: +8 -3 lines
Diff to previous 1.26 (colored)

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 25 11:51:21 2010 UTC (17 months ago) by macallan
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.25: +2 -19 lines
Diff to previous 1.25 (colored)

remove some ancient, unused debug code

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 16 06:45:50 2010 UTC (17 months, 1 week ago) by cegger
Branch: MAIN
Changes since 1.24: +49 -52 lines
Diff to previous 1.24 (colored)

ioctl: KNF switch-case, remove useless brackets

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:09 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:12 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.21.2.1: +22 -8 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD (-D20101022).

Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 12 16:00:21 2010 UTC (19 months, 1 week ago) by macallan
Branch: MAIN
CVS Tags: uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.22: +24 -10 lines
Diff to previous 1.22 (colored)

make higher resolutions than 1024x768 work

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:35 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.21: +10 -10 lines
Diff to previous 1.21 (colored)

Sync with HEAD.

Revision 1.15.4.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:04 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.4.5: +10 -10 lines
Diff to previous 1.15.4.5 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:39 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.21: +10 -10 lines
Diff to previous 1.21 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 4 05:00:33 2010 UTC (2 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.21: +10 -10 lines
Diff to previous 1.21 (colored)

use alternate font if available ( for autogenerated box drawing characters )

Revision 1.15.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:59 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.4.4: +5 -5 lines
Diff to previous 1.15.4.4 (colored) to branchpoint 1.15 (colored)

sync with head

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 26 15:17:10 2009 UTC (2 years, 5 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.

Revision 1.15.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:52 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.4.3: +4 -2 lines
Diff to previous 1.15.4.3 (colored) to branchpoint 1.15 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 20 02:40:57 2009 UTC (2 years, 9 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

use vcons_replay_msgbuf() when appropriate

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:40 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.4.2: +6 -8 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored)

sync with head

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:30 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.18: +6 -8 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

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

Revision 1.19 / (download) - annotate - [select for diffs], Wed May 6 18:41:54 2009 UTC (3 years ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.18: +6 -8 lines
Diff to previous 1.18 (colored)

Replace curlwp->l_cred with kauth_cred_get().

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/05/05/msg005038.html

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:02 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.4.1: +26 -24 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:40 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.17: +26 -24 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.12.14.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:28 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.12.14.2: +24 -22 lines
Diff to previous 1.12.14.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:08 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.16.2.1: +26 -24 lines
Diff to previous 1.16.2.1 (colored) next main 1.17 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:34 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.17: +26 -24 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 9 15:04:21 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.17: +26 -24 lines
Diff to previous 1.17 (colored)

- device/softc split

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:12 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.16: +2 -4 lines
Diff to previous 1.16 (colored)

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

Revision 1.5.20.1.2.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:25 2008 UTC (3 years, 11 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.5.20.1: +15 -2 lines
Diff to previous 1.5.20.1 (colored) next main 1.5.20.2 (colored)

Sync with netbsd-4.

Revision 1.12.14.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:44 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.12.14.1: +16 -25 lines
Diff to previous 1.12.14.1 (colored) to branchpoint 1.12 (colored)

Sync with HEAD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:23 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.15: +4 -6 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:46 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15: +4 -6 lines
Diff to previous 1.15 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 8 01:50:46 2008 UTC (4 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl, haad-dm
Changes since 1.16: +2 -4 lines
Diff to previous 1.16 (colored)

nuke clause 3

Revision 1.16 / (download) - annotate - [select for diffs], Mon May 5 11:42:45 2008 UTC (4 years ago) by jmcneill
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Change autoconf message 'direct rendering on dev unsupported' to
the more accurate 'drm at dev not configured'.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:38 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.14: +16 -23 lines
Diff to previous 1.14 (colored)

use aprint_*_dev and device_xname

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:54 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.12: +22 -5 lines
Diff to previous 1.12 (colored)

Sync with HEAD.

Revision 1.5.20.1.6.1 / (download) - annotate - [select for diffs], Mon Mar 24 20:55:10 2008 UTC (4 years, 2 months ago) by bouyer
Branch: netbsd-4-0
CVS Tags: netbsd-4-0-1-RELEASE
Changes since 1.5.20.1: +15 -2 lines
Diff to previous 1.5.20.1 (colored) next main 1.5.20.2 (colored)

Pull up following revision(s) (requested by elad in ticket #1107):
	sys/dev/pci/machfb.c: revision 1.51
	sys/dev/pci/voodoofb.c: revision 1.14
Introduce two missing KAUTH_GENERIC_ISSUSER check in the voodoo and machfb
mmap() code.
Discussed with and okay macallan@.

Revision 1.5.20.2 / (download) - annotate - [select for diffs], Mon Mar 24 20:53:54 2008 UTC (4 years, 2 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.5.20.1: +15 -2 lines
Diff to previous 1.5.20.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Pull up following revision(s) (requested by elad in ticket #1107):
	sys/dev/pci/machfb.c: revision 1.51
	sys/dev/pci/voodoofb.c: revision 1.14
Introduce two missing KAUTH_GENERIC_ISSUSER check in the voodoo and machfb
mmap() code.
Discussed with and okay macallan@.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 24 14:16:04 2008 UTC (4 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.13: +15 -2 lines
Diff to previous 1.13 (colored)

Introduce two missing KAUTH_GENERIC_ISSUSER check in the voodoo and machfb
mmap() code.

This and similar requests will be replaced Soon, but these two in
particular should be pulled up to netbsd-4, and to allow doing that
smoothly, we're first introducing the "issuser" version.

Discussed with and okay macallan@.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:49 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.12: +9 -5 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:50 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.10: +9 -5 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with HEAD

Revision 1.5.10.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:12 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.4: +9 -5 lines
Diff to previous 1.5.10.4 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 27 23:59:37 2008 UTC (4 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.12: +9 -5 lines
Diff to previous 1.12 (colored)

get rid of the last #ifdef macppc and use PCI_MAGIC_IO_RANGE to select
at which offset we mmap PCI IO space

Revision 1.10.14.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:49 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:38 2007 UTC (4 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 1 17:00:41 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Back out previous.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 1 16:54:29 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Noisy printfs.

Revision 1.5.10.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:26 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.3: +81 -7 lines
Diff to previous 1.5.10.3 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:41 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.8.2.1: +3 -3 lines
Diff to previous 1.8.2.1 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:08:05 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.8: +79 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 12 18:16:54 2007 UTC (4 years, 11 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Fix a typo in voodoofb_drm_unmap(), requested by garbled.
cvs: ----------------------------------------------------------------------

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:28 2007 UTC (5 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.7.2.1: +79 -5 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:24:29 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.8: +79 -5 lines
Diff to previous 1.8 (colored)

Sync with head.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:53 2007 UTC (5 years, 1 month ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.8: +79 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pullup to -current

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 27 22:44:42 2007 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Changes since 1.8: +79 -5 lines
Diff to previous 1.8 (colored)

Make this compatible with tdfxdrm.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:29 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Sync with HEAD.

Revision 1.5.20.1 / (download) - annotate - [select for diffs], Sat Mar 10 18:43:43 2007 UTC (5 years, 2 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, matt-nb4-arm-base, matt-nb4-arm
Branch point for: wrstuden-fixsa, netbsd-4-0
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Apply patch (requested by macallan in ticket #503):
	sys/dev/pci/voodoofb.c		patch
Add missing include; should fix macppc build.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:26 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

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

Revision 1.5.10.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:37 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.2: +12 -6 lines
Diff to previous 1.5.10.2 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.5.14.1 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:27 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.5: +12 -6 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 20 21:42:12 2007 UTC (5 years, 4 months ago) by he
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Unify the declaration of OF_interpret() between sparc{,64} and macppc
by adding the "nargs" argument to the macppc version, and fix the macppc
ports uses of OF_interpret() accordingly.

Also move the declaration of OF_interpt() from macppc's autoconf.h to
ofw/openfirm.h.  This fixes the build of the macppc port.

Approved by macallan@.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 13 18:56:35 2007 UTC (5 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.5: +10 -4 lines
Diff to previous 1.5 (colored)

Complete initializer, and make it compile on (lesser?) archs that don't
have OpenFirmware.

Revision 1.5.16.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:19 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.5.16.1: +1344 -0 lines
Diff to previous 1.5.16.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.5.10.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:07 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.10.1: +1344 -0 lines
Diff to previous 1.5.10.1 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:49 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.4.4.2: +3 -2 lines
Diff to previous 1.4.4.2 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.5.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:28 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.5.6.1: +1344 -0 lines
Diff to previous 1.5.6.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

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

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:01 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5.4.1: +1344 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Thu May 11 23:28:48 2006 UTC (6 years ago) by elad
Branch: elad-kernelauth
Changes since 1.4.2.2: +3 -2 lines
Diff to previous 1.4.2.2 (colored) next main 1.5 (colored)

sync with head

Revision 1.5.16.1, Thu May 4 02:18:11 2006 UTC (6 years ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.5: +0 -1344 lines
FILE REMOVED

file voodoofb.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:19 +0000

Revision 1.5.10.1, Thu May 4 02:18:11 2006 UTC (6 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +0 -1344 lines
FILE REMOVED

file voodoofb.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:07 +0000

Revision 1.5.6.1, Thu May 4 02:18:11 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.5: +0 -1344 lines
FILE REMOVED

file voodoofb.c was added on branch peter-altq on 2006-05-24 15:50:28 +0000

Revision 1.5.4.1, Thu May 4 02:18:11 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5: +0 -1344 lines
FILE REMOVED

file voodoofb.c was added on branch yamt-pdpolicy on 2006-05-24 10:58:01 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 4 02:18:11 2006 UTC (6 years ago) by simonb
Branch: 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, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, yamt-lazymbuf, rpaulo-netinet-merge-pcb, peter-altq, newlock2, netbsd-4
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Add missing "return 0;" from WSDISPLAYIO_SMODE case in voodoofb_ioctl().

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:16 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.4.4.1: +1343 -0 lines
Diff to previous 1.4.4.1 (colored)

Sync with head.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:38 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.4.2.1: +1343 -0 lines
Diff to previous 1.4.2.1 (colored)

sync with head.

Revision 1.4.4.1, Sat Apr 15 17:48:23 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.4: +0 -1343 lines
FILE REMOVED

file voodoofb.c was added on branch simonb-timecounters on 2006-04-22 11:39:16 +0000

Revision 1.4.2.1, Sat Apr 15 17:48:23 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.4: +0 -1343 lines
FILE REMOVED

file voodoofb.c was added on branch elad-kernelauth on 2006-04-19 03:25:38 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 15 17:48:23 2006 UTC (6 years, 1 month ago) by jmmv
Branch: MAIN
Branch point for: simonb-timecounters, elad-kernelauth
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Wed Apr 12 23:11:56 2006 UTC (6 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.2: +28 -25 lines
Diff to previous 1.2 (colored)

whitespace nits
( no, perry didn't steal my account )

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 12 19:38:24 2006 UTC (6 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.1: +8 -6 lines
Diff to previous 1.1 (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.1 / (download) - annotate - [select for diffs], Tue Apr 11 16:11:07 2006 UTC (6 years, 1 month ago) by macallan
Branch: MAIN

A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode

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>