The NetBSD Project

CVS log for src/sys/dev/ic/pckbc.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.65 / (download) - annotate - [select for diffs], Thu Nov 17 23:57:20 2022 UTC (16 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.64: +2 -6 lines
Diff to previous 1.64 (colored) to selected 1.57.4.1 (colored)

pckbc(4): Stop waiting 8us before reading each data byte.

This appears to have copied from pccons(4), where it was introduced
by mycroft@ in 1994 in sys/arch/i386/isa/pccons.c rev. 1.63 with the
commit message `Rename two files.'.  No justification was given.

This delay was in a hard interrupt handler, and an MP-unsafe one to
boot, so it could hold up system responsiveness by delaying interrupt
handling and blocking other users of the legacy kernel lock.

The delay remains in the pckbc_wait_output loop to set a command
byte, which is not used in the interrupt path (and I suspect is used
only on boot during attach anyway).

Revision 1.64 / (download) - annotate - [select for diffs], Fri Oct 28 23:44:38 2022 UTC (16 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.63: +9 -13 lines
Diff to previous 1.63 (colored) to selected 1.57.4.1 (colored)

pckbc(4): Simplify the (disabled) logic to check keyboard port.

No functional change intended -- just reduces code duplication (and
fixes wrong-number-of-arguments in #if 0 logic).

Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 28 23:40:37 2022 UTC (16 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.62: +9 -9 lines
Diff to previous 1.62 (colored) to selected 1.57.4.1 (colored)

pckbport(4): C99 initializers

No functional change intended.

Revision 1.62 / (download) - annotate - [select for diffs], Fri May 1 01:34:57 2020 UTC (3 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.61: +6 -3 lines
Diff to previous 1.61 (colored) to selected 1.57.4.1 (colored)

Zero rndsource before using it.

XXX pullup

Revision 1.59.18.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:22 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.59.18.1: +3 -7 lines
Diff to previous 1.59.18.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored) to selected 1.57.4.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.61 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:35 2019 UTC (4 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.60: +3 -7 lines
Diff to previous 1.60 (colored) to selected 1.57.4.1 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.59.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:11 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Wed May 1 07:23:22 2019 UTC (4 years, 10 months ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored) to selected 1.57.4.1 (colored)

slotdata might not be attached, don't use it then.

Revision 1.53.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.53.6.2: +5 -5 lines
Diff to previous 1.53.6.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored) to selected 1.57.4.1 (colored)

update from HEAD

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:41 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.57.4.1: +6 -6 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jul 14 10:19:06 2016 UTC (7 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.58: +6 -6 lines
Diff to previous 1.58 (colored) to selected 1.57.4.1 (colored)

- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.

Revision 1.57.4.1 / (download) - annotate - [selected], Sat Jun 6 14:40:07 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Mon Apr 13 16:33:24 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.57.4.1 (colored)

Convert sys/dev to use <sys/rndsource.h>.

Revision 1.53.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:38 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.53.6.1: +7 -9 lines
Diff to previous 1.53.6.1 (colored) to branchpoint 1.53 (colored) to selected 1.57.4.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:35 2014 UTC (9 years, 7 months ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) to selected 1.57.4.1 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.51.8.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:22 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.51.8.2: +6 -8 lines
Diff to previous 1.51.8.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored) to selected 1.57.4.1 (colored)

sync with head.

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

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

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.54: +6 -8 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Apr 7 03:37:32 2014 UTC (9 years, 11 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored) to selected 1.57.4.1 (colored)

Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
   RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
   and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
   places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
   that had stubbed out code, other minor cleanups.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Fri Feb 7 11:15:37 2014 UTC (10 years, 1 month ago) by sborrill
Branch: netbsd-6
Changes since 1.53: +6 -4 lines
Diff to previous 1.53 (colored) next main 1.54 (colored) to selected 1.57.4.1 (colored)

Pull up the following revisions(s) (requested by skrll in ticket #1014):
	sys/dev/ic/pckbc.c:	revision 1.56

Do not take data from the keyboard controller in interrupt handler if
we are polling. Fixes PR/47406

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jan 11 20:17:56 2014 UTC (10 years, 2 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.55: +6 -4 lines
Diff to previous 1.55 (colored) to selected 1.57.4.1 (colored)

Do not take data from the controller in interrupt handler if we are polling.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Sep 15 09:21:21 2013 UTC (10 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.54: +2 -6 lines
Diff to previous 1.54 (colored) to selected 1.57.4.1 (colored)

Remove unused variable

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:07 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.53: +22 -3 lines
Diff to previous 1.53 (colored) to selected 1.57.4.1 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.51.8.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:07 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.51.8.1: +22 -3 lines
Diff to previous 1.51.8.1 (colored) to branchpoint 1.51 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Sat Oct 13 17:51:28 2012 UTC (11 years, 5 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.53: +22 -3 lines
Diff to previous 1.53 (colored) to selected 1.57.4.1 (colored)

Add two flags to keyboard/mouse attachment:
  PCKBC_CANT_TRANSLATE for keyboards that cannot translate to XT scancodes
  PCKBC_NEED_AUXWRITE for mice that don't probe first time
These flags can be set by the port-specific attachments.

Add the translation table and function to handle set 2 to set 1 keyboard
translation in software.

Based on OpenBSD sys/dev/ic/pckbc.c revisions 1.10, 1.16, 1.17, and
sys/dev/pckbc/pckbd.c revision 1.15, and 8042 scan code information at:

  http://www.computer-engineering.org/ps2keyboard/

Note, that this changes the signature of pckbc_cnattach(), so ride the
kernel version bump for namei.

Revision 1.51.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:36 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.51: +4 -14 lines
Diff to previous 1.51 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:23 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.52: +3 -13 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.57.4.1 (colored)

merge to -current.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:03 2012 UTC (12 years, 1 month ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: tls-maxphys, netbsd-6
Changes since 1.52: +3 -13 lines
Diff to previous 1.52 (colored) to selected 1.57.4.1 (colored)

Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:22 2011 UTC (12 years, 4 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.57.4.1 (colored)

First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:19 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.48.2.1: +11 -11 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:11 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.47.2.1: +9 -9 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.44.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:29 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.2.3: +12 -12 lines
Diff to previous 1.44.2.3 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Aug 8 09:33:05 2010 UTC (13 years, 7 months ago) by isaki
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.50: +11 -11 lines
Diff to previous 1.50 (colored) to selected 1.57.4.1 (colored)

white space -> tab.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:24 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:20 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Apr 19 18:24:26 2010 UTC (13 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.49: +3 -5 lines
Diff to previous 1.49 (colored) to selected 1.57.4.1 (colored)

Add default implementations for bus_space_is_equal(9),
bus_space_tag_create(9), and bus_space_tag_destroy(9).  Use
bus_space_is_equal(9) throughout the kernel to compare
bus_space_tag_t's.  Tested on i386 and on sparc64.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Mar 22 23:08:34 2010 UTC (14 years ago) by dyoung
Branch: MAIN
Changes since 1.48: +4 -2 lines
Diff to previous 1.48 (colored) to selected 1.57.4.1 (colored)

pckbc.c, vga.c: It doesn't appear to be helpful to compare two
    bus_space_tag_t's in pckbc_is_console() and vga_is_console(), and MI
    code should never do such a thing, so don't do it.

tcic2.c: #if 0 some diagnostic code that compares two bus_space_tag_t's.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:33 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.2.2: +3 -3 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.48 / (download) - annotate - [select for diffs], Wed Feb 24 22:37:58 2010 UTC (14 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.57.4.1 (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.47 / (download) - annotate - [select for diffs], Fri Jan 8 20:02:39 2010 UTC (14 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) to selected 1.57.4.1 (colored)

Expand PMF_FN_* macros.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:24 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.2.1: +3 -3 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.45.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:23 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

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

Revision 1.46 / (download) - annotate - [select for diffs], Tue May 12 14:25:18 2009 UTC (14 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) to selected 1.57.4.1 (colored)

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

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:43 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:05 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.57.4.1 (colored)

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

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:34 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.43.2.1: +4 -4 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.40.6.3 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:35 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.6.2: +2 -2 lines
Diff to previous 1.40.6.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Also fix build.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 4 16:29:14 2008 UTC (15 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, 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, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) to selected 1.57.4.1 (colored)

Reduce polling of the keyboard controller status by a factor of 1000.
While on real hardware hardware a poll cycle takes time in the
microsecond order of magnitude, a "legacy-free" system which emulates
the KBC in BIOS code takes milliseconds -- I'm seeing a multi-minute
delay in booting where the KBC is probed. So poll less and use delay()
to compensate so that the total wait time stays about the same.

Revision 1.40.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:26 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.6.1: +20 -55 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:45 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.43: +21 -56 lines
Diff to previous 1.43 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Apr 26 12:03:43 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.43: +21 -56 lines
Diff to previous 1.43 (colored) to selected 1.57.4.1 (colored)

ansify

Revision 1.43 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:27 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.57.4.1 (colored)

use aprint_*_dev and device_xname

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:42 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:17 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.37.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:39 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.37.8.2: +5 -5 lines
Diff to previous 1.37.8.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.57.4.1 (colored)

sync with HEAD

Revision 1.34.4.4 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:43 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.4.3: +5 -5 lines
Diff to previous 1.34.4.3 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 15 13:23:24 2008 UTC (16 years ago) by cube
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored) to selected 1.57.4.1 (colored)

Split device_t and softc for pckbc(4) and its attachments.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Feb 29 06:17:36 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.57.4.1 (colored)

Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:41 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.34.4.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:03 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.4.2: +19 -3 lines
Diff to previous 1.34.4.2 (colored) to branchpoint 1.34 (colored) to selected 1.57.4.1 (colored)

sync with head

Revision 1.37.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:58 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.37.8.1: +19 -3 lines
Diff to previous 1.37.8.1 (colored) to branchpoint 1.37 (colored) to selected 1.57.4.1 (colored)

sync with HEAD

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:04 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 4 21:17:57 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: 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.39: +2 -3 lines
Diff to previous 1.39 (colored) to selected 1.57.4.1 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:20 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.38: +19 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.57.4.1 (colored)

Sync with head.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:27:40 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-kmem
Changes since 1.38: +19 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:58 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.38: +19 -2 lines
Diff to previous 1.38 (colored) to selected 1.57.4.1 (colored)

Merge jmcneill-pm branch.

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:02 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.57.4.1 (colored)

sync with HEAD

Revision 1.37.6.3 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:17 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.37.6.2: +13 -40 lines
Diff to previous 1.37.6.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.57.4.1 (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.34.4.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:58 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.4.1: +3 -3 lines
Diff to previous 1.34.4.1 (colored) to branchpoint 1.34 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.37.6.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:57 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.37.6.1: +3 -3 lines
Diff to previous 1.37.6.1 (colored) to branchpoint 1.37 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.37.12.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:53 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.35.30.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:39 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.35.30.2: +3 -3 lines
Diff to previous 1.35.30.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.57.4.1 (colored)

Sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:59 2007 UTC (16 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, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2, mjf-devfs
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.57.4.1 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:05 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34: +17 -17 lines
Diff to previous 1.34 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:16 2007 UTC (16 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.37: +46 -2 lines
Diff to previous 1.37 (colored) to selected 1.57.4.1 (colored)

Pull in power management changes from private branch.

Revision 1.35.30.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:17 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.35.30.1: +16 -16 lines
Diff to previous 1.35.30.1 (colored) to branchpoint 1.35 (colored) to selected 1.57.4.1 (colored)

Sync with head.

Revision 1.35.32.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:07 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.35: +17 -17 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.57.4.1 (colored)

Sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:38 2007 UTC (16 years, 8 months ago) by ad
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, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.57.4.1 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.35.30.1 / (download) - annotate - [select for diffs], Sun Jul 1 21:47:52 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.57.4.1 (colored)

Adapt to callout API change.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 24 19:07:00 2007 UTC (16 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.35: +16 -16 lines
Diff to previous 1.35 (colored) to selected 1.57.4.1 (colored)

PR/36538: Greg A. Woods: fix printfs to match driver name.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:28 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.57.4.1 (colored)

merge ktrace-lwp.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:52 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.32: +20 -20 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.57.4.1 (colored)

sync with -current

Revision 1.32.10.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:03 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.32.10.1: +3 -3 lines
Diff to previous 1.32.10.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.57.4.1 (colored)

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

Revision 1.26.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:32 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.4: +3 -3 lines
Diff to previous 1.26.2.4 (colored) next main 1.27 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:02 2005 UTC (19 years, 1 month ago) by perry
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, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.57.4.1 (colored)

nuke trailing whitespace

Revision 1.32.10.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:44 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.32: +19 -19 lines
Diff to previous 1.32 (colored) to selected 1.57.4.1 (colored)

sync with head.

Revision 1.26.2.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:45:26 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.3: +19 -19 lines
Diff to previous 1.26.2.3 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:37 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.32: +19 -19 lines
Diff to previous 1.32 (colored) to selected 1.57.4.1 (colored)

de-__P

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:28:07 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.2: +2 -2 lines
Diff to previous 1.26.2.2 (colored) to selected 1.57.4.1 (colored)

Fix the sync with head I botched.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:46:00 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.1: +0 -0 lines
Diff to previous 1.26.2.1 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:18 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26: +128 -489 lines
Diff to previous 1.26 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 24 17:26:53 2004 UTC (20 years ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.31: +2 -8 lines
Diff to previous 1.31 (colored) to selected 1.57.4.1 (colored)

remove license clauses 3 and 4 from my cpoyright notices

Revision 1.31 / (download) - annotate - [select for diffs], Sat Mar 13 17:31:34 2004 UTC (20 years ago) by bjh21
Branch: MAIN
Changes since 1.30: +65 -503 lines
Diff to previous 1.30 (colored) to selected 1.57.4.1 (colored)

Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it.  This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111.  The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers.  To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned.  Thy just use rather more function pointers than before.  Tested
on i386 and (with a new host driver) acorn32.  Compiled on several other
affected architectures.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 14 14:33:29 2004 UTC (20 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.29: +5 -14 lines
Diff to previous 1.29 (colored) to selected 1.57.4.1 (colored)

Add a new MI attribute, pckbc_machdep_cnattach, and change pckbc_cnattach()
to only call pckbc_machdep_cnattach() if this is present.  This allows
pckbc_machdep_cnattach() to be omitted entirely on most ports, where it only
returns ENXIO anyway.

The devices with this attribute at the moment are pc(4) on i386 and bebox, and
pckbc on sparc, where pckbc_machdep_cnattach() mysteriously returns 0 rather
than ENXIO.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Dec 12 22:35:13 2003 UTC (20 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored) to selected 1.57.4.1 (colored)

Fix compilation for ports w/o __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Dec 12 14:30:16 2003 UTC (20 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.27: +94 -2 lines
Diff to previous 1.27 (colored) to selected 1.57.4.1 (colored)

In parallel to the interrupt handler pckbcintr provide two functions
pckbcintr_hard and pckbcintr_soft, which, together, do the same as
pckbcintr. The first is called from the interrupt handler, the second
from a softinterrupt at arbitrary protection level (lower or equal to
IPL_TTY). They pass data via a small ringbuffer.

The new functions are intended for platforms that, due to
hardware/firmware restrictions are not able to make pckbcintr called at
IPL_TTY, like Krups javastations. Using the monolithic pckbcintr on
these plattforms leads to the input handlers for the slot data to be
run at elevated priority, causing various race conditions.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Nov 2 11:07:45 2003 UTC (20 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.57.4.1 (colored)

Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 12 03:34:12 2003 UTC (20 years, 9 months ago) by uwe
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.25: +35 -15 lines
Diff to previous 1.25 (colored) to selected 1.57.4.1 (colored)

Request KBC_SELFTEST in pckbc_cnattach(), hidden under #ifdef
PCKBC_CNATTACH_SELFTEST.  On machines where we boot on cold iron
(e.g. netwinder) we need this to init the pckbc.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 10 07:46:29 2003 UTC (20 years, 9 months ago) by grant
Branch: MAIN
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored) to selected 1.57.4.1 (colored)

wrap a debug message in #ifdef PCKBCDEBUG.

ok'd by simonb. fixes my PR kern/18441.

Revision 1.5.6.7 / (download) - annotate - [select for diffs], Fri Jan 3 17:07:41 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.5.6.6: +3 -3 lines
Diff to previous 1.5.6.6 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 1 00:20:32 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.57.4.1 (colored)

Use aprint_normal() in cfprint routines.

Revision 1.5.6.6 / (download) - annotate - [select for diffs], Mon Nov 11 22:09:56 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.6.5: +3 -3 lines
Diff to previous 1.5.6.5 (colored) to branchpoint 1.5 (colored) to selected 1.57.4.1 (colored)

Catch up to -current

Revision 1.23 / (download) - annotate - [select for diffs], Fri Nov 1 21:39:31 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) to selected 1.57.4.1 (colored)

pckbc_poll_data1(): make sure the loop variable is always initialized
this potential problem found by Krister Walfridsson

Revision 1.5.6.5 / (download) - annotate - [select for diffs], Fri Oct 18 02:41:58 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.6.4: +3 -3 lines
Diff to previous 1.5.6.4 (colored) to branchpoint 1.5 (colored) to selected 1.57.4.1 (colored)

Catch up to -current.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:39:10 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.13.2.2: +3 -3 lines
Diff to previous 1.13.2.2 (colored) next main 1.14 (colored) to selected 1.57.4.1 (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.22 / (download) - annotate - [select for diffs], Fri Sep 27 03:18:13 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.57.4.1 (colored)

Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:54:58 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.13.2.1: +26 -8 lines
Diff to previous 1.13.2.1 (colored) to selected 1.57.4.1 (colored)

Sync kqueue branch with -current.

Revision 1.5.6.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:30:03 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.6.3: +24 -9 lines
Diff to previous 1.5.6.3 (colored) to branchpoint 1.5 (colored) to selected 1.57.4.1 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Dec 18 15:50:23 2001 UTC (22 years, 3 months ago) by soren
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.20: +12 -15 lines
Diff to previous 1.20 (colored) to selected 1.57.4.1 (colored)

Previous was committed by mistake; revert.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Dec 15 13:23:22 2001 UTC (22 years, 3 months ago) by soren
Branch: MAIN
Changes since 1.19: +17 -14 lines
Diff to previous 1.19 (colored) to selected 1.57.4.1 (colored)

To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 6 20:00:58 2001 UTC (22 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.18: +10 -4 lines
Diff to previous 1.18 (colored) to selected 1.57.4.1 (colored)

Small change to Christos' fix: allow malloc() to return NULL, but complain
if it does.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 6 19:54:02 2001 UTC (22 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.57.4.1 (colored)

change the malloc arg from NOWAIT to WAITOK; pointed out by lennard.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Dec 6 19:52:56 2001 UTC (22 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.16: +17 -8 lines
Diff to previous 1.16 (colored) to selected 1.57.4.1 (colored)

PR/14852: Martin Husemann: Allocate the slotdata the the probed slot before
we call the configuration function. Thanks lennard for pointing it out.
XXX: Someone should look this over and make sure that the current strategy
makes sense.

Revision 1.5.6.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:34 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.6.2: +4 -1 lines
Diff to previous 1.5.6.2 (colored) to branchpoint 1.5 (colored) to selected 1.57.4.1 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 13 13:14:43 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.15: +4 -1 lines
Diff to previous 1.15 (colored) to selected 1.57.4.1 (colored)

add/cleanup RCSID

Revision 1.5.6.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:35 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.6.1: +59 -39 lines
Diff to previous 1.5.6.1 (colored) to branchpoint 1.5 (colored) to selected 1.57.4.1 (colored)

Catch up with -current.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Thu Aug 16 13:47:20 2001 UTC (22 years, 7 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002
Changes since 1.5: +25 -13 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.57.4.1 (colored)

Pullup [drochner]:

sys/dev/ic/pckbc.c				1.6-1.8

  Change the way the aux port is probed for. Some older chipsets w/o
  mouse port seem to interpret the "test aux port" (0xa9) command differently,
  leading to a non-working keyboard.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:02 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.13: +53 -33 lines
Diff to previous 1.13 (colored) to selected 1.57.4.1 (colored)

update to -current

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 31 13:15:28 2001 UTC (22 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.14: +36 -7 lines
Diff to previous 1.14 (colored) to selected 1.57.4.1 (colored)

Make console polling (cnpollc/cngetc) work on IBM PS/2 keyboard controller
using level triggered interrupts, which livelocks calling intr routine
if the data register is not read in the interrupt routine, as it's case
when polling after interrupts are enabled during boot.

Block all interrupts when polling for keypress, and modify intr routine
to read and store value from data register. The latter one is to avoid
losing a keypress when one would manage to press a key when kernel is
not in spl-guarded code section.

Tested with classic pccons, 'pcconskbd at pckbc' and 'pckbd at pckbc'
configurations, on i386.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 23 21:03:21 2001 UTC (22 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.13: +18 -27 lines
Diff to previous 1.13 (colored) to selected 1.57.4.1 (colored)

Since ~all pckbc_poll_data1() callers had the appropriate pckbc
tag handy and we are going to need more of it in pckbc_poll_data1() soon,
change pckbc_poll_data1() to accept it as first arg. iot, ioh_d, ioh_c are
no longer passed separately. Use fabricated pckbc tag for calls from
arch/arc/jazz/pckbc_jazzio.c and dev/isa/pckbc_isa.c.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jul 7 16:13:50 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.57.4.1 (colored)

bzero -> memset

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 7 15:53:21 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored) to selected 1.57.4.1 (colored)

bcopy -> memcpy

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:03:06 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5: +28 -16 lines
Diff to previous 1.5 (colored) to selected 1.57.4.1 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 17 16:15:41 2001 UTC (22 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored) to selected 1.57.4.1 (colored)

make pckbc_slot_names[], pckbc_portcmd const

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 2 00:46:00 2001 UTC (22 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.9: +1 -15 lines
Diff to previous 1.9 (colored) to selected 1.57.4.1 (colored)

Back the last revision off, upon Bill Sommerfeld's request

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 2 00:01:04 2001 UTC (22 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.8: +15 -1 lines
Diff to previous 1.8 (colored) to selected 1.57.4.1 (colored)

When polling, raise priority level to tty, to block keyboard interrupts
when the system is "warm", i.e. interrupts are not blocked anymore.
This seems to be necessary on my PS/2 Model 70 keyboard - without this,
system ends up in endless loop calling the keyboard intr routine if a key
is pressed when polling. This _may_ be just specific to level-triggered
interrupts PS/2 MCA uses, though it's more likely it's just the way the
particular keyboard controller works.

Discussed on tech-kern@.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 17 10:48:39 2001 UTC (22 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.7: +12 -29 lines
Diff to previous 1.7 (colored) to selected 1.57.4.1 (colored)

Revert previous change; this breaks for the old controllers which 1.6
should help for. Instead, weaken the "echo" test: don't insist in
getting the same value back which was written.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 15 22:01:07 2001 UTC (22 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.6: +29 -5 lines
Diff to previous 1.6 (colored) to selected 1.57.4.1 (colored)

Try the kbc_auxtest if the random write/read to the aux port fails (it returns
0xfe on my gateway 2000 circa 1993). That should not affect broken controllers
that choke on the kbc_auxtest, because for those the write/read test succeeds.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Sat Apr 21 17:48:42 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.4.2: +18 -13 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.57.4.1 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 9 15:45:50 2001 UTC (22 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.5: +18 -13 lines
Diff to previous 1.5 (colored) to selected 1.57.4.1 (colored)

Change the way the aux port is probed for. Some older chipsets w/o
mouse port seem to interpret the "test aux port" (0xa9) command differently,
leading to a non-working keyboard.
Now we try to echo a byte through the aux port by means of the "echo aux"
(0xd3) command, which is what Linux does.
Thanks to Christoph Badura for detailed reports and testing.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:40:51 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.4.1: +1005 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) to selected 1.57.4.1 (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.2.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:06:52 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.2: +22 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.57.4.1 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.5.4.1, Fri Jun 9 04:58:35 2000 UTC (23 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5: +0 -1005 lines
FILE REMOVED

file pckbc.c was added on branch thorpej_scsipi on 2000-11-20 11:40:51 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 9 04:58:35 2000 UTC (23 years, 9 months ago) by soda
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: thorpej_scsipi, netbsd-1-5, nathanw_sa
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored) to selected 1.57.4.1 (colored)

increase number of parameters of pckbc_cnattach(), since offset of command port
is not 4 (KBCMDP), but 1 on jazz based platforms of arc port.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 6 16:21:22 2000 UTC (23 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored) to selected 1.57.4.1 (colored)

Fix previous change: guard against missing subdevices of pckbc.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 5 22:20:54 2000 UTC (23 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.2: +18 -2 lines
Diff to previous 1.2 (colored) to selected 1.57.4.1 (colored)

If rnd is configured into the kernel, do rnd(4) entropy collection
from devices connected to pckbc:
 - Do actual sample collection in pckbc.
 - Add rndsource_element_t to the slot data.
 - Change pckbc_set_inputhandler() to take an additional argument,
the name of the device, which is (eventually) passed into
rnd_attach_source() to identify the source.
 - Change callers of pckbc_set_inputhander() appropriately.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:32 2000 UTC (24 years ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored) to selected 1.57.4.1 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:50 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.57.4.1 (colored)

Pull up to last week's -current.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 3 22:48:25 1999 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Branch point for: wrstuden-devbsize
Diff to selected 1.57.4.1 (colored)

Split the PC-like keyboard controller driver into chip back-end and
bus front-end.

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>