Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.43 / (download) - annotate - [select for diffs], Fri Nov 9 19:50:22 2012 UTC (6 months, 1 week ago) by rkujawa
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
tls-maxphys-nbase,
tls-maxphys-base,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.42: +16 -7
lines
Diff to previous 1.42 (colored)
Differentiate between Voodoo 3 and Voodoo Banshee (MAX_CLOCK). Ok'd by macallan@.
Revision 1.42 / (download) - annotate - [select for diffs], Fri Nov 9 11:28:40 2012 UTC (6 months, 1 week ago) by rkujawa
Branch: MAIN
Changes since 1.41: +7 -2
lines
Diff to previous 1.41 (colored)
The voodoofb driver also works with Voodoo Banshee. Tested using card from martin@. Should be modified to take different MAX_CLOCK value into account.
Revision 1.41 / (download) - annotate - [select for diffs], Mon Apr 23 11:51:56 2012 UTC (12 months, 4 weeks ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base6,
yamt-pagecache-base5,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
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.40 / (download) - annotate - [select for diffs], Thu Mar 15 03:12:51 2012 UTC (14 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 (14 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.38 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:23 2012 UTC (15 months, 3 weeks ago) by drochner
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,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
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-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 (15 months, 3 weeks 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 (15 months, 3 weeks 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 (15 months, 4 weeks 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 (16 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 (16 months 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 (16 months 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 (16 months 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 (16 months 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 (16 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 (19 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.27 / (download) - annotate - [select for diffs], Sat Jan 22 15:14:28 2011 UTC (2 years, 3 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 (2 years, 4 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 (2 years, 5 months 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 (2 years, 6 months 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.23 / (download) - annotate - [select for diffs], Tue Oct 12 16:00:21 2010 UTC (2 years, 7 months 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.22 / (download) - annotate - [select for diffs], Tue May 4 05:00:33 2010 UTC (3 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.21 / (download) - annotate - [select for diffs], Thu Nov 26 15:17:10 2009 UTC (3 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.20 / (download) - annotate - [select for diffs], Thu Aug 20 02:40:57 2009 UTC (3 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.19 / (download) - annotate - [select for diffs], Wed May 6 18:41:54 2009 UTC (4 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.18 / (download) - annotate - [select for diffs], Wed Jul 9 15:04:21 2008 UTC (4 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-2-RELEASE,
netbsd-5-2-RC1,
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-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.17 / (download) - annotate - [select for diffs], Thu May 8 01:50:46 2008 UTC (5 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 (5 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 (5 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.14 / (download) - annotate - [select for diffs], Mon Mar 24 14:16:04 2008 UTC (5 years, 1 month 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.13 / (download) - annotate - [select for diffs], Wed Feb 27 23:59:37 2008 UTC (5 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.12 / (download) - annotate - [select for diffs], Sat Dec 1 17:00:41 2007 UTC (5 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 (5 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.10 / (download) - annotate - [select for diffs], Tue Jun 12 18:16:54 2007 UTC (5 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.9 / (download) - annotate - [select for diffs], Tue Mar 27 22:44:42 2007 UTC (6 years, 1 month 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.8 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:26 2007 UTC (6 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.7 / (download) - annotate - [select for diffs], Sat Jan 20 21:42:12 2007 UTC (6 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 (6 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 / (download) - annotate - [select for diffs], Thu May 4 02:18:11 2006 UTC (7 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 / (download) - annotate - [select for diffs], Sat Apr 15 17:48:23 2006 UTC (7 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 (7 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 (7 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 (7 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