The NetBSD Project

CVS log for src/sys/dev/ic/comvar.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Oct 8 07:27:03 2022 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, 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
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -4 lines
com(4): Omit never-used sc_vendor_workaround member.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Oct 6 19:59:55 2022 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +6 -1 lines
com(4): Add include guards.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Fri Nov 12 21:57:13 2021 UTC (3 years ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +9 -1 lines
com: Add support for 32-bit IO accesses.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Oct 12 00:21:34 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -1 lines
Fix the build by adding 'sc_hup_pending' member to com_softc that
was apparently forgotten.

Revision 1.92.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +4 -3 lines
Sync with HEAD.

Revision 1.92.14.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:44:51 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +4 -3 lines
Sync with HEAD.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Mar 25 05:34:49 2021 UTC (3 years, 8 months ago) by rin
Branches: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines
Introduce COM_HW_BROKEN_ETXRDY bit in sc_hwflags; push TX queue if
possible in comintr() even if IIR_NOPEND is asserted.

Combined with sc_poll_ticks, this flag works around HW bug, by which
ETXRDY interrupts are (sometimes) lost.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Mar 25 05:33:59 2021 UTC (3 years, 8 months ago) by rin
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2 lines
Introduce sc_poll_ticks and obsolete COM_HW_POLL bit in sc_hwflags.
Polling is scheduled at every sc_poll_ticks ticks.

This is useful to work around H/W bug, by which interrupts are lost
*sometimes*; interrupt-based I/O mostly works and no need for polling
every counter ticks.

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:10 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +22 -63 lines
Sync with HEAD

Revision 1.86.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:26 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.86.2.2: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.2: +16 -14 lines
Synch with HEAD

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:10:41 2019 UTC (5 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-4-RELEASE, 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, isaki-audio2-base, isaki-audio2, 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, thorpej-cfargs
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +16 -14 lines
Simplify regmap initialization, and fix an regmap issue that
affected TI OMAP (LCR register would get clobbered due to
using the wrong offset for the MDR1 register) reported by Lwazi Dube
(who also found the root cause).

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:48 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored
Changes since revision 1.86.2.1: +9 -52 lines
Sync with HEAD, resolve a few conflicts

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Dec 11 06:34:00 2018 UTC (5 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: pgoyette-compat-1226
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -1 lines
Add a convenience function, com_init_regs_stride(), that shifts the register
offsets and size by the specified amount.  Use in front-ends as appropriate.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Dec 8 21:14:37 2018 UTC (5 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -31 lines
Remove the COM_REGMAP option -- just use it all the time.  While here,
garbage-collect the COM_FUNCMAP and COM_AU1X00 options, as there are
not used anywhere.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:46:13 2018 UTC (5 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +6 -23 lines
Clean up initialization of com_regs structure, in preparation for
some additional changers.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Nov 30 16:26:19 2018 UTC (6 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -2 lines
Add support for com(4) without an interrupt by setting the COM_HW_POLL flag

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +10 -10 lines
Sync with HEAD

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun May 27 17:05:06 2018 UTC (6 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +10 -10 lines
Rename COM_TYPE_SUNXI -> COM_TYPE_DW_APB

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Dec 4 09:55:37 2017 UTC (7 years ago) by bouyer
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +6 -6 lines
Put back SUNXI definitions in the COM_REGMAP case; com.c uses them
without #ifdef COM_AWIN.
To be safe, expand the register map to 42 entries.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Dec 4 09:14:23 2017 UTC (7 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -4 lines
Make it clear that SUNXI registers are not defined/supported in the
COM_REGMAP case

Revision 1.73.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.73.6.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.6.2: +16 -19 lines
update from HEAD

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Oct 29 14:06:08 2017 UTC (7 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +13 -30 lines
Make all of the COM_xxx type options runtime selectable. Kernel configs
with the existing options (COM_16650, COM_16750, COM_AWIN, COM_HAYESP, and
COM_PXA2X0) will select the correct type in com_attach_subr. New code
should specify the com type by passing COM_TYPE_xxx to comcnattach and/or
setting sc_type.

Revision 1.79.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:03 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.79.2.2: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.2.2: +2 -1 lines
Sync with HEAD

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Jul 31 09:25:14 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -1 lines
Add COM_TYPE_BCMAUXUART type for BCM2835 AUX UART.

Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 22 08:26:05 2016 UTC (8 years, 5 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +13 -1 lines
Pull up following revision(s) (requested by bouyer in ticket #1178):
	sys/arch/arm/allwinner/files.awin: revision 1.36
	sys/conf/files: revision 1.1159
	sys/dev/ic/com.c: revision 1.339
	sys/dev/ic/comreg.h: revision 1.25
	sys/dev/ic/comvar.h: revision 1.82
	sys/dev/ic/ns16550reg.h: revision 1.11
The UART in the allwiner SoCs is not full-compatible with the 16550, and
it's not a 16750 either. Like the 16750 it has the IIR_BUSY interrupt,
which is triggered when writing to LCR while the chip
can't accept it. But unlike the 16750, it has a specific register,
HALT, to allow writing to the LCR and divisor registers, and then
commit the changes.
Tested on an A20 SoC, changing the baud rate while keeping the
tty device open and incoming data.

Revision 1.79.2.2: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:21 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.79.2.1: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.2.1: +13 -1 lines
Sync with HEAD

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri May 27 20:01:49 2016 UTC (8 years, 6 months ago) by bouyer
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, netbsd-8-base, netbsd-8-3-RELEASE, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +13 -1 lines
The UART in the allwiner SoCs is not full-compatible with the 16550, and
it's not a 16750 either. Like the 16750 it has the IIR_BUSY interrupt,
which is triggered when writing to LCR while the chip
can't accept it. But unlike the 16750, it has a specific register,
HALT, to allow writing to the LCR and divisor registers, and then
commit the changes.
Tested on an A20 SoC, changing the baud rate while keeping the
tty device open and incoming data.

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:07 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3 lines
Sync with HEAD

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun May 3 17:22:54 2015 UTC (9 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -1 lines
add COM_TYPE_TEGRA

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Apr 13 16:33:24 2015 UTC (9 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -3 lines
Convert sys/dev to use <sys/rndsource.h>.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Nov 22 15:14:35 2014 UTC (10 years ago) by macallan
Branches: MAIN
CVS tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -1 lines
deal with quirk in Ingenic UARTs
( they have a bit in the FIFO control register which turns the entire
  port off if not set )

Revision 1.73.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.73.6.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.6.1: +8 -1 lines
Rebase to HEAD as of a few days ago.

Revision 1.71.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:22 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.71.8.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.8.1: +19 -1 lines
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.74.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.74.4.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.4.1: +5 -1 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Oct 3 13:23:03 2013 UTC (11 years, 2 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base, 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
Branch point for: netbsd-7
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +18 -2 lines
Revirt 'Move the Marvell extension to com_mv.c' at Sun Sep 1 04:51:24 UTC 2013.
  build test only.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Sep 3 15:32:55 2013 UTC (11 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -1 lines
no EFR on tl16c750, use AFE bit on MCR reg instead for flow control

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Sep 1 04:51:24 2013 UTC (11 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -15 lines
Move the Marvell extension to com_mv.c.

Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:25 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -2 lines
sync with head

Revision 1.74.6.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:35 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +5 -2 lines
sync with HEAD

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Jul 17 19:51:56 2013 UTC (11 years, 4 months ago) by soren
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -2 lines
Fix COM_16750 build for non-COM_REGMAP platforms.

Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:17 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +12 -1 lines
resync from head

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Apr 20 11:52:41 2013 UTC (11 years, 7 months ago) by rkujawa
Branches: MAIN
CVS tags: riastradh-drm2-base, khorben-n900
Branch point for: rmind-smpnet, riastradh-drm2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +12 -1 lines
Add support for 16750 style UARTs. Activated by defining COM_16750.

Obtained from Marvell, Semihalf.

Revision 1.71.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:32 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4 lines
sync with head

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:15 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -3 lines
merge to -current.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Feb 2 19:43:03 2012 UTC (12 years, 10 months ago) by tls
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
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.72: download - view: text, markup, annotated - select for diffs
Sat Nov 19 22:51:22 2011 UTC (13 years ago) by tls
Branches: MAIN
CVS tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
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.70.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:14 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +2 -1 lines
sync with head

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Nov 13 15:35:50 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -1 lines
Some missing sys/device.h dependencies.

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:14 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3 lines
Sync with HEAD.

Revision 1.61.4.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:29 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61.4.4: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.4.4: +11 -4 lines
sync with head

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:37:58 2010 UTC (14 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
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.69: download - view: text, markup, annotated - select for diffs
Fri Jan 8 20:02:39 2010 UTC (14 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3 lines
Expand PMF_FN_* macros.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Nov 12 20:37:44 2009 UTC (15 years ago) by dyoung
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -2 lines
Delete definition of com_activate(), it's been removed.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Nov 12 20:37:09 2009 UTC (15 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -1 lines
Move the code in com_activate() to com_detach(), where it always
belonged.  Remove com_activate().

Consolidate information about the console on com(4) in a new struct
comcons_info.

Support detachment & re-attachment of a system console on com(4).
Re-attachment is somehow incomplete.  Ideally, if some other device
could take over as console, it would, but we're not quite there,
yet.

Revision 1.63.8.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:47 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.63.8.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.8.1: +1 -1 lines
Sync with HEAD.

Revision 1.61.4.4: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:22 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61.4.3: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.4.3: +1 -1 lines
sync with head

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed May 27 23:01:07 2009 UTC (15 years, 6 months ago) by rjs
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -1 lines
Put back CVS header.

Revision 1.61.4.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:23 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61.4.2: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.4.2: +2 -2 lines
sync with head

Revision 1.63.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:22 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -2 lines
Sync with HEAD.

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

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue May 12 14:25:17 2009 UTC (15 years, 6 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, jym-xensuspend-base
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
struct device * -> device_t, no functional changes intended.

Revision 1.61.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:41 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61.4.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.4.1: +3 -0 lines
sync with head.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun May 3 13:52:36 2009 UTC (15 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base3
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -0 lines
Make COM_RING_SIZE configurable by kernel config(5).

Revision 1.59.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:55 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.59.6.2: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.6.2: +1 -0 lines
Sync with HEAD.

Revision 1.62.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:14 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +1 -0 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Oct 24 04:43:08 2008 UTC (16 years, 1 month ago) by matt
Branches: MAIN
CVS tags: 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-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -0 lines
Add support for 16550 chips without an Enhanced Register Set.

Revision 1.59.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:20 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.59.6.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.6.1: +8 -1 lines
Sync with HEAD.

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:42 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +8 -1 lines
sync with head.

Revision 1.61.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:03 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -1 lines
sync with head.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Apr 28 22:00:01 2008 UTC (16 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: haad-dm
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -1 lines
More forgotten changes from matt-armv6.

Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:40 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -5 lines
Sync with HEAD.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:16 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +5 -5 lines
sync with head.

Revision 1.55.8.4: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:37 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.55.8.3: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.8.3: +5 -14 lines
sync with HEAD

Revision 1.48.6.6: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:42 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.6.5: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.5: +5 -5 lines
sync with head.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Mar 14 15:09:11 2008 UTC (16 years, 8 months ago) by cube
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend).  Use proper types and ansify where appropriate.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Feb 29 07:02:05 2008 UTC (16 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -4 lines
Use pmf_device_register1() instead of shutdownhook_establish() to
register com_cleanup() as the shutdown hook.

Add a generic suspend routine.  Suspend and resume com@isa.

Protect against dereferencing a NULL softc in comioctl().

Destroy both a mutex and a callout in com_detach().

Cosmetic: use aprint_*_dev().  Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:40 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +1 -10 lines
Sync with HEAD.

Revision 1.57.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 19:27:34 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.57.10.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.10.1: +0 -9 lines
Sync with HEAD.

Revision 1.48.6.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:57 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.6.4: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.6.4: +2 -10 lines
sync with head

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Jan 20 18:09:11 2008 UTC (16 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, bouyer-xeni386-nbase
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -10 lines
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.

Revision 1.55.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:50 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.55.8.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.8.2: +2 -1 lines
sync with HEAD

Revision 1.57.10.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:54:10 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
Sync with HEAD

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:19 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -1 lines
Sync with head.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Dec 14 03:36:55 2007 UTC (16 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
Add a resume handler for com@isa, using Jared McNeill's suggested
code from current-users.  com@acpi, et cetera, remain to be done.

Revision 1.55.8.2: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:26:30 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.55.8.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.8.1: +8 -3 lines
sync with HEAD

Revision 1.55.8.1: download - view: text, markup, annotated - select for diffs
Mon Oct 29 02:12:52 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -1 lines
Add support for OMAP specific com type.

Revision 1.48.6.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:30:35 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.6.3: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.6.3: +8 -3 lines
sync with head.

Revision 1.55.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:41 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +8 -3 lines
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.54.14.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:18 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.54.14.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.14.1: +2 -4 lines
Sync with head.

Revision 1.55.10.2: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:33:07 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.55.10.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.10.1: +2 -4 lines
sync with head.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Oct 17 17:44:19 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -4 lines
Make it build without IPL_SERIAL.

Revision 1.55.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:08 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +10 -3 lines
sync with head.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Oct 8 16:50:45 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3, vmlocking-base
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +10 -3 lines
Merge from vmlocking: use mutexes and the softint API.

Revision 1.48.6.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:27 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.6.2: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.6.2: +1 -10 lines
sync with head.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Jul 14 21:02:37 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -10 lines
Generic soft interrupts are mandatory.

Revision 1.54.14.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:38:33 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -5 lines
- Generic soft interrupts are mandatory, remove the kludges.
- Adapt to callout API change.
- Use mutexes.

Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:02 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.6.1: +76 -4 lines
sync with head.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:50:01 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +80 -9 lines
sync with head

Revision 1.50.8.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:11 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.50.8.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.8.2: +75 -4 lines
sync with head

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jul 13 22:56:02 2006 UTC (18 years, 4 months ago) by gdamore
Branches: MAIN
CVS tags: 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-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup, post-newlock2-merge, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: vmlocking
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +75 -4 lines
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.

Revision 1.52.2.6: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:22 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.52.2.5: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.5: +2 -1 lines
Merge from HEAD.

Revision 1.50.8.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:01 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.50.8.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.8.1: +6 -1 lines
sync with head.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jun 25 00:39:21 2006 UTC (18 years, 5 months ago) by perry
Branches: MAIN
CVS tags: yamt-pdpolicy-base6
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1 lines
Add a power hook for the com device.

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:54 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -10 lines
sync with head.

Revision 1.51.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:58:13 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +5 -1 lines
Sync with head.

Revision 1.52.2.5: download - view: text, markup, annotated - select for diffs
Sat Jun 17 03:36:12 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.52.2.4: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.4: +18 -5 lines
Yes, I'm restoring COM_INIT_REGS and removing the compatibility #define's
for sc_iot and friends.  Those defines break things, like say ast.c, where
comvar.h is included, but a local sc_iot structure member is also used.

Revision 1.52.2.4: download - view: text, markup, annotated - select for diffs
Sat Jun 17 00:30:24 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.52.2.3: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.3: +6 -19 lines
Per tsutsui@, I'm removing COM_INIT_REGS, and adding a flag to make the
map initialization automatic.  This breaks this whole tree again, so I pretty
much have to start over going back thru old code to make it all compatible.

Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Fri Jun 16 04:03:24 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.52.2.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.2: +14 -14 lines
"make the \'s pretty".  hi simon.

Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Fri Jun 16 03:32:03 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.1: +24 -20 lines
KNF per simonb@ consisting of:
	regs.xx -> regs.cr_xxx
	wrap COM_INIT_REGS body with do { } while (0);)
Convert INB/OUTB macros to CSR_READ/CSR_WRITE macros per tsutsui@.

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 15 16:30:26 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +71 -4 lines
Initial com framework changes.  These changes bust *all* com consumers, but
follow-up commits shortly will fix many of them, so that i386, sparc, and
some evbmips ports at least work.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:35 2006 UTC (18 years, 6 months ago) by kardel
Branches: MAIN
CVS tags: gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +5 -1 lines
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.50.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:55 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.50.6.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.6.1: +1 -6 lines
Sync with head.

Revision 1.50.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:20 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -6 lines
sync with head.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Mar 5 17:33:33 2006 UTC (18 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: chap-midi
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -6 lines
cleanup more SET/CLR/ISSET lossage

Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:00:40 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -1 lines
Adapt for timecounters and newer PPS API.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Dec 27 00:46:38 2005 UTC (18 years, 11 months ago) by chs
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -5 lines
remove the COM_MPLOCK option.  always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:26 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -1 lines
merge ktrace-lwp.

Revision 1.47.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:49 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +11 -11 lines
sync with -current

Revision 1.47.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:43 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +11 -11 lines
sync with head.

Revision 1.46.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:45:24 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.3: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.3: +11 -11 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:36 2005 UTC (19 years, 10 months ago) by perry
Branches: 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, yamt-km-base2, 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -11 lines
de-__P

Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:27:54 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.2: preferred, colored
Changes since revision 1.46.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:57 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46.2.1: preferred, colored
Changes since revision 1.46.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:12 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -1 lines
Sync with HEAD

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Nov 8 01:59:38 2003 UTC (21 years, 1 month ago) by simonb
Branches: 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
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -1 lines
Add (as yet unused) COM_TYPE_AU1x00.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jun 14 17:01:06 2003 UTC (21 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jun 14 16:25:53 2003 UTC (21 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +12 -3 lines
Introduce a new "type" field in the softc which is used to indicate
the general UART type.  Currently, we have "normal", "hayesp" and
"pxa2x0" types.  Replace the corresponding hw flags with the new type
values.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Jun 5 13:40:38 2003 UTC (21 years, 6 months ago) by scw
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1 lines
Add support, via a kernel config file option, for the 16550-compatible
com ports found on Intel PXA2x0 processors.

Re-arrange the code which detects the FIFO configuration to defer
printing until _after_ com_fifo is cleared. Some supposedly compatible
chips clear the Tx/Rx FIFOs when this happens, resulting in previous
output being lost.

Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:17 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.40.2.2: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.2: +2 -1 lines
catch up with -current on kqueue branch

Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:35 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.39.2.2: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.2: +2 -1 lines
Catch up to -current.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Apr 12 19:32:30 2002 UTC (22 years, 7 months ago) by thorpej
Branches: 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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
* Add a new hwflag, COM_HW_NO_TXPRELOAD, which tells comstart() to
  not pre-load the chip's Tx buffer, but instead waits for the Tx Ready
  interrupt to transmit the first chunk of data.
* On the IOP310, set COM_HW_NO_TXPRELOAD, rather than COM_HW_TXFIFO_DISABLE.

This solves the "UART hangs" problem on the Npwr in a nicer way (i.e. we
get to use the FIFO, whee).  The COM_HW_NO_TXPRELOAD happens to match the
Linux 16550 driver's Tx algorithm, and the "UART hang" was never observed
on the Npwr running Linux.

Eventually, we might want to eliminate the COM_HW_NO_TXPRELOAD, and simply
always use its algorithm.  But it should be tested on more 16x50 variants
before we do that.

Kudos to Valeriy Ushakov <uwe@netbsd.org> for pointing out this solution
(which also happens to fix the stray UART interrupt issue on the Krups
Javastation), and to Allen Briggs <briggs@netbsd.org> for experimenting
with various methods of fixing this.

Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:35 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.39.2.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.1: +5 -3 lines
Catch up to -current.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:38 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.40.2.1: preferred, colored
Changes since revision 1.40.2.1: +5 -1 lines
Update the kqueue branch to HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Aug 27 14:27:01 2001 UTC (23 years, 3 months ago) by enami
Branches: 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, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -1 lines
For hayes esp card, set prescaler if specified rate is grater than 115200.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:16:15 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -3 lines
Merge Aug 24 -current into the kqueue branch.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Aug 22 12:44:10 2001 UTC (23 years, 3 months ago) by simonb
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -3 lines
Cosmetic cleanups:
  - cominit() is local to com.c, remove prototype from comvar.h.
  - Don't prototype comstop(), cdev_decl(com) does this.
  - Don't use a block device switch table declaration(!).
  - No need to include "com.h".

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:02:22 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -1 lines
Catch up to -current.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed May 30 15:24:23 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -1 lines
add missing   #include "opt_kgdb.h"

Revision 1.30.8.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:17 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30.8.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.8.1: +6 -2 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jan 14 23:50:28 2001 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
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.38: download - view: text, markup, annotated - select for diffs
Sun Jan 7 18:09:26 2001 UTC (23 years, 11 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -1 lines
Make certain we see COM_MPLOCK, MULTIPROCESSOR, and LOCKDEBUG
to avoid any confusion about whether or not we have a lock in the softc.

Revision 1.30.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +16 -9 lines
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.37: download - view: text, markup, annotated - select for diffs
Fri Oct 6 21:12:01 2000 UTC (24 years, 2 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Change int->bus_addr_t in com_kgdb_attach() prototype.
Compiles again with KGDB enabled.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Sep 23 17:17:12 2000 UTC (24 years, 2 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -1 lines
Add `COM_MPLOCK' option to use a device-instance-specific spinlocks
when running at splserial().  This is a temporary measure (until
there's a MP-safe interrupt handling structure); until then, it should
be used when MULTIPROCESSOR and IPL_SERIAL > IPL_SCHED.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Sep 23 12:08:16 2000 UTC (24 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4 lines
paddr_t -> bus_addr_t in prototypes too.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Sep 22 14:46:38 2000 UTC (24 years, 2 months ago) by eeh
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
paddr_t -> bus_addr_t.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Sep 21 23:27:32 2000 UTC (24 years, 2 months ago) by eeh
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -5 lines
Support for SPARC machines with `su' devices.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:30 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: 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, minoura-xpg4dl-base, minoura-xpg4dl
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -1 lines
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.31: download - view: text, markup, annotated - select for diffs
Sun Jan 23 21:06:01 2000 UTC (24 years, 10 months ago) by soda
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -4 lines
kluge to make this work with NEC M403 (arc/magnum).

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Feb 3 23:20:33 1999 UTC (25 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -5 lines
Slight redux in PPS code.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Nov 18 23:58:52 1998 UTC (26 years ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -1 lines
Add support for detaching "com" instances.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Sep 21 00:33:17 1998 UTC (26 years, 2 months ago) by matt
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Add softserial to the alpha port.  This significantly improved PPP
throughput on com ports.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Sep 16 21:30:58 1998 UTC (26 years, 2 months ago) by is
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Garbage collect unused 3rd parameter to comprobe1().

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Sep 11 19:39:28 1998 UTC (26 years, 2 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
Add arc as a target platform.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Sep 5 04:25:35 1998 UTC (26 years, 3 months ago) by mark
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
arm32 now supports soft serial interrupts.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jun 11 02:01:58 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -1 lines
Pull in <sys/timepps.h> here so that other things that include comvar.h
will compile.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jun 10 12:06:24 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +9 -1 lines
PPS support from April, reworked and extended to match the PPS-API
Internet Draft (draft-mogul-pps-api-02.txt).

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Feb 2 23:01:05 1998 UTC (26 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -2 lines
change #ifdefs keying on "alpha" to key on "__NO_SOFT_SERIAL_INTERRUPT"
instead, and define that on NetBSD/alpha and NetBSD/arm32.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Feb 2 22:55:00 1998 UTC (26 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
Implement a flag to indicate that the driver attached correctly.
This is useful in the case where an attachment's probe routine
verifies that there is indeed hardware present but something goes
"wrong" in the attach causing the device to be unusable.  (Without
keeping track of this, in that case incorrect ports could be
accessed or uninitted pointers could be deferenced on open or at
other times.)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 1 23:30:49 1998 UTC (26 years, 10 months ago) by marc
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -1 lines
add power management hooks to softc

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 4 23:19:55 1997 UTC (27 years, 1 month ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +23 -26 lines
Pull rev 1.19 up from trunk (mycroft)

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Nov 3 06:55:54 1997 UTC (27 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +23 -26 lines
Mostly cosmetic and performance changes:
* Make the ring buffer size and water marks patchable, and allocate the buffer
  separately.
* Do the ttymalloc() at attach time.
* Reorganize the receive buffer so the status and data pair are next to each
  other.  This is slightly faster.
* Make sure we actually do turn off interrupts in comclose() if we have DDB
  configured and it's not the console.  (D'oh!!!!)
* When we exhaust the current transmit run, turn off transmit interrupts in
  comintr(), so we're fairly sure we don't get another one.
* Nuke the silly lsrmap[] idea; it's slower in the normal case.
* Cache the l_rint pointer in the soft interrupt routine.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Oct 19 14:26:23 1997 UTC (27 years, 1 month ago) by fvdl
Branches: MAIN
CVS tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -2 lines
Add 16650 hardware flowcontrol support. Basically PR 3844 from
Dave Huang <khym@bga.com>, with added check for broken early versions
of the 16650, taken from the Linux driver.

This should be extended to use, for example, higher trigger levels for
the bigger 16650 FIFO, and its capability for using a smaller divisor
and thus higher speeds. But this patch is very useful for 16650 users
already.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 19 11:45:45 1997 UTC (27 years, 1 month ago) by explorer
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -1 lines
Add hooks for entropy collection.  Right now, you must place
	options RND_COM
in your kernel config file (along with the
	pseudo-device rnd
line) to enable this.  If results are positive, I will make this enabled
by default.

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 16 00:04:18 1997 UTC (27 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +123 -0 lines
Sync w/ trunk.

Revision 1.16.2.1
Wed Oct 15 22:00:17 1997 UTC (27 years, 1 month ago) by thorpej
Branches: marc-pcmcia
FILE REMOVED
Changes since revision 1.16: +0 -123 lines
file comvar.h was added on branch marc-pcmcia on 1997-10-16 00:04:18 +0000

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Oct 15 22:00:17 1997 UTC (27 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: marc-pcmcia-base
Branch point for: marc-pcmcia
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -3 lines
Pulldown from marc-pcmcia branch.

Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Wed Oct 15 21:53:03 1997 UTC (27 years, 1 month ago) by thorpej
Diff to: previous 1.11.2.4: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.4: +2 -5 lines
Move a few bus-specific things into bus-specific softc structures and
nesting a com_softc within them.

Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 22 06:33:13 1997 UTC (27 years, 2 months ago) by thorpej
Diff to: previous 1.11.2.3: preferred, colored
Changes since revision 1.11.2.3: +6 -4 lines
Update marc-pcmcia branch from trunk.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Sep 16 20:34:29 1997 UTC (27 years, 2 months ago) by is
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -4 lines
Support for the upcoming NetBSD/Amiga Hypercom driver family:
* support chip clocks != COM_FREQ, by introducing sc_frequency (for the
  mainline code) and adding a frequency parameter right after the rate
  parameter to comcnattach() and com_kgdb_attach().
- Make com_isa and com_multi initialize sc_frequency to COM_FREQ.
- Make i386/machdep.c and alpha/dec_xxx.c call com*attach() with the freq.
  parameter.
* supio_attach_args get two more fields: a sc_ipl and a sc_arg, both ints.
- com_supio uses the first for interupt establishment (all childs will, as
  soon as they exist) and the 2nd for sc_frequency.
- drsupio passes sc_ipl alway as 5, and for the "com"s, sc_arg as 16*115200
- hyper will pass sc_ipl as 6, and sc_arg as 16 * 460800

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 27 23:31:33 1997 UTC (27 years, 3 months ago) by thorpej
Diff to: previous 1.11.2.2: preferred, colored
Changes since revision 1.11.2.2: +6 -16 lines
Update marc-pcmcia branch from trunk.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Aug 23 14:01:34 1997 UTC (27 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -16 lines
clean up the serial console / KGDB attachment:
-put all early console / KGDB initialization into 1 exported function
  (com_*_attach()) each, dont use global variables anymore
-use the passed tcflag_t for port settings instead of hardwiring 8N1
-at autoconfiguration attach time, decide if the attaching device is
  already console / KGDB by comparing bus tag and base addr (cgd's wish)
-export a function "com_is_console()" for use by driver frontends for
  this comparision
-delay setting of cn_tab->cn_dev until autoconfiguration attach
  to get the minor number right
-delete unused comcnprobe() and comcninit()

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:13:16 1997 UTC (27 years, 3 months ago) by thorpej
Diff to: previous 1.11.2.1: preferred, colored
Changes since revision 1.11.2.1: +14 -2 lines
Update marc-pcmcia branch from trunk.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Aug 14 16:15:16 1997 UTC (27 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -2 lines
-Export variables needed for system console initialization.
-Enable line break interrupt for DDB on a serial console.
-Share initialization code between DDB and KGDB.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 12 17:25:45 1997 UTC (27 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -1 lines
KGDB improvements:
-Separate KGDB port initialization and softc related stuff to allow
 KGDB to be attached in early system startup, before autoconfiguration.
-Export the variables needed by md code to hand-craft bus tag/handle.
-Fix initialization to enable interrupt by line break.
-Call DDB/KGDB at line break (move DDB call from the softirq handler
 to the hard handler because it should work without a tty attached too).

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 30 07:05:27 1997 UTC (27 years, 4 months ago) by marc
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -1 lines
added pcmcia infrastructure and a few devices

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jul 5 20:52:41 1997 UTC (27 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
Add support for remote serial KGDB.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jun 15 11:19:02 1997 UTC (27 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -5 lines
Implement a better backpressure mechanism so that data is collected
in the driver's buffer if the tty buffer is full.  If the driver's buffer
becomes full, turn off receive interrupts until it drains a bit.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat May 24 03:45:40 1997 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -5 lines
Where _is_ that brick when you need it?!

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 4 20:56:40 1997 UTC (27 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +78 -13 lines
New version of com driver.  Uses a different queueing mechanism and a split
hardware/software interrupt mechanism for improved performance.  Many odd
protocols bugs also fixed.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Nov 13 19:41:37 1996 UTC (28 years ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1 lines
move cominit() prototype to comvar.h, so that ports which use 'com'
for serial console, but don't use the (i386-specific)
comcninit()/comcnprobe() functions, can do the right thing.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Oct 21 22:40:34 1996 UTC (28 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -6 lines
New bus.h implementation/interface:
	- No more distinction between i/o-mapped and memory-mapped
	  devices.  It's all "bus space" now, and space tags
	  differentiate the space with finer grain than the
	  bus chipset tag.
	- Add memory barrier methods.
	- Implement space alloc/free methods.
	- Implement region read/write methods (like memcpy to/from
	  bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 5 19:50:47 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
Move comintr() prototype to comvar.h; needed by the multi-port cards.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Apr 15 18:54:35 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
define and export the global variable "comconscflag", the default tty
'cflag' for the console.  Normally set to TTYDEF_CFLAG, may be
overridden by machine-dependent console attachment code, as necessary.
(Alpha uses it to set cs8 -parenb.)  Files including comvar.h now
need to include <sys/termios.h>, because comconscflag is of type
tcflag_t.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Mar 10 09:01:26 1996 UTC (28 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +12 -2 lines
convert these to use new <machine/bus.h> interfaces.  This involved
substantial reworking of the multi-port drivers, as they need to frob
bits in the io-port spaces of their children.  As a result, the
commulti->com attachment interface is substantially more complex.
(This may be fixable in the future by making some of the code common,
but as long as io-port allocation checking is planned, it's necessary.)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Mar 9 23:37:14 1996 UTC (28 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix copyright year

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 9 01:01:33 1996 UTC (28 years, 9 months ago) by cgd
Branches: MAIN
define the common structure used to attach 'com' units as slaves to
multiport cards.  prototype comprobe1(), which is used by multiport card
drivers.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>