The NetBSD Project

CVS log for src/sys/arch/sh3/dev/sci.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.65 / (download) - annotate - [select for diffs], Sun Sep 17 14:22:28 2023 UTC (6 months ago) by andvar
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

remove unneeded whitespace in empty line from my previous commit.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 16 18:56:39 2023 UTC (6 months ago) by andvar
Branch: MAIN
Changes since 1.63: +14 -18 lines
Diff to previous 1.63 (colored)

sh3/sci(4): replace undefined scistatus with DPRINTF.

Fixes the build with SCI_DEBUG enabled.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 21 17:25:52 2020 UTC (3 years, 3 months ago) by thorpej
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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, 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.62: +4 -4 lines
Diff to previous 1.62 (colored)

malloc(9) -> kmem(9)

Revision 1.62 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:32 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
Branch point for: thorpej-futex
Changes since 1.61: +3 -8 lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Sat Nov 15 19:20:01 2014 UTC (9 years, 4 months ago) by christos
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, phil-wifi-20190609, 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, 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, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, 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-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.60: +4 -7 lines
Diff to previous 1.60 (colored)

centralize the call unit / dialout macros

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:34 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 19 18:01:18 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.58: +3 -4 lines
Diff to previous 1.58 (colored)

fix -Werror=unused-but-set-variable compile error

Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:25 2014 UTC (10 years ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, 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.57: +13 -4 lines
Diff to previous 1.57 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Dec 12 13:32:37 2012 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, 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.56: +3 -2 lines
Diff to previous 1.56 (colored)

Fix one more device/softc split error:
 - set sc->sc_dev properly

Revision 1.56 / (download) - annotate - [select for diffs], Mon Oct 29 12:51:38 2012 UTC (11 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

fix device/softc split errors.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:10 2012 UTC (11 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.54: +19 -19 lines
Diff to previous 1.54 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:00 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, netbsd-6, 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
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (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.53 / (download) - annotate - [select for diffs], Sun Apr 24 16:26:57 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency.  Remove some unnecessary malloc.h inclusions as well.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:13 2009 UTC (15 years ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.51: +4 -7 lines
Diff to previous 1.51 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 13 13:08:57 2008 UTC (15 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, 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, nick-hppapmap-base2, 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: nick-hppapmap, jym-xensuspend
Changes since 1.50: +12 -15 lines
Diff to previous 1.50 (colored)

use device_lookup_private to get softc

Revision 1.50 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:35 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.49: +2 -9 lines
Diff to previous 1.49 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.49 / (download) - annotate - [select for diffs], Mon Nov 19 18:51:42 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.48: +8 -16 lines
Diff to previous 1.48 (colored)

- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:06 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:27 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-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.46: +17 -96 lines
Diff to previous 1.46 (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.46 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:40 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

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

Revision 1.45 / (download) - annotate - [select for diffs], Sun Oct 1 20:31:50 2006 UTC (17 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, 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, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Oct 1 18:56:22 2006 UTC (17 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.43: +3 -6 lines
Diff to previous 1.43 (colored)

Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:06 2006 UTC (17 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.42: +6 -4 lines
Diff to previous 1.42 (colored)

Use the LWP cached credentials where sane.

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 14 21:56:33 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.41: +5 -4 lines
Diff to previous 1.41 (colored)

integrate kauth.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Mar 7 10:53:29 2006 UTC (18 years ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base, elad-kernelauth-base
Branch point for: peter-altq, elad-kernelauth
Changes since 1.40: +3 -8 lines
Diff to previous 1.40 (colored)

* Don't define SET/CLR/ISSET locally.
* Avoid shadow in a pointer-to-function declaration.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Feb 20 16:50:36 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.39: +9 -9 lines
Diff to previous 1.39 (colored)

Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:58 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.38: +11 -11 lines
Diff to previous 1.38 (colored)

merge ktrace-lwp.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 6 21:40:38 2005 UTC (18 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 11 07:08:33 2005 UTC (19 years ago) by matt
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
Branch point for: yamt-lazymbuf
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Don't compare scalars against NULL, use 0.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 13 02:14:13 2004 UTC (19 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.35: +7 -11 lines
Diff to previous 1.35 (colored)

for drivers that support only one instance, use a global variable to ensure
that only one instance is configured rather than requiring that its
unit number be zero.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:28 2003 UTC (20 years, 7 months ago) by agc
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, kent-audio1-base, kent-audio1
Changes since 1.34: +3 -7 lines
Diff to previous 1.34 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 15 03:35:55 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.33: +4 -1 lines
Diff to previous 1.33 (colored)

__KERNEL_RCSID()

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 23 09:11:55 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 2 15:52:34 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 1 21:24:43 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +3 -4 lines
Diff to previous 1.30 (colored)

Use CFATTACH_DECL().

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 27 20:35:23 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Declare all cfattach structures const.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:23 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 6 months ago) by gehenna
Branch: MAIN
Changes since 1.27: +15 -5 lines
Diff to previous 1.27 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 16 08:56:27 2002 UTC (21 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.26: +1 -4 lines
Diff to previous 1.26 (colored)

remove extra CRLF conversion

Revision 1.26 / (download) - annotate - [select for diffs], Sun May 19 15:10:47 2002 UTC (21 years, 10 months ago) by msaitoh
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
Branch point for: nathanw_sa
Changes since 1.25: +61 -55 lines
Diff to previous 1.25 (colored)

fix some overflow cases.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 28 17:10:32 2002 UTC (21 years, 10 months ago) by uch
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.24: +12 -12 lines
Diff to previous 1.24 (colored)

Use "#define<tab>", white space nits.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 28 11:38:48 2002 UTC (21 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

add missing softintr_establish() call.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 26 10:22:54 2002 UTC (21 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

fix around PTR and PDR

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 24 18:04:42 2002 UTC (22 years ago) by uch
Branch: MAIN
Changes since 1.21: +17 -27 lines
Diff to previous 1.21 (colored)

Rework interrupt code.
 + Fully utilize SH SR.I[0:3] interrupt level.
 + software interrupt is emulated by TMU1, 2 one shot interrupt.
 + implement generic soft interrupts.
 + implement clockframe correctly.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 17 19:40:49 2002 UTC (22 years ago) by atatat
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Sun Feb 24 19:35:42 2002 UTC (22 years ago) by uch
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

use sh_clock_get_pclock() instead of PCLOCK.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 22 19:44:04 2002 UTC (22 years ago) by uch
Branch: MAIN
Changes since 1.18: +3 -29 lines
Diff to previous 1.18 (colored)

New NetBSD/sh3 clock framework.
 + hardclock source is moved from TMU1 to TMU0.
 + SH3/SH4 common kernel support.
 + PCLOCK estimation.
 + remove duplicated code.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 12 15:26:46 2002 UTC (22 years, 1 month ago) by uch
Branch: MAIN
Changes since 1.17: +54 -104 lines
Diff to previous 1.17 (colored)

ANSIfy KNF.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 1 17:52:56 2002 UTC (22 years, 1 month ago) by uch
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

if PCLOCK isn't setted, use estimated value calculated by kernel.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 10 08:50:33 2001 UTC (22 years, 6 months ago) by msaitoh
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.15: +16 -9 lines
Diff to previous 1.15 (colored)

add missing check for framing error

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jun 12 15:17:20 2001 UTC (22 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

receive, not recieve

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 30 15:24:36 2001 UTC (22 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

add missing   #include "opt_kgdb.h"

Revision 1.13 / (download) - annotate - [select for diffs], Wed May 2 10:32:19 2001 UTC (22 years, 10 months ago) by scw
Branch: MAIN
Changes since 1.12: +13 -1 lines
Diff to previous 1.12 (colored)

Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 14 23:50:30 2001 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

Rename __GENERIC_SOFT_INTERRUPTS to __HAVE_GENERIC_SOFT_INTERRUPTS,
and place the definition in <machine/types.h>.  This can now be used
as a flag to indicate whether or not <machine/intr.h> can be included
to get the generic soft interrupt API.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 22 21:14:25 2000 UTC (23 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.10: +12 -89 lines
Diff to previous 1.10 (colored)

- fix \n conversion from \n\r to \r\n
- cleanup

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 2 00:42:40 2000 UTC (23 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.9: +10 -10 lines
Diff to previous 1.9 (colored)

Adapt to new line discipline scheme.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 19 09:32:00 2000 UTC (23 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.8: +10 -5 lines
Diff to previous 1.8 (colored)

clear ORER, FER and PER bit of the SCSSR reg.
(This bits aren't cleared automatically)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 27 16:24:08 2000 UTC (23 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.7: +14 -9 lines
Diff to previous 1.7 (colored)

fix the sci[f]cninit() bugs to work both SCI and SCIF at the same time.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 23 06:43:52 2000 UTC (24 years ago) by thorpej
Branch: MAIN
Changes since 1.6: +9 -4 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Tue Feb 22 01:37:11 2000 UTC (24 years, 1 month ago) by msaitoh
Branch: MAIN
Changes since 1.5: +123 -129 lines
Diff to previous 1.5 (colored)

bugfixes:
 o SCI accesses SCI registers (not SCIF) correctly
 o If there is serial inputs in boot time, it could hangup in interrupt routine
 o some cleanups(KNF)

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 7 10:50:14 2000 UTC (24 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.4: +36 -16 lines
Diff to previous 1.4 (colored)

implement send/recieve break signal routines

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 17 01:23:00 1999 UTC (24 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

check SCI(F)CONSOLE

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 16 21:17:26 1999 UTC (24 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.2: +18 -21 lines
Diff to previous 1.2 (colored)

sync with sci*.h and tmureg.h

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 13 19:13:09 1999 UTC (24 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.1: +83 -6 lines
Diff to previous 1.1 (colored)

add some comments.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 13 10:31:12 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN

Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
	As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).

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>