The NetBSD Project

CVS log for src/sys/arch/pc532/dev/Attic/scn.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.80, Wed Jan 9 11:27:27 2008 UTC (16 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, 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-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, uebayasi-xip-base2, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, thorpej-futex-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, 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, mjf-devfs2, mjf-devfs-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-armv6-nbase, localcount-20160914, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, isaki-audio2-base, isaki-audio2, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-xeni386-nbase, bouyer-xeni386-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-socklock-base1, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, ad-audiomp2-base, ad-audiomp2, HEAD
Changes since 1.79: +2 -2 lines
FILE REMOVED

Remove support for NetBSD/pc532.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:28 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, pc532-eol-2008, nick-csl-alignment-base5, nick-csl-alignment-base4, nick-csl-alignment-base3, nick-csl-alignment-base2, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.78: +6 -6 lines
Diff to previous 1.78 (colored) to selected 1.41 (colored)

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

Revision 1.78 / (download) - annotate - [select for diffs], Thu Feb 22 17:04:52 2007 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.77: +6 -6 lines
Diff to previous 1.77 (colored) to selected 1.41 (colored)

TRUE -> true, FALSE -> false

Revision 1.77 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:48 2007 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored) to selected 1.41 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Oct 1 20:31:50 2006 UTC (17 years, 6 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
Branch point for: yamt-idlelwp
Changes since 1.75: +4 -4 lines
Diff to previous 1.75 (colored) to selected 1.41 (colored)

More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Oct 1 18:56:22 2006 UTC (17 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.74: +9 -11 lines
Diff to previous 1.74 (colored) to selected 1.41 (colored)

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

Revision 1.74 / (download) - annotate - [select for diffs], Thu Sep 7 15:56:01 2006 UTC (17 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) to selected 1.41 (colored)

Switch pc532 to timecounters and generic TODR.

From Garrett D'Amore, with only a couple of minor tweaks by me.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:06 2006 UTC (17 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.72: +6 -7 lines
Diff to previous 1.72 (colored) to selected 1.41 (colored)

Use the LWP cached credentials where sane.

Revision 1.72 / (download) - annotate - [select for diffs], Sun May 14 21:55:39 2006 UTC (17 years, 11 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.71: +8 -4 lines
Diff to previous 1.71 (colored) to selected 1.41 (colored)

integrate kauth.

Revision 1.71 / (download) - annotate - [select for diffs], Fri May 12 06:05:22 2006 UTC (17 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.70: +82 -140 lines
Diff to previous 1.70 (colored) to selected 1.41 (colored)

KNF, ANSIfy, white space clean up.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Mar 29 03:58:48 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Changes since 1.69: +3 -6 lines
Diff to previous 1.69 (colored) to selected 1.41 (colored)

No need to check if dv_cfdata is NULL here.

Revision 1.69 / (download) - annotate - [select for diffs], Tue Mar 28 17:38:26 2006 UTC (18 years ago) by thorpej
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) to selected 1.41 (colored)

Use device_unit().

Revision 1.68 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:24 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.67: +7 -7 lines
Diff to previous 1.67 (colored) to selected 1.41 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:31 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.66: +15 -15 lines
Diff to previous 1.66 (colored) to selected 1.41 (colored)

merge ktrace-lwp.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Oct 2 15:07:41 2005 UTC (18 years, 6 months ago) by chs
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.65: +5 -5 lines
Diff to previous 1.65 (colored) to selected 1.41 (colored)

make this compile again after stricter warnings and compat changes.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Sep 6 21:40:38 2005 UTC (18 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.64: +4 -3 lines
Diff to previous 1.64 (colored) to selected 1.41 (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.64 / (download) - annotate - [select for diffs], Tue Feb 22 14:46:47 2005 UTC (19 years, 2 months ago) by chs
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.63: +171 -190 lines
Diff to previous 1.63 (colored) to selected 1.41 (colored)

require that the register address and irq be specified in the config file
instead of inferring them from the unit number.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jan 23 04:12:39 2004 UTC (20 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base2, 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.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.41 (colored)

Fix trailing white space and trailing blank line nits.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Aug 7 16:28:58 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.61: +42 -4 lines
Diff to previous 1.61 (colored) to selected 1.41 (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.61 / (download) - annotate - [select for diffs], Tue Jul 15 02:54:32 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.60: +4 -1 lines
Diff to previous 1.60 (colored) to selected 1.41 (colored)

__KERNEL_RCSID()

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jun 24 04:57:59 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored) to selected 1.41 (colored)

* Defflag CPU30MHZ.
* Unrelated cosmetic change in files.pc532.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Nov 22 13:26:39 2002 UTC (21 years, 5 months ago) by simonb
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.58: +8 -3 lines
Diff to previous 1.58 (colored) to selected 1.41 (colored)

Switch to using evcnt(9) to track interrupt counts.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 21 00:23:24 2002 UTC (21 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored) to selected 1.41 (colored)

Put back extern declaration of scn_cd so this builds again.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Oct 23 09:11:44 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.41 (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.56 / (download) - annotate - [select for diffs], Wed Oct 2 04:18:57 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.55: +3 -4 lines
Diff to previous 1.55 (colored) to selected 1.41 (colored)

Use CFATTACH_DECL().

Revision 1.55 / (download) - annotate - [select for diffs], Fri Sep 27 20:34:37 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.41 (colored)

Declare all cfattach structures const.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 7 months ago) by gehenna
Branch: MAIN
Changes since 1.53: +22 -14 lines
Diff to previous 1.53 (colored) to selected 1.41 (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.53 / (download) - annotate - [select for diffs], Sat May 25 03:45:12 2002 UTC (21 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.41 (colored)

Add an empty statement after a goto label to keep gcc-current happy.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Mar 17 19:40:47 2002 UTC (22 years, 1 month ago) by atatat
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.51: +5 -4 lines
Diff to previous 1.51 (colored) to selected 1.41 (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.51 / (download) - annotate - [select for diffs], Wed Nov 21 19:14:28 2001 UTC (22 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.41 (colored)

"than" instead of "then".

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 22 13:34:07 2001 UTC (22 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) to selected 1.41 (colored)

seperate -> separate

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jun 12 15:17:19 2001 UTC (22 years, 10 months ago) by wiz
Branch: MAIN
Branch point for: kqueue
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.41 (colored)

receive, not recieve

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

add missing   #include "opt_kgdb.h"

Revision 1.47 / (download) - annotate - [select for diffs], Wed May 2 10:32:17 2001 UTC (22 years, 11 months ago) by scw
Branch: MAIN
Changes since 1.46: +13 -1 lines
Diff to previous 1.46 (colored) to selected 1.41 (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.46 / (download) - annotate - [select for diffs], Tue Dec 19 16:23:57 2000 UTC (23 years, 4 months ago) by matthias
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored) to selected 1.41 (colored)

Make it work again after the linediscipline changes.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Nov 2 00:42:38 2000 UTC (23 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.44: +7 -7 lines
Diff to previous 1.44 (colored) to selected 1.41 (colored)

Adapt to new line discipline scheme.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 14 08:18:49 2000 UTC (23 years, 9 months ago) by matthias
Branch: MAIN
Changes since 1.43: +4 -5 lines
Diff to previous 1.43 (colored) to selected 1.41 (colored)

Take care of prototype changes for console probe and console getc.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:35 1998 UTC (25 years, 9 months ago) by jonathan
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored) to selected 1.41 (colored)

defopt DDB.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 30 20:10:26 1998 UTC (26 years ago) by matthias
Branch: MAIN
Changes since 1.41: +2 -4 lines
Diff to previous 1.41 (colored)

Make this compile again after the changes to the tty subsystem.

Revision 1.41 / (download) - annotate - [selected], Mon Jan 12 19:55:43 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored)

Update for changes to config.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Oct 22 03:35:56 1997 UTC (26 years, 6 months ago) by phil
Branch: MAIN
Changes since 1.39: +9 -1 lines
Diff to previous 1.39 (colored) to selected 1.41 (colored)

Get TRUE and FALSE defined again.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Apr 21 16:16:16 1997 UTC (27 years ago) by matthias
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Branch point for: netbsd-1-3
Changes since 1.38: +20 -33 lines
Diff to previous 1.38 (colored) to selected 1.41 (colored)

* Apply a fix from Ian Dall to reduce system load and fifo/silo overflows
  when running at high speeds. This works by using hardware RTS again and
  using the receive fifo threshold as well as the transmit fifo provided
  by the sc26c92.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Apr 1 16:31:53 1997 UTC (27 years ago) by matthias
Branch: MAIN
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored) to selected 1.41 (colored)

* Add some missing casts to make this compile with -Werror when KGDB is
  defined.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 20 12:03:03 1997 UTC (27 years, 1 month ago) by matthias
Branch: MAIN
Changes since 1.36: +18 -37 lines
Diff to previous 1.36 (colored) to selected 1.41 (colored)

* Don't reference NSCN.
* Use machine/conf.h not sys/conf.h to get the prototypes for the
  scn cdev functions.
* Include <sys/kgdb.h> to get prototypes for kgdb_connect and kgdb_attach.
* Add missing prototypes for some functions.
* Make ddb work before the console was opend. Thank's to Ian Dall
  for this change. His comment:
	Also, ddb doesn't work if a break is set before the console
	is opened. That is because DTR and RTS are not asserted. It
	would probably work if the console is wired to ingnore DTR
	or RTS. The change below is probably not very correct.
	Proabably the state of DTR and RTS should be saved and DTR
	and RTS asserted on the start of a polled serial input and
	the saved values restored on exiting polled input
* Remove unused function scn_ei.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 13 10:24:14 1997 UTC (27 years, 1 month ago) by matthias
Branch: MAIN
Changes since 1.35: +611 -331 lines
Diff to previous 1.35 (colored) to selected 1.41 (colored)

Integrate Phil Budne's latest changes to the scn driver. From his README:
	* Uses Counter/Timer dynamicly for rate generation; You can
	  have both 19200 and 38400 on one duart, and 57600 on another!
	* Improved scninfo program to dump driver internal information.
	  implemented counters for parity err, framing err, break
	* Delays changes until transmitter idle to avoid "glitches"
	* Cleaned up scn_softc member names
	* Untested support for sc26c92 (I don't yet have any to test with);
	  + Will use alternate rate tables (include 115.2kbps and 230.4kbps)
	  + Will raise FIFO rx interrupt threshold and watchdog timer
	    at higher rates.
	  + Unknown (to me) how fast pc532 MC145406 driver chips can go

	NOTE: It seems like it may be a BAD idea to use a sc26c92 as
	a console port for now; the PROM doesn't know to reset the
	chip back to scn2692 mode!!

Revision 1.35 / (download) - annotate - [select for diffs], Sat Mar 1 09:50:44 1997 UTC (27 years, 1 month ago) by matthias
Branch: MAIN
CVS Tags: is-newarp-before-merge, is-newarp-base
Branch point for: is-newarp
Changes since 1.34: +6 -8 lines
Diff to previous 1.34 (colored) to selected 1.41 (colored)

Some cosmetic changes.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Feb 8 09:34:31 1997 UTC (27 years, 2 months ago) by matthias
Branch: MAIN
CVS Tags: mrg-vm-swap
Changes since 1.33: +5 -3 lines
Diff to previous 1.33 (colored) to selected 1.41 (colored)

* Use Phil Budne's full name in the copyright header.
* Define RECOVER to something faster.
* Check for a valid softc in scnsoft. When there is
  a "hole" (e.g. you have scn0,scn1, scn4, scn5) the
  old code would panic. Thank's to Phil Budne for
  finding and fixing this bug.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jan 11 10:58:16 1997 UTC (27 years, 3 months ago) by matthias
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.32: +33 -29 lines
Diff to previous 1.32 (colored) to selected 1.41 (colored)

* Use confargs in probe and attach routines.
* Irq and address are now printed by mbprint.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 23 08:37:07 1996 UTC (27 years, 4 months ago) by matthias
Branch: MAIN
Changes since 1.31: +323 -268 lines
Diff to previous 1.31 (colored) to selected 1.41 (colored)

* Match functions take a "struct cfdata *" as their second argument.
* intr_establish now takes *two* ipls. One at which the handler should run,
  and one in which the interrupt should get blocked.

All the following changes were provided by Ian Dall:
* Remove SCN_HSOFT. Now that the pc532's software interrupt system is running
  from int14, this won't work anymore.
* Add code to detect uart type (SCN2681, SCC2692 or SCC26C92).
* Cleanup my RECOVER mess. Thank's to Ian Dall for reading the datasheet
  and removing all the unnecessary RECOVERs.
* Cleanup scnrxintr.
* Implement scnhiwflow.
* Do not use automatic RTS. This and scnhiflow and some changes to the
  interrupt system suggested by Ian fix the scn overrun problem at 57600
  baud.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Nov 24 13:32:53 1996 UTC (27 years, 5 months ago) by matthias
Branch: MAIN
Changes since 1.30: +111 -56 lines
Diff to previous 1.30 (colored) to selected 1.41 (colored)

* Prototyping tweaks.
* Real probe code added.
* Duart info is now allocated only for devices that are present.
* Added IO-Recovery delays for 30mhz systems.
* Removed a few potential NULL-pointer references.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 23 07:52:35 1996 UTC (27 years, 6 months ago) by matthias
Branch: MAIN
Changes since 1.29: +1302 -817 lines
Diff to previous 1.29 (colored) to selected 1.41 (colored)

* Phil Budne's much improved scn driver.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 13 03:30:22 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.28: +13 -13 lines
Diff to previous 1.28 (colored) to selected 1.41 (colored)

backout previous kprintf change

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 11 00:41:05 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.27: +13 -13 lines
Diff to previous 1.27 (colored) to selected 1.41 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.27 / (download) - annotate - [select for diffs], Mon Sep 2 06:43:57 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored) to selected 1.41 (colored)

tty stop functions really should return void, not int, and certainly not both.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 17 01:39:04 1996 UTC (28 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.25: +23 -19 lines
Diff to previous 1.25 (colored) to selected 1.41 (colored)

New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 2 18:06:57 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.41 (colored)

Fix #includes.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 1 02:37:15 1996 UTC (28 years, 2 months ago) by phil
Branch: MAIN
Changes since 1.23: +14 -8 lines
Diff to previous 1.23 (colored) to selected 1.41 (colored)

Updating DELAY and scncnputc.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 25 19:50:39 1996 UTC (28 years, 3 months ago) by phil
Branch: MAIN
Changes since 1.22: +11 -3 lines
Diff to previous 1.22 (colored) to selected 1.41 (colored)

Update to current state.  No major changes.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Sep 26 20:16:17 1995 UTC (28 years, 6 months ago) by phil
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.41 (colored)

Major update:  Many changes from Matthias Pfaller.
* conf/DEFAULT: new file, default install kernel
* conf/INSTALL: +MSDOSFS, +NO_INLINE_SPLX, +RD_SIZE=2mb, +scn4/5
* conf/KLONDIKE: cosmetic changes
* conf/STEELHEAD: cosmetic changes
* conf/files.pc532: rd got a file of it's own
* dev/lpt.c: changes to support lower interrupt latency, packet input/output
  is now done at spl0
* dev/ncr.c: changes to support the most recent atari version of the ncr5380
  driver
* dev/ncr5380.c, dev/ncr5380reg.h: upgraded to most recent atari version,
  memcpy -> bcopy.
* dev/rd.c: ramdisk driver
* dev/scn.c: by patching scndefaultrate, the kernel's default baud rate can
  be changed with gdb
* include/psl.h: struct iv now protected by !LOCORE && _KERNEL
  inlining of splx can be prevented with new kernel option NO_INLINE_SPLX
  splx_di is like splx but leaves processor interrupts disabled
* pc532/autoconf.c: cosmetic changes
* pc532/conf.c: with rd entries
* pc532/intr.c: changes to support splx_di
* pc532/locore.s: ramdisk is no longer initialized
  not splx, but rett is now used to reenable CPU interrupts when leaving the
  interrupt service routine. This is necessary to prevent recursive interrupts.
* pc532/sys_machdep.c: memcpy -> bcopy
* pc532/mem.c: moved ramdisk to dev/rd.c
* stand/Makefile: boot is now loaded at 0x3eb800 instead of 0x363800
  Use current form of libsa and libkern.
* stand/inflate.c: emit twiddle every 8k and not every 1k
* stand/rd.c: ramdisk starts at 0x288000

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 30 23:51:40 1995 UTC (28 years, 7 months ago) by phil
Branch: MAIN
Changes since 1.20: +20 -9 lines
Diff to previous 1.20 (colored) to selected 1.41 (colored)

add option CON_BRK_PANIC to be able to force a panic by 3 consecutive
breaks without any input on the console port.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 29 22:44:45 1995 UTC (28 years, 7 months ago) by phil
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.41 (colored)

More changes to ncr driver to try to get it working.  (From Matthias Pfaller)

Revision 1.19 / (download) - annotate - [select for diffs], Fri Aug 25 07:30:42 1995 UTC (28 years, 8 months ago) by phil
Branch: MAIN
Changes since 1.18: +22 -10 lines
Diff to previous 1.18 (colored) to selected 1.41 (colored)

More changes to the "new" ncr interrupt driven scsi driver (from M. Pfaller)
Bring back the old polled driver until a kernel built with the interrupt
driven one is stable enough for production use.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 9 04:36:30 1995 UTC (28 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored) to selected 1.41 (colored)

Replacement of the NCR driver by the Leo Weppelman NCR driver as
ported by Matthias Pfaller (Thanks to both!) and a RCS id.

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 16 07:30:38 1995 UTC (28 years, 11 months ago) by phil
Branch: MAIN
Changes since 1.16: +12 -37 lines
Diff to previous 1.16 (colored) to selected 1.41 (colored)

Changes from Matthias Pfaller: lpt driver changes, clock code similar
to i386, interrupts from static table to dynamic table, other small
fixes (locore.s byte operates -> double operands ...)

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 27 07:18:02 1995 UTC (29 years ago) by phil
Branch: MAIN
Changes since 1.15: +96 -57 lines
Diff to previous 1.15 (colored) to selected 1.41 (colored)

scntty & reorg using softc stuff.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 21 18:36:32 1995 UTC (29 years ago) by phil
Branch: MAIN
Changes since 1.14: +8 -1 lines
Diff to previous 1.14 (colored) to selected 1.41 (colored)

Add scncnpollc.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 10 07:50:42 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored) to selected 1.41 (colored)

device.h is defunct.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jan 19 07:03:39 1995 UTC (29 years, 3 months ago) by phil
Branch: MAIN
Changes since 1.12: +25 -18 lines
Diff to previous 1.12 (colored) to selected 1.41 (colored)

move nncr.c -> ncr.c, nscn.c -> scn.c

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 26 08:24:18 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) to selected 1.41 (colored)

new RCS ID format.

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 17 17:29:37 1994 UTC (29 years, 11 months ago) by phil
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.10: +18 -17 lines
Diff to previous 1.10 (colored) to selected 1.41 (colored)

moved pc532/pc532/icu.h to pc532/include.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 21 22:31:32 1994 UTC (30 years ago) by phil
Branch: MAIN
Changes since 1.9: +0 -7 lines
Diff to previous 1.9 (colored) to selected 1.41 (colored)

Squash!  Got that bug!
scn.c -- removing debugging on line 1
scnreg.h -- don't turn off the other line's interrupts!!

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 19 17:10:37 1994 UTC (30 years ago) by phil
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored) to selected 1.41 (colored)

minor clean up.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 17 07:52:15 1994 UTC (30 years ago) by phil
Branch: MAIN
Changes since 1.7: +60 -10 lines
Diff to previous 1.7 (colored) to selected 1.41 (colored)

first (incomplete) attempt to get cts/rts working

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 22 00:15:23 1994 UTC (30 years, 1 month ago) by phil
Branch: MAIN
Changes since 1.6: +51 -30 lines
Diff to previous 1.6 (colored) to selected 1.41 (colored)

ncr: try to get it to recognize slower devices
scn: mode it closer to i386 version

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 10 21:35:50 1994 UTC (30 years, 1 month ago) by phil
Branch: MAIN
Changes since 1.5: +5 -6 lines
Diff to previous 1.5 (colored) to selected 1.41 (colored)

Allowing pseudo_dma and cosmetic changes.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 8 19:48:19 1994 UTC (30 years, 1 month ago) by phil
Branch: MAIN
Changes since 1.4: +95 -212 lines
Diff to previous 1.4 (colored) to selected 1.41 (colored)

Changes to add a real console driver.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 23 07:59:05 1994 UTC (30 years, 2 months ago) by phil
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored) to selected 1.41 (colored)

Changes to get the first working scsi driver (ncr.c) for the pc532.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 21 06:43:31 1994 UTC (30 years, 2 months ago) by phil
Branch: MAIN
Changes since 1.2: +11 -6 lines
Diff to previous 1.2 (colored) to selected 1.41 (colored)

New snapshot of the dp files, scn changes due to change in ttioctl call.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 13 07:25:06 1993 UTC (30 years, 7 months ago) by phil
Branch: MAIN
CVS Tags: magnum-base
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored) to selected 1.41 (colored)

Getting past a bug that caused a "free: multiple frees" panic.
This should not be final code.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Sep 9 23:53:51 1993 UTC (30 years, 7 months ago) by phil
Branch: MAIN
Diff to selected 1.41 (colored)

Initial revision

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>