Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.86 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:34 2012 UTC (6 months, 3 weeks ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.85: +3 -3
lines
Diff to previous 1.85 (colored)
split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
Revision 1.85 / (download) - annotate - [select for diffs], Fri Oct 5 01:12:15 2012 UTC (7 months, 2 weeks ago) by macallan
Branch: MAIN
Changes since 1.84: +4 -6
lines
Diff to previous 1.84 (colored)
gc_attr is no more
Revision 1.84 / (download) - annotate - [select for diffs], Mon Oct 1 09:25:01 2012 UTC (7 months, 3 weeks ago) by jdc
Branch: MAIN
Changes since 1.83: +3 -2
lines
Diff to previous 1.83 (colored)
Match the Rage Mobility M1 used in the Tadpole SPARCle.
Revision 1.83 / (download) - annotate - [select for diffs], Thu Aug 16 18:37:14 2012 UTC (9 months ago) by macallan
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.82: +11 -15
lines
Diff to previous 1.82 (colored)
fix a bunch of typos, thinkos and cargocultos
Revision 1.82 / (download) - annotate - [select for diffs], Wed Aug 15 17:43:59 2012 UTC (9 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.81: +4 -2
lines
Diff to previous 1.81 (colored)
don't forget to clear the screen and wipe the glyph cache when re-entering terminal emulation mode
Revision 1.81 / (download) - annotate - [select for diffs], Wed Aug 15 17:02:41 2012 UTC (9 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.80: +67 -87
lines
Diff to previous 1.80 (colored)
some cleanup:
- get rid of some redundant variables ( sc_*phys and sc_*base were essentially
the same )
- we don't access video memory directly anymore, so:
* no more need for byte order tests
* don't map video memory if we have a MMIO register aperture
* get rid of various bits of support code dealing with video memory
access
- use MMIO register aperture if available, turn off register blocks in the main
aperture if not in use, to avoid overlap with video memory on 8MB cards
- don't scissor off access to off-screen memory. How the hell did this work on
Rage II? Apparently Rage XL treats the scissor registers slightly different.
Now this works properly on 8MB and Rage XL boards like Sun's PGX64.
Revision 1.80 / (download) - annotate - [select for diffs], Fri Aug 3 01:23:32 2012 UTC (9 months, 2 weeks ago) by macallan
Branch: MAIN
Changes since 1.79: +14 -15
lines
Diff to previous 1.79 (colored)
machfb's memsize is in MB, glyphcache_init expects bytes. doh.
Revision 1.79 / (download) - annotate - [select for diffs], Thu Aug 2 00:17:44 2012 UTC (9 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.78: +162 -21
lines
Diff to previous 1.78 (colored)
add support for anti-aliased fonts
Revision 1.78 / (download) - annotate - [select for diffs], Thu Jun 14 00:56:37 2012 UTC (11 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.77: +18 -12
lines
Diff to previous 1.77 (colored)
more preparation for alpha support: - use R3G3B2 colour map - consistently use ri_devcmap[] - reshuffle cmap setup, screen cleaning, msg buffer replay etc. to deal with the above
Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 14 00:21:55 2012 UTC (11 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.76: +7 -2
lines
Diff to previous 1.76 (colored)
do some minimal setup if we're not the console
Revision 1.76 / (download) - annotate - [select for diffs], Thu Jun 14 00:15:07 2012 UTC (11 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.75: +20 -21
lines
Diff to previous 1.75 (colored)
cosmetics: - fix/remove outdated comments - printf() -> aprint_*() - #if 1 removal
Revision 1.75 / (download) - annotate - [select for diffs], Tue May 8 02:25:25 2012 UTC (12 months, 2 weeks ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
jmcneill-usbmp-base10
Changes since 1.74: +3 -3
lines
Diff to previous 1.74 (colored)
don't enable IO access - we don't use it and at least on some macppc machines the IO BAR contains garbage should probably be pulled into 6.0
Revision 1.74 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:32 2012 UTC (14 months, 1 week ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8
Changes since 1.73: +4 -4
lines
Diff to previous 1.73 (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.73 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:22 2012 UTC (15 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.72: +3 -7
lines
Diff to previous 1.72 (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.72 / (download) - annotate - [select for diffs], Wed Jan 11 16:02:29 2012 UTC (16 months, 1 week ago) by macallan
Branch: MAIN
Changes since 1.71: +3 -4
lines
Diff to previous 1.71 (colored)
use rasops_init(0, 0)
Revision 1.71 / (download) - annotate - [select for diffs], Thu Aug 4 00:57:33 2011 UTC (21 months, 2 weeks ago) by jakllsch
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.70: +4 -2
lines
Diff to previous 1.70 (colored)
Fix machfb build on ports not based on powerpc or sparc.
Revision 1.70 / (download) - annotate - [select for diffs], Wed Aug 3 05:27:08 2011 UTC (21 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.69: +2 -10
lines
Diff to previous 1.69 (colored)
don't try to a 'better' vertical frequency, it's almost certainly wrong with flat panels
Revision 1.69 / (download) - annotate - [select for diffs], Mon Aug 1 12:28:53 2011 UTC (21 months, 3 weeks ago) by mbalmer
Branch: MAIN
Changes since 1.68: +3 -3
lines
Diff to previous 1.68 (colored)
According to the Oxford Dictionary of Etymology, a wether is a male sheep or ram.
Revision 1.68 / (download) - annotate - [select for diffs], Wed Jun 29 03:15:18 2011 UTC (22 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.67: +6 -7
lines
Diff to previous 1.67 (colored)
support WSDISPLAYIO_GET_EDID
Revision 1.67 / (download) - annotate - [select for diffs], Wed Jun 1 05:06:17 2011 UTC (23 months, 3 weeks ago) by macallan
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Changes since 1.66: +7 -14
lines
Diff to previous 1.66 (colored)
move wsdisplay_accessops into the softc so multiple instances have a chance to work without stepping on each other's toes
Revision 1.66 / (download) - annotate - [select for diffs], Mon May 16 00:59:37 2011 UTC (2 years ago) by macallan
Branch: MAIN
Changes since 1.65: +8 -6
lines
Diff to previous 1.65 (colored)
don't leave a mess on screen when attaching, while there use VCONS_DONT_READ if VCONS_DRAW_INTR is set
Revision 1.65 / (download) - annotate - [select for diffs], Tue May 10 18:31:33 2011 UTC (2 years ago) by dyoung
Branch: MAIN
Changes since 1.64: +5 -5
lines
Diff to previous 1.64 (colored)
Stop abuse of PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED. The flags specifically tell a driver that bridges upstream forward PCI I/O (or memory) transactions to the device." Only bus drivers have any business modifying these.
Revision 1.64 / (download) - annotate - [select for diffs], Wed May 4 23:36:21 2011 UTC (2 years ago) by macallan
Branch: MAIN
Changes since 1.63: +68 -24
lines
Diff to previous 1.63 (colored)
add support for (ancient) Mach64 CX and GX, while there make sure the visible vram area starts at the same offset as the area we're going to draw into - zero that is. from David Riley
Revision 1.63 / (download) - annotate - [select for diffs], Sat Jan 22 15:14:28 2011 UTC (2 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.62: +13 -3
lines
Diff to previous 1.62 (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.62 / (download) - annotate - [select for diffs], Thu Dec 16 06:45:50 2010 UTC (2 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.61: +111 -116
lines
Diff to previous 1.61 (colored)
ioctl: KNF switch-case, remove useless brackets
Revision 1.61 / (download) - annotate - [select for diffs], Sat Oct 2 23:54:03 2010 UTC (2 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3
Changes since 1.60: +5 -5
lines
Diff to previous 1.60 (colored)
cleanup debug code
Revision 1.60 / (download) - annotate - [select for diffs], Sat Oct 2 23:50:04 2010 UTC (2 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
fix a typo
Revision 1.59 / (download) - annotate - [select for diffs], Tue May 4 05:07:14 2010 UTC (3 years ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Changes since 1.58: +232 -144
lines
Diff to previous 1.58 (colored)
this has been sitting in my tree too long: - device_t-ify - sanitize debugging #ifdefs - deal with firmwares setting up modes using other clocks than #0 - get rid of sparc and macppc-specific code, use device properties instead - while there, use alternate box drawing font if needed
Revision 1.58 / (download) - annotate - [select for diffs], Thu Mar 11 04:00:36 2010 UTC (3 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.57: +21 -15
lines
Diff to previous 1.57 (colored)
various aprint_* fixes.
Revision 1.57 / (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-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
uebayasi-xip-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Branch point for: uebayasi-xip
Changes since 1.56: +6 -8
lines
Diff to previous 1.56 (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.56 / (download) - annotate - [select for diffs], Sat Jan 3 03:43:22 2009 UTC (4 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.55: +3 -3
lines
Diff to previous 1.55 (colored)
remove extra semicolons.
Revision 1.55 / (download) - annotate - [select for diffs], Tue Jul 1 23:25:06 2008 UTC (4 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
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,
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,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.54: +4 -2
lines
Diff to previous 1.54 (colored)
Comment out some device IDs that do not actually belong to mach64 devices. This stops machfb0 from trying and failing to attach as console on my G4 PowerBook. Now, genfb0 will attach as console, instead. Apparently, Michael Lorenz made a similar change on the netbsd-4 branch, but it was never committed to -current.
Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 1 23:19:48 2008 UTC (4 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.53: +13 -14
lines
Diff to previous 1.53 (colored)
Cosmetic: use device_t, cfdata_t, __arraycount(), device_private().
Revision 1.53 / (download) - annotate - [select for diffs], Thu Jun 12 22:44:47 2008 UTC (4 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Changes since 1.52: +9 -10
lines
Diff to previous 1.52 (colored)
use device_lookup_private to get softc
Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:37 2008 UTC (5 years, 1 month 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.51: +14 -14
lines
Diff to previous 1.51 (colored)
use aprint_*_dev and device_xname
Revision 1.51 / (download) - annotate - [select for diffs], Mon Mar 24 14:16:04 2008 UTC (5 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.50: +16 -2
lines
Diff to previous 1.50 (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.50 / (download) - annotate - [select for diffs], Tue Jan 15 02:00:49 2008 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2
Changes since 1.49: +7 -3
lines
Diff to previous 1.49 (colored)
For WSDISPLAY_GINFO, depth should be sc->bits_per_pixel, not sc->color_depth. While we're here, implement WSDISPLAYIO_LINEBYTES.
Revision 1.49 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:24 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
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,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-merge1,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-armv6,
bouyer-xeni386
Changes since 1.48: +13 -13
lines
Diff to previous 1.48 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.48 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (6 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
wrstuden-fixsa,
netbsd-4
Changes since 1.47: +9 -9
lines
Diff to previous 1.47 (colored)
__unused removal on arguments; approved by core.
Revision 1.47 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:31 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.46: +10 -9
lines
Diff to previous 1.46 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.46 / (download) - annotate - [select for diffs], Sat Sep 2 06:59:20 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.45: +11 -11
lines
Diff to previous 1.45 (colored)
add missing initializers
Revision 1.45 / (download) - annotate - [select for diffs], Wed May 10 21:53:16 2006 UTC (7 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.44: +4 -2
lines
Diff to previous 1.44 (colored)
quell GCC 4.1 uninitialised variable warnings. XXX: we should audit the tree for which old ones are no longer needed after getting the older compilers out of the tree..
Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 19 17:41:24 2006 UTC (7 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.43: +16 -12
lines
Diff to previous 1.43 (colored)
fix some ugly mixup of virtual and physical addresses
Revision 1.43 / (download) - annotate - [select for diffs], Sun Apr 16 15:41:52 2006 UTC (7 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored)
correct a cast to avoid a warning. Pointed out by he.
Revision 1.42 / (download) - annotate - [select for diffs], Sat Apr 15 17:48:23 2006 UTC (7 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.41: +2 -4
lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Wed Apr 12 20:35:42 2006 UTC (7 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.40: +376 -440
lines
Diff to previous 1.40 (colored)
convert to vcons while there, attach an fb device when running on sparc
Revision 1.40 / (download) - annotate - [select for diffs], Wed Apr 12 19:38:23 2006 UTC (7 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.39: +8 -6
lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Wed Apr 5 15:23:06 2006 UTC (7 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4
Changes since 1.38: +2 -4
lines
Diff to previous 1.38 (colored)
update for accessops change (get/serborder removed)
Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 18 19:21:12 2005 UTC (7 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.37: +5 -5
lines
Diff to previous 1.37 (colored)
Add devname: to printf()s From rivo nurges
Revision 1.37 / (download) - annotate - [select for diffs], Mon Dec 12 02:44:09 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.36: +3 -3
lines
Diff to previous 1.36 (colored)
welcome to the new lwp world.
Revision 1.36 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.35: +4 -4
lines
Diff to previous 1.35 (colored)
merge ktrace-lwp.
Revision 1.35 / (download) - annotate - [select for diffs], Mon Oct 3 11:22:06 2005 UTC (7 years, 7 months ago) by macallan
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
Changes since 1.34: +14 -8
lines
Diff to previous 1.34 (colored)
Build mach64_get_mode only on SPARC and PowerPC to shut up a compiler warning.
Revision 1.34 / (download) - annotate - [select for diffs], Sat Oct 1 19:01:01 2005 UTC (7 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.33: +49 -74
lines
Diff to previous 1.33 (colored)
Cleanup, remove some duplicate code, behave better with more than one instance present.
Revision 1.33 / (download) - annotate - [select for diffs], Wed Sep 21 18:49:16 2005 UTC (7 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.32: +114 -83
lines
Diff to previous 1.32 (colored)
- avoid using global variables unless necessary, this should fix weird problems when more than one mach64 is present - check memory BARs in mach64_mmap() and adjust allowed ranges in case something ( XFree86 for instance ) changed them - disable 'standard' framebuffer mapping at offset 0 on sparc64 because some Sun/ATI firmware likes to map PCI resources there. May be necessary on other 64bit architectures as well.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 2 01:35:05 2005 UTC (7 years, 9 months ago) by macallan
Branch: MAIN
Changes since 1.31: +1 -1
lines
Diff to previous 1.31 (colored)
fix a stupid typo
Revision 1.31 / (download) - annotate - [select for diffs], Tue Aug 2 01:32:13 2005 UTC (7 years, 9 months ago) by macallan
Branch: MAIN
Changes since 1.30: +12 -3
lines
Diff to previous 1.30 (colored)
disable mmap()ing the framebuffer at offset 0 on sparc64 because some ATI firmware likes to put PCI memory resources into this range, notably a Rage IIc which puts the 2nd register aperture to 0x2000. This should allow a few graphics chips to work with XFree86 which previously failed with something like this: (WW) ATI: PCI/AGP Mach64 in slot 2:5:0 could not be detected! No devices to configure. Configuration failed. Thanks to Florian Stoehr for doing most of the work tracking this down.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 7 18:43:47 2005 UTC (7 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +131 -119
lines
Diff to previous 1.29 (colored)
Apply const and static where appropriate.
Revision 1.29 / (download) - annotate - [select for diffs], Tue May 31 21:17:03 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.28: +4 -4
lines
Diff to previous 1.28 (colored)
Always call mach64_init_screen, otherwise we'll panic later if DIAGNOSTIC when we call switch screen and the machine has a serial console. Thanks to martin for the fix.
Revision 1.28 / (download) - annotate - [select for diffs], Tue May 31 21:16:06 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.27: +41 -36
lines
Diff to previous 1.27 (colored)
minor knf. no functional change.
Revision 1.27 / (download) - annotate - [select for diffs], Mon May 30 22:18:41 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.26: +3 -3
lines
Diff to previous 1.26 (colored)
add const.
Revision 1.26 / (download) - annotate - [select for diffs], Mon May 2 16:02:43 2005 UTC (8 years ago) by macallan
Branch: MAIN
Changes since 1.25: +271 -242
lines
Diff to previous 1.25 (colored)
more formatting fixes
Revision 1.25 / (download) - annotate - [select for diffs], Mon May 2 14:49:08 2005 UTC (8 years ago) by macallan
Branch: MAIN
Changes since 1.24: +142 -105
lines
Diff to previous 1.24 (colored)
fixed formatting
Revision 1.24 / (download) - annotate - [select for diffs], Mon May 2 11:22:31 2005 UTC (8 years ago) by macallan
Branch: MAIN
Changes since 1.23: +64 -71
lines
Diff to previous 1.23 (colored)
- made blitter operationd asynchronous - removed some debug code - prevent blitter operations when not in WSDISPLAYIO_MODE_EMUL (approved by martin)
Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 7 21:45:24 2005 UTC (8 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: netbsd-3
Changes since 1.22: +3 -3
lines
Diff to previous 1.22 (colored)
Make it compile for 32bit sparc kernels (bus_addr_t is larger than void* there)
Revision 1.22 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 2005 UTC (8 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.21: +104 -104
lines
Diff to previous 1.21 (colored)
nuke trailing whitespace
Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 25 16:00:58 2005 UTC (8 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.20: +409 -175
lines
Diff to previous 1.20 (colored)
From Michael Lorenz: more cleanup and various bugfixes, support for WSDISPLAYIO_GETWSCHAR and WSDISPLAYIO_PUTWSCHAR ioctls.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 17 22:52:46 2005 UTC (8 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec
Branch point for: yamt-km
Changes since 1.19: +45 -7
lines
Diff to previous 1.19 (colored)
More changes from Michael Lorenz: - fix a panic in mach64_alloc_screen() - some cleanup - restrict mach64_mmap() to addresses which belong to it - mach64_attach now prints bus addresses instead of kernel vm addresses - initial support for macppc
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 9 16:29:20 2005 UTC (8 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Branch point for: kent-audio2
Changes since 1.18: +325 -25
lines
Diff to previous 1.18 (colored)
Bugfixes and acceleration support. From Michael Lorenz.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Apr 23 21:13:06 2004 UTC (9 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
pass string length (= boundary info) to pci_devinfo so that we do not run over the end of memory region
Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 22 10:06:31 2004 UTC (9 years, 2 months 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.16: +3 -3
lines
Diff to previous 1.16 (colored)
sparc: OF_instance_to_package => prom_instance_to_package
Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 22 08:36:28 2004 UTC (9 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.15: +4 -4
lines
Diff to previous 1.15 (colored)
Adapt to promlib changes on sparc.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 14 15:47:25 2003 UTC (9 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.14: +2 -1
lines
Diff to previous 1.14 (colored)
add missing __KERNEL_RCSID()
Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 29 22:30:25 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:38 2003 UTC (9 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed. Bump the kernel rev up to 1.6V
Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 20 11:02:47 2003 UTC (10 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored)
Grrr, add another set of casts working around sc_aperbase having the wrong type. We should fix this! This makes it compile for 32bit sparc64 kernels.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 15 21:38:22 2003 UTC (10 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
Fix typo - make it compile with DIAGNOSTIC.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 11 05:49:34 2002 UTC (10 years, 5 months ago) by junyoung
Branch: MAIN
CVS Tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
'.' was missing in license notice.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 25 21:24:28 2002 UTC (10 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.8: +20 -5
lines
Diff to previous 1.8 (colored)
Remove assumptions about endianess of bus_space_vaddr mappings, replace with an explicit probe.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Nov 2 15:54:10 2002 UTC (10 years, 6 months ago) by martin
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
Need to cast a bus_space_addr_t to (u_long) before gcc allows us to cast it to a pointer on 32bit spacr64 kernels. Sigh.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 31 14:10:07 2002 UTC (10 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.6: +63 -56
lines
Diff to previous 1.6 (colored)
Rearange struct mach64screen to be derived from struct rasops_info, move a few bits around and make adding screens after attach time actually work. When not booting as console, try to properly set up the hardware to get a display nevertheless (XXX - does not yet work on my U5). #if 0 some unused functions planned for future extensions (to make clear they are unused now)
Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 29 17:54:40 2002 UTC (10 years, 6 months ago) by junyoung
Branch: MAIN
Changes since 1.5: +19 -14
lines
Diff to previous 1.5 (colored)
Reduce the number of #ifdef __sparc__ from 5 to 3.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 29 13:50:11 2002 UTC (10 years, 6 months ago) by junyoung
Branch: MAIN
Changes since 1.4: +19 -24
lines
Diff to previous 1.4 (colored)
Rename sparc_screen_is_console() to mach64_is_console() and turn it into a MI interface.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 25 18:57:06 2002 UTC (10 years, 7 months ago) by junyoung
Branch: MAIN
Changes since 1.3: +24 -21
lines
Diff to previous 1.3 (colored)
Register aperture is now mapped as a subregion of the framebuffer aperture using bus_space_subregion(). This makes reg*() look better.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 25 18:03:03 2002 UTC (10 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.2: +45 -21
lines
Diff to previous 1.2 (colored)
Sprinkle a few bus_space_read*/bus_space_write* calls and simplify register offset calculation. Mostly from Bang Jun Young. Don't call wsdisplay_cnattach unconditionally. On sparc use OF to decide whether we are console output. This makes it actually work on my U5 - if only we had a keyboard driver to produce wskbd events (coming soon).
Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 24 20:41:59 2002 UTC (10 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.1: +6 -4
lines
Diff to previous 1.1 (colored)
A few 64bit nits.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 24 18:15:57 2002 UTC (10 years, 7 months ago) by junyoung
Branch: MAIN
Add machfb, ATI Mach64/Rage framebuffer display driver. XXX this version is not fully functional yet. More to come shortly.