The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.53.4.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.53: +3 -7 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.53.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:53 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53: +3 -7 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

merge to -current.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:23 2012 UTC (3 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.53: +3 -7 lines
Diff to previous 1.53 (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.52.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.52: +7 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.49.2.1 / (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.49: +22 -5 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.52.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.52: +7 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 22 15:14:28 2011 UTC (16 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Thu Dec 16 06:45:50 2010 UTC (17 months, 1 week ago) by cegger
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.51: +5 -5 lines
Diff to previous 1.51 (colored)

ioctl: KNF switch-case, remove useless brackets

Revision 1.51 / (download) - annotate - [select for diffs], Fri Nov 19 13:38:17 2010 UTC (18 months ago) by macallan
Branch: MAIN
Changes since 1.50: +12 -2 lines
Diff to previous 1.50 (colored)

add PCI_MAGIC_IO_RANGE so non-x86 machines can map the IO range belonging to
the console vga
thanks to nick for reminding me to commit this and for confirming that it works as intended

Revision 1.50 / (download) - annotate - [select for diffs], Tue Nov 9 21:12:19 2010 UTC (18 months, 2 weeks ago) by shattered
Branch: MAIN
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

PR/10000: disable fast scrolling on Cyrix GXLV (CS5530 chipset)

OK by wiz@

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:43 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.40.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.40.4.4: +4 -4 lines
Diff to previous 1.40.4.4 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:01 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:52 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Expand PMF_FN_* macros.

Revision 1.40.4.4 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:18 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.4.3: +5 -5 lines
Diff to previous 1.40.4.3 (colored) to branchpoint 1.40 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Aug 18 20:46:10 2009 UTC (2 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

Adapt for NACPI -> NACPICA change.

Revision 1.40.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.40.4.2: +8 -9 lines
Diff to previous 1.40.4.2 (colored) to branchpoint 1.40 (colored)

sync with head

Revision 1.44.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.44: +8 -9 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

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

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 6 10:34:33 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.45: +8 -9 lines
Diff to previous 1.45 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 6 09:25:17 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.40.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.40.4.1: +26 -6 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored)

sync with head.

Revision 1.42.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.42: +10 -4 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.38.6.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.38.6.2: +8 -2 lines
Diff to previous 1.38.6.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.41.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.41.2.1: +10 -4 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Aug 3 02:12:22 2008 UTC (3 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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.43: +7 -4 lines
Diff to previous 1.43 (colored)

Allow using VGA_POST without ACPI again.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 31 14:05:05 2008 UTC (3 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.42: +6 -3 lines
Diff to previous 1.42 (colored)

machdep.acpi_vbios_reset = 2 --> vga_pci_resume will use x86emu to do a
POST when options VGA_POST is present.

Revision 1.41.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.41: +18 -4 lines
Diff to previous 1.41 (colored)

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

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:14 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.40.2.1: +18 -4 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head

Revision 1.38.6.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.38.6.1: +18 -4 lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 18 19:54:11 2008 UTC (4 years ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: haad-dm
Changes since 1.41: +18 -4 lines
Diff to previous 1.41 (colored)

Add 'rescan' function for vga.

Revision 1.40.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.40: +4 -4 lines
Diff to previous 1.40 (colored)

sync with head.

Revision 1.40.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.40: +4 -4 lines
Diff to previous 1.40 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 5 11:42:45 2008 UTC (4 years ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

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

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:53 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.38: +11 -10 lines
Diff to previous 1.38 (colored)

Sync with HEAD.

Revision 1.38.2.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.38: +11 -10 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.33.2.2 / (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.33.2.1: +11 -10 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with HEAD

Revision 1.27.2.6 / (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.27.2.5: +11 -10 lines
Diff to previous 1.27.2.5 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Mar 14 22:12:08 2008 UTC (4 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.39: +9 -8 lines
Diff to previous 1.39 (colored)

Split device_t and softc for all attachments of vga(4).

Revision 1.39 / (download) - annotate - [select for diffs], Fri Feb 29 06:13:39 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.33.8.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:59 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.33.8.2: +22 -3 lines
Diff to previous 1.33.8.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.27.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:15 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.2.4: +41 -2 lines
Diff to previous 1.27.2.4 (colored) to branchpoint 1.27 (colored)

sync with head

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:03 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.33: +45 -5 lines
Diff to previous 1.33 (colored)

sync with HEAD

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:54:58 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.37: +22 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD

Revision 1.33.8.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:24 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.33.8.1: +22 -2 lines
Diff to previous 1.33.8.1 (colored) to branchpoint 1.33 (colored)

Sync with HEAD.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:07 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.36: +41 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Dec 25 14:22:26 2007 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.37: +22 -3 lines
Diff to previous 1.37 (colored)

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:26 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.36: +22 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:13 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.36: +22 -2 lines
Diff to previous 1.36 (colored)

Merge jmcneill-pm branch.

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:48 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 (colored)

Sync with HEAD.

Revision 1.32.8.6 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:32 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.32.8.5: +3 -3 lines
Diff to previous 1.32.8.5 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:30:31 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.2.3: +6 -5 lines
Diff to previous 1.27.2.3 (colored) to branchpoint 1.27 (colored)

sync with head

Revision 1.36 / (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-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Back out previous.

Revision 1.35 / (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.34: +3 -3 lines
Diff to previous 1.34 (colored)

Noisy printfs.

Revision 1.32.8.5 / (download) - annotate - [select for diffs], Sat Dec 1 05:22:51 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.32.8.4: +6 -5 lines
Diff to previous 1.32.8.4 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Dec 1 05:22:27 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 (colored)

aprintify

Revision 1.32.8.4 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:29 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.32.8.3: +11 -47 lines
Diff to previous 1.32.8.3 (colored) to branchpoint 1.32 (colored)

Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:52 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.31.2.1: +4 -2 lines
Diff to previous 1.31.2.1 (colored) next main 1.32 (colored)

Sync with head.

Revision 1.32.8.3 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:56 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.32.8.2: +8 -3 lines
Diff to previous 1.32.8.2 (colored) to branchpoint 1.32 (colored)

Extend device API by device_power_private and device_power_set_private.
The latter is a temporary mean until the pnp_register API itself is
overhault. This functions allow a generic power handler to store its
state independent of the driver.

Use this and revamp the PCI power handling. Pretty much all PCI devices
had power handlers that did the same thing, generalize this in
pci_generic_power_register/deregister and the handler. This interface
offers callbacks for the drivers to save and restore state on
transistions. After a long discussion with jmcneill@ it was considered
to be powerful enough until evidence is shown that devices can handle
D1/D2 with less code and higher speed than without the full
save/restore. The generic code is carefully written to handle device
without PCI-PM support and ensure that the correct registers are written
to when D3 loses all state.

Reimplement the generic PCI network device handling on
top of PCI generic power handling.

Introduce pci_disable_retry as used and implemented locally at least by
ath(4) and iwi(4). Use it in this drivers to restore behaviour from
before the introduction of generic PCI network handling.

Convert all PCI drivers that were using pnp_register to the new
framework. The only exception is vga(4) as it is commonly used as
console device. Add a note therein that this should be fixed later.

Revision 1.32.8.2 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:24 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.32.8.1: +4 -2 lines
Diff to previous 1.32.8.1 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:25 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.2.2: +17 -4 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored)

sync with head.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:09 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:41 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Aug 28 19:42:06 2007 UTC (4 years, 8 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Pull up following revision(s) (requested by martin in ticket #848):
	sys/dev/pci/vga_pci.c: revision 1.33
Allow 64bit memory BARs if we are compiling on 64bit archs.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Aug 26 19:52:06 2007 UTC (4 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored)

Allow 64bit memory BARs if we are compiling on 64bit archs.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:22 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.32: +53 -2 lines
Diff to previous 1.32 (colored)

Pull in power management changes from private branch.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:08:03 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.31: +13 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with head.

Revision 1.31.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.31: +13 -2 lines
Diff to previous 1.31 (colored)

Sync with head.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:52 2007 UTC (5 years, 1 month ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.31: +13 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pullup to -current

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:33 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.30.4.1: +13 -2 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 20 18:05:31 2007 UTC (5 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.31: +13 -2 lines
Diff to previous 1.31 (colored)

Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
 the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
 BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test

Revision 1.30.4.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.30: +4 -4 lines
Diff to previous 1.30 (colored)

Sync with HEAD.

Revision 1.31 / (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.30: +4 -4 lines
Diff to previous 1.30 (colored)

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

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:49 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.2.1: +6 -4 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

sync with head.

Revision 1.28.22.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:47 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.28.22.1: +6 -6 lines
Diff to previous 1.28.22.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.28.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:34 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.28: +6 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:10 2006 UTC (5 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.29: +6 -6 lines
Diff to previous 1.29 (colored)

__unused removal on arguments; approved by core.

Revision 1.28.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:19 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:33 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.27.2.1 / (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.27: +5 -5 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:51 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

merge ktrace-lwp.

Revision 1.23.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:03 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.5: +13 -14 lines
Diff to previous 1.23.2.5 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD. Here we go again...

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (6 years, 10 months ago) by thorpej
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.26: +13 -14 lines
Diff to previous 1.26 (colored)

Use ANSI function decls and static.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:12 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with -current

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.23.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:26 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.4: +8 -8 lines
Diff to previous 1.23.2.4 (colored) to branchpoint 1.23 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.26 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:34 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 (colored)

nuke trailing whitespace

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:08 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.3: +5 -5 lines
Diff to previous 1.23.2.3 (colored) to branchpoint 1.23 (colored)

Fix the sync with head I botched.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:06 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.2: +5 -5 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored)

Sync with HEAD.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:12 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.1: +4 -4 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Tue May 11 22:45:30 2004 UTC (8 years ago) by wiz
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Fix typo in comment; from Sergey Svishchev.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 23 21:13:07 2004 UTC (8 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:13 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 29 22:30:29 2003 UTC (8 years, 10 months ago) by fvdl
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
Branch point for: ktrace-lwp
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:39 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Wed Feb 26 11:51:06 2003 UTC (9 years, 3 months ago) by salo
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Regen.

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:23 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.4.2.6: +2 -5 lines
Diff to previous 1.4.2.6 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Catch up to -current.

Revision 1.4.4.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:17 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.4.4.3: +4 -7 lines
Diff to previous 1.4.4.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:59 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 30 20:38:07 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +4 -7 lines
Diff to previous 1.18 (colored)

Use CFATTACH_DECL().

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:46 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Declare all cfattach structures const.

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:39 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.4.4.2: +39 -3 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored)

sync kqueue branch with HEAD

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:45:30 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.5: +39 -3 lines
Diff to previous 1.4.2.5 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:46 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.10.4.1: +39 -3 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

catch up with -current.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 8 19:48:37 2002 UTC (9 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.16: +4 -8 lines
Diff to previous 1.16 (colored)

there is at least one VGA chip (Silicon Motion Lynx EM+) where fast scrolling
by moving the display offset pointer doesn't work

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 2 18:17:30 2002 UTC (9 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.15: +18 -2 lines
Diff to previous 1.15 (colored)

consider all ATI cards broken wrt font handling, as suggested by
Bang Jun-Young <junyoung@mogua.com>, but do it in way which allows
single cards to be declared O.K. in case we find one

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 28 22:24:13 2002 UTC (9 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.14: +26 -3 lines
Diff to previous 1.14 (colored)

clean up font handling:
-treat the builtin font like any other font at runtime
-for that, copy it to malloc()'d memory during attach()
-in early console initialization, if we have to consider a broken card
 (VGA_CONSOLE_ATI_BROKEN_FONTSEL), copy the builtin font to another
 location in font ram; the attach() code will do the rest
put the "quirk" code into effect again

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 27 06:44:17 2002 UTC (9 years, 11 months ago) by junyoung
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Whitespace KNF.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 27 06:26:55 2002 UTC (9 years, 11 months ago) by junyoung
Branch: MAIN
Changes since 1.12: +1 -24 lines
Diff to previous 1.12 (colored)

- Work around a hardware bug that loaded fonts don't work, which is
  found on many (all?) of PCI-based ATI graphics cards. It is fully optional
  and can be enabled by adding `options VGA_CONSOLE_ATI_BROKEN_FONTSEL'
  to config file.
- Temporarily remove `quirk' mechanism. Similar code already exists
  in pci_quirks.c.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 25 21:07:43 2002 UTC (9 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.11: +26 -3 lines
Diff to previous 1.11 (colored)

allow to overwrite the builtin VGA font if necessary,
make the number of available font slots variable,
set up a "quirk" mechanism to tell the generic vga code about crippled
VGA adapters which ignore the "fontsel" TS register,
initiate the quirk table with an ATI chip which happened to be on a board
I tested with.
Afaik quite a number of ATI chips suffers from the "loaded fonts don't
work" problem - these should be added.
Bad side effect of my change: The builtin font will be kicked out
always if a VGA_CONSOLE_SCREENTYPE is specified which needs a loaded
font. In early console initialization, we don't know much about the
graphics card, so we have to assume the worst (ie ATI:-).

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:48:06 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.4.4.1: +13 -8 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

catch up with -current on kqueue branch

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Thu Jun 20 16:33:50 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.10: +12 -7 lines
Diff to previous 1.10 (colored)

catch up with -current.

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:45:56 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.4: +12 -7 lines
Diff to previous 1.4.2.4 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 30 12:06:43 2002 UTC (9 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.10: +12 -7 lines
Diff to previous 1.10 (colored)

implement a check whether a BAR is present at all at a given configuration
space address and use it where the mappings of the VGA card are registered
before descenting too deep into "memory" type specific code
(pci_mem_find() gets noisy if it doesn't like the register)

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:46 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.3: +3 -3 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 17 19:41:00 2002 UTC (10 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:57:08 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.4: +132 -25 lines
Diff to previous 1.4 (colored)

Sync kqueue branch with -current.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:18 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.2: +11 -16 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 13 08:38:35 2001 UTC (10 years, 5 months ago) by junyoung
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll
Changes since 1.8: +11 -16 lines
Diff to previous 1.8 (colored)

ANSIfication & KNF fixes.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:32 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.1: +4 -1 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:49 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

add RCSID

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:46:04 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.4: +120 -11 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Catch up with -current.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:03 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4: +120 -11 lines
Diff to previous 1.4 (colored)

Catch up to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 14 16:54:20 2001 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.6: +76 -2 lines
Diff to previous 1.6 (colored)

Gather information about the mappable regions of the card at
attach time.  Allow access to these regions in vga_pci_mmap().

Note: we also have to allow access to the legacy ISA "hole" in
vga_pci_mmap(), since the X server needs to be able to read
the legacy BIOS on many cards.

XXX Need to address the PCI Expansion ROM.

Based on changes from Simon Burge <simonb@wasabisystems.com>.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 14 06:46:08 2001 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +39 -2 lines
Diff to previous 1.5 (colored)

Add ioctl and mmap entry points for PCI VGA.  ioctl provides
passthrough for PCI config space read/write.  mmap currently
returns error (to be addressed in a future revision).

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 14 01:10:12 2001 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +9 -11 lines
Diff to previous 1.4 (colored)

Allow bus front-end to provide both ioctl and mmap entry points,
and also the wsdisplay type.

Based on changes from Simon Burge <simonb@wasabisystems.com>.

Revision 1.3.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:39 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 14 20:14:51 2000 UTC (11 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Just add the mmap argument to vga_common_attach(), don't bother
with vga_extended_attach().

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 8 06:55:58 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.2: +1 -9 lines
Diff to previous 1.2 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 28 16:48:41 1998 UTC (14 years ago) by drochner
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Put definitions and subroutines needed for all PC display adapters
(MGA/GCA and compatibles) into global headers / source files.
Let the VGA driver use them.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 22 15:16:18 1998 UTC (14 years, 2 months ago) by drochner
Branch: MAIN

PCI frontend for sys/dev/ic/vga.c

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>