The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.82.36.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:58 2026 UTC (11 days, 10 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +42 -9 lines
Sync with HEAD

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Oct 8 15:54:35 2026 UTC (5 weeks, 3 days ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +42 -9 lines
lpt(4): Fix concurrency and interrupt safety issues.

PR kern/60760: lpt(4) concurrency issues

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

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:49 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +3 -3 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:31 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-9-base, netbsd-9-5-RELEASE, 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, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, 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-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: perseant-exfatfs
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.78.22.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.78.22.1: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.22.1: +2 -2 lines
update from HEAD

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Oct 28 04:53:55 2017 UTC (9 years ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -4 lines
Kill some more extern struct cfdriver declarations.

Down with externs in .c!

Revision 1.78.22.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +14 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:52 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +3 -2 lines
Rebase.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:37 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, 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-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, 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.79: preferred, colored
Changes since revision 1.79: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

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

Revision 1.78.12.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:22 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +13 -4 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.78.26.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +13 -4 lines
sync with head

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:27 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +13 -4 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

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

Revision 1.74.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:32 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
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: +4 -5 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Nov 25 14:28:50 2009 UTC (16 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-tag8, 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-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4 lines
Remove IPL_LPT and IPL_IPI aliases, use the actual IPLs.
Fix some broken comments.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Nov 23 02:13:46 2009 UTC (16 years, 11 months ago) by rmind
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -3 lines
Remove some unecessary includes sys/user.h header.

Revision 1.75.10.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:23 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +7 -13 lines
Sync with HEAD.

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

Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:42 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +10 -16 lines
sync with head.

Revision 1.75.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:26 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +7 -13 lines
Sync with HEAD.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:17 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +7 -13 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.72.16.4: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:07 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.72.16.3: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.16.3: +5 -5 lines
Sync with HEAD.

Revision 1.74.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:04 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +5 -5 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.74.8.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:10 2008 UTC (18 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +5 -5 lines
Sync with head.

Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:34 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +5 -5 lines
sync with head.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Jun 10 22:53:08 2008 UTC (18 years, 5 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -5 lines
device_private(device_lookup()) -> device_lookup_private()
ok cube@

Revision 1.72.16.3: download - view: text, markup, annotated - select for diffs
Sun Apr 6 09:58:50 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.72.16.2: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.16.2: +3 -3 lines
- after some discussion with agc@ i agreed it would be a good idea to move
  device_unregister_* to device_deregister_* to be more like the pmf(9)
  functions, especially since a lot of the time the function calls are next
  to each other.

- add device_register_name() support for dk(4).

Revision 1.72.16.2: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:21 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.72.16.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.16.1: +16 -2 lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
  list of device drivers yet to be converted see,
  http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
  names associated with a device_t, which saves us having to construct
  device names when the driver is detached.

- add a DEV_AUDIO type for devices.

Revision 1.72.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:41 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +27 -13 lines
Sync with HEAD.

Revision 1.72.12.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:17 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +27 -13 lines
sync with head.

Revision 1.70.8.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:38 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.70.8.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.8.1: +27 -13 lines
sync with HEAD

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

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Mar 7 17:15:51 2008 UTC (18 years, 8 months ago) by cube
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +16 -13 lines
Split the softc from the device_t for all lpt(4) variants and attachments
except the ppbus stuff (which doesn't compile) and ulpt(4) which is
unrelated and can be dealt with separately.

As usual, it comes with related cosmetic changes.

Revision 1.64.4.5: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:34 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.64.4.4: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.4.4: +13 -2 lines
sync with head.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Feb 22 20:53:58 2008 UTC (18 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: hpcarm-cleanup-base
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +13 -2 lines
Add methods to detach lpt at isa.

Revision 1.70.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:26:50 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +15 -5 lines
sync with HEAD

Revision 1.64.4.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:30:50 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.64.4.3: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.4.3: +15 -5 lines
sync with head.

Revision 1.70.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:51 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +15 -5 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.71.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:47 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3 lines
Sync with HEAD.

Revision 1.69.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:34 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.69.2.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.2.2: +3 -3 lines
Sync with head.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Oct 19 11:59:55 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.70.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:08 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +14 -4 lines
sync with head.

Revision 1.69.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 12 17:03:08 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.69.2.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.2.1: +14 -4 lines
Sync with head.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Oct 9 12:45:27 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +14 -4 lines
Defer wakeup() to a soft interrupt, since lptintr() can be called above
IPL_SCHED.

Revision 1.64.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:53 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.64.4.2: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.4.2: +8 -8 lines
sync with head.

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:00 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
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.70: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:37 2007 UTC (19 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, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
Merge some of the less invasive changes from the vmlocking branch:

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

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:47:51 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
Adapt to callout API change.

Revision 1.68.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:37 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +7 -7 lines
Sync with HEAD.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:57 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -7 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.64.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:03 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.64.4.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.4.1: +10 -31 lines
sync with head.

Revision 1.66.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:06 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.1: +8 -8 lines
sync with head.

Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:13 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +9 -30 lines
Sync with head.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:51 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +8 -8 lines
__unused removal on arguments; approved by core.

Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:44 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -30 lines
sync with head

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:01 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -30 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

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

Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:57 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -3 lines
sync with head.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Sep 2 06:54:18 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Add missing initializer

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

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:27 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +8 -8 lines
merge ktrace-lwp.

Revision 1.63.10.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:51 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +15 -15 lines
sync with -current

Revision 1.63.12.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:03 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +15 -15 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:30 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.63.2.3: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.3: +15 -15 lines
Sync with HEAD.

Hi Perry!

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:02 2005 UTC (21 years, 8 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, 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.63: preferred, colored
Changes since revision 1.63: +15 -15 lines
nuke trailing whitespace

Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:28:04 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.2: +8 -8 lines
Fix the sync with head I botched.

Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:58 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +6 -6 lines
Sync with HEAD.

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:05 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +8 -8 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:30:13 2003 UTC (23 years, 4 months ago) by fvdl
Branches: 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, ktrace-lwp, kent-audio2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -6 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:34 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -8 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:38:00 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.57.2.3: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.3: +4 -0 lines
Sync with HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Dec 10 07:19:25 2002 UTC (23 years, 11 months ago) by rafal
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +6 -2 lines
Make this work on fast platforms by making sure signals are held for at
least 1us.  Documentation I've found for the simple (SPP) parallel port
mode says that data should be stable 500ns before STROBE, STROBE should
be pulsed for no less than 500ns, and that data should be stable another
500ns after STROBE has been de-asserted.

Makes lpt@ebus on my Sun Ultra5 work with my HP DeskJet 712C, at least in
polled mode.  Thanks to Martin for astutely noting it was probably a bug
with STROBE being pulsed too quickly.

Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:09:50 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.2: +1 -1 lines
Catch up to -current

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:13:17 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
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.57.4.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:39:05 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.57.4.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.4.1: +12 -5 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:19:50 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +11 -4 lines
Catch up to -current.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (24 years, 2 months ago) by gehenna
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +12 -5 lines
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.58.8.1: download - view: text, markup, annotated - select for diffs
Thu May 16 12:16:28 2002 UTC (24 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +12 -5 lines
Add the character device switch.

Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:54:48 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -1 lines
Sync kqueue branch with -current.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:28 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -1 lines
Catch up to -current.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:40 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -1 lines
add/cleanup RCSID

Revision 1.57.6.2: download - view: text, markup, annotated - select for diffs
Wed Sep 26 15:28:12 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.57.6.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.6.1: +18 -8 lines
* add a VCLONED vnode flag that indicates a vnode representing a cloned
  device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
  to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
  clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
  to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
  clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
  to the specinfo of a cloned vnode. could possibly redirect getattr to
  the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
  original device, and reassociates it with the specified dev_t. to be
  used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
  to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
  when debugging race conditions that still exist wrt. locking and
  revoking vnodes.
* make the locking state of a vnode consistent when passed to
  d_open and d_close (unlocked). locked would be better, but has
  some deadlock issues

Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:25 2001 UTC (25 years, 2 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +18 -13 lines
Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.55.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:42 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +8 -10 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.57: download - view: text, markup, annotated - select for diffs
Thu Jul 6 01:47:37 2000 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, 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, nathanw_sa, kqueue
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -8 lines
Use device_lookup().

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:31 2000 UTC (26 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.55: preferred, colored
Changes since revision 1.55: +5 -3 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.55: download - view: text, markup, annotated - select for diffs
Mon Mar 29 21:50:06 1999 UTC (27 years, 7 months ago) by perry
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-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -9 lines
Replace the #ifdef'ed variable DELAYs with a pair of non-ifdefed
DELAY(1)'s. This should fix interrupt driven lpt driver hang and
reboot problems for the group of users who have experienced them, and
shouldn't hurt anyone else.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Mar 25 02:17:38 1999 UTC (27 years, 7 months ago) by perry
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +9 -1 lines
Add two #ifdef BROKEN_LPT_DELAY's in to the central write byte
& strobe cycle. These bracket DELAY()'s of BROKEN_LPT_DELAY
microseconds. This can be used to kludge around mysterious hangs and
reboots some users experience. The cause of these failures is still
not known, but is conjectured to be hardware bug originated failures
in the bus cycle.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Feb 12 01:51:37 1999 UTC (27 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Fix printf format problems on Alpha.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Oct 14 20:09:06 1998 UTC (28 years, 1 month ago) by perry
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +13 -8 lines
Stop spurious lpt messages from being printed -- approved by fvdl.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Aug 15 03:02:45 1998 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
Make copyright notices with my name consistent.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jul 18 21:27:25 1998 UTC (28 years, 4 months ago) by is
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.

On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Feb 2 22:55:03 1998 UTC (28 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -2 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.48: download - view: text, markup, annotated - select for diffs
Mon Jan 12 09:23:29 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -4 lines
Adjust for config changes.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 7 16:11:06 1997 UTC (28 years, 11 months ago) by thorpej
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
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +5 -5 lines
Pull up from trunk: Use malloc()/free(), not geteblk()/brelse().

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 7 16:09:36 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -5 lines
Use malloc()/free(), not geteblk()/brelse(), for the device buffer.

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 15 05:36:13 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.45.2.2: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.2: +5 -14 lines
Update marc-pcmcia branch from trunk.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Oct 14 15:50:15 1997 UTC (29 years, 1 month ago) by is
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-BETA, marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -14 lines
Finalize the isa/lpt.c split:
The isa attachment code is in isa/lpt_isa.c now, which attaches to the
already created ic/lpt* files.
You don't need to change your config files, but you need to re-"config" if
using lpt at isa.
XXX The "lpt" device definition should be in sys/conf/files instead, but to
my knowledge, there are some ports which have private copies of lpt, and would
choke on that. No need to make people unhappy 7 days before release branching.

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:22:47 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +427 -0 lines
Update marc-pcmcia branch from trunk.

Revision 1.45.2.1
Sat Sep 27 22:44:15 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
FILE REMOVED
Changes since revision 1.45: +0 -427 lines
file lpt.c was added on branch marc-pcmcia on 1997-10-14 10:22:47 +0000

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Sep 27 22:44:15 1997 UTC (29 years, 1 month ago) by is
Branches: MAIN
Branch point for: marc-pcmcia
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +12 -175 lines
First part of splitting lpt.c, and the NetBSD/Amiga  "supio" frontend. Needs
a bit more work to allow an ISA frontend.

Revision 1.43.10.1: download - view: text, markup, annotated - select for diffs
Thu Sep 4 01:05:44 1997 UTC (29 years, 2 months ago) by thorpej
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +11 -9 lines
Update marc-pcmcia branch from trunk.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Sep 2 01:37:19 1997 UTC (29 years, 2 months ago) by mikel
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +11 -9 lines
add missing argument to LPRINTF() declaration; from Geoff Wing in PR 4072.
I also made inclusion of LPRINTF() dependent solely on the symbol
  LPTDEBUG, initialized lptdebug variable to 0 instead of 1, and
  matched arguments to format strings in LPRINTF() calls.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Dec 5 01:25:42 1996 UTC (29 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -2 lines
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Oct 21 22:41:14 1996 UTC (30 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +50 -50 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.41: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:37:55 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -6 lines
backout kprintf changes

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:05:07 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -6 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun May 12 23:53:06 1996 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -6 lines
Use intr.h.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Apr 29 20:30:48 1996 UTC (30 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +30 -19 lines
- Fix gcc -Wall warnings
- BUG: if (error = ...() == EWOULDBLOCK)

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Apr 11 22:29:37 1996 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +8 -4 lines
update for addition of a machine-dependent cookie as the first argument
to isa_intr_{,dis}establish().

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Apr 10 19:03:46 1996 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1 lines
Add explicit return types.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Mar 18 09:14:32 1996 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
since this driver tries to block its interrupt with spltty(), it must
attach that interrupt with IPL_TTY.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Mar 17 13:40:29 1996 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -8 lines
clean up <machine/bus.h> changes a bit; no real functional change.
prototype lpt_port_test().

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Mar 17 00:53:41 1996 UTC (30 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -7 lines
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.32: download - view: text, markup, annotated - select for diffs
Fri Mar 8 22:17:58 1996 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +69 -42 lines
convert to use I/O mapping/access macros in <machine/bus.h>.
Mostly mechanical changes, except for probe/attach, which have
to map (and, in the case of probe, unmap) the I/O space that the
chip will use.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 24 02:31:40 1995 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Apr 17 12:09:17 1995 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +10 -12 lines
clean up several ISA device interfaces: autoconfiguration, header
inclusion, and interrupt configuration.  more work still needs to be done,
but it's getting better...

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jan 29 07:37:10 1995 UTC (31 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
lip service to making ISA support machine-independent.  This is the first
round: moving the drivers into a machine-independent directory.
Some drivers (e.g. fd.c) not moved because they use other pc features (e.g.
CMOS settings), and none of the non-driver files moved, because they're
still pretty much PC specific.  eventually (when other ports with ISA
busses really start using this code), more 'high-level' ISA support will
live here.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jan 26 07:35:49 1995 UTC (31 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +15 -26 lines
Don't check the control port at all; too unreliable.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jan 22 00:12:39 1995 UTC (31 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Rearrange tests so `offline' has higher priority than `out of paper'.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jan 3 01:30:50 1995 UTC (31 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
Add interrupt sharing types.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 23 06:27:25 1994 UTC (32 years ago) by cgd
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +11 -10 lines
make sure to do an untimeout.  for patch_04

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Nov 18 22:03:28 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +42 -44 lines
Convert port, IRQ, and DRQ numbers to ints.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Oct 30 21:44:04 1994 UTC (32 years ago) by cgd
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
be more careful with types, also pull in headers where necessary.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 27 04:17:54 1994 UTC (32 years ago) by cgd
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
new RCS ID format.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jun 16 01:08:21 1994 UTC (32 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
b_un.b_addr -> b_data

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri May 27 08:54:52 1994 UTC (32 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -4 lines
Only print the blasted messages *once* per error.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 23 02:33:23 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
turn off spontaneous printing of messages when DEBUG turned on

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu May 5 07:52:53 1994 UTC (32 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Remove now-bogus cast.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 5 05:36:39 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -5 lines
lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Apr 22 23:02:40 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2 lines
Don't need isa.h.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Apr 7 06:51:01 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +16 -10 lines
Implement dynamic IRQ configuration and IRQ sharing.  Inline spl*() calls.
Reorganize and clean up the relevant code.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 29 04:36:08 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +34 -32 lines
Updates for new autoconfig.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:19:11 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
DELAY() --> delay().  This is not a macro.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 19 03:36:12 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +18 -26 lines
Speed it up a little...

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 19 02:43:53 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -12 lines
Minor tweak of no importance.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Feb 18 19:50:56 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +338 -248 lines
Combined version from magnum branch.  Somewhat faster and less buggy.

Revision 1.7.4.18: download - view: text, markup, annotated - select for diffs
Wed Feb 16 21:40:56 1994 UTC (32 years, 9 months ago) by mycroft
Diff to: previous 1.7.4.17: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.17: +13 -11 lines
Avoid two minor race conditions; no real differences.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Feb 9 21:13:46 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
All ioctl routines take a struct proc * now.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 20 09:06:23 1993 UTC (32 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +15 -13 lines
Canonicalize all #includes, and add pio.h where appropriate.

Revision 1.7.4.17: download - view: text, markup, annotated - select for diffs
Fri Oct 29 21:35:20 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.7.4.16: preferred, colored
Changes since revision 1.7.4.16: +2 -4 lines
Force the printer closed even if the final pushbytes() fails.

Revision 1.7.4.16: download - view: text, markup, annotated - select for diffs
Fri Oct 29 21:33:32 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.7.4.15: preferred, colored
Changes since revision 1.7.4.15: +2 -1 lines
Make sure pushbytes() returns 0 on success.

Revision 1.7.4.15: download - view: text, markup, annotated - select for diffs
Fri Oct 29 21:04:20 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.7.4.14: preferred, colored
Changes since revision 1.7.4.14: +5 -5 lines
Ignore the bottom 3 bits when checking for printer ready.

Revision 1.7.4.14: download - view: text, markup, annotated - select for diffs
Fri Oct 29 20:03:39 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.7.4.13: preferred, colored
Changes since revision 1.7.4.13: +12 -9 lines
Make some debugging code in the probe routines #ifdef DEBUG.

Revision 1.7.4.13: download - view: text, markup, annotated - select for diffs
Wed Oct 27 05:37:13 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.7.4.12: preferred, colored
Changes since revision 1.7.4.12: +34 -5 lines
Add lptforceintr(), but disabled for now.  Add some debugging code.

Revision 1.7.4.12: download - view: text, markup, annotated - select for diffs
Mon Oct 18 08:35:34 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.11: preferred, colored
Changes since revision 1.7.4.11: +2 -3 lines
We can't determine lpt interrupts dynamically.

Revision 1.7.4.11: download - view: text, markup, annotated - select for diffs
Sun Oct 17 05:32:53 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.10: preferred, colored
Changes since revision 1.7.4.10: +54 -35 lines
When an error occurs, at least say what it is before hanging.

Revision 1.7.4.10: download - view: text, markup, annotated - select for diffs
Sat Oct 16 06:39:42 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.9: preferred, colored
Changes since revision 1.7.4.9: +9 -7 lines
Add missing dv_class entry to cfdrivers, and use dv_xname where appropriate.

Revision 1.7.4.9: download - view: text, markup, annotated - select for diffs
Tue Oct 12 23:30:52 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.8: preferred, colored
Changes since revision 1.7.4.8: +2 -2 lines
Minor cleanup.

Revision 1.7.4.8: download - view: text, markup, annotated - select for diffs
Mon Oct 11 01:51:30 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.7: preferred, colored
Changes since revision 1.7.4.7: +3 -1 lines
#include pio.h where needed, and remove cpufunc.h.

Revision 1.7.4.7: download - view: text, markup, annotated - select for diffs
Thu Oct 7 14:48:40 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.6: preferred, colored
Changes since revision 1.7.4.6: +1 -2 lines
Don't #include isa.h.

Revision 1.7.4.6: download - view: text, markup, annotated - select for diffs
Wed Oct 6 12:10:53 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.5: preferred, colored
Changes since revision 1.7.4.5: +28 -23 lines
Finish reformatting.  Turn interrupt on or off as appropriate in lptopen().

Revision 1.7.4.5: download - view: text, markup, annotated - select for diffs
Fri Oct 1 00:38:54 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.4: preferred, colored
Changes since revision 1.7.4.4: +2 -1 lines
#include "machine/cpu.h"

Revision 1.7.4.4: download - view: text, markup, annotated - select for diffs
Thu Sep 30 20:19:06 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.3: preferred, colored
Changes since revision 1.7.4.3: +18 -5 lines
Change some uses of IRQUNK to IRQNONE.  #include isa.h and icu.h.

Revision 1.7.4.3: download - view: text, markup, annotated - select for diffs
Thu Sep 30 17:33:01 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.2: preferred, colored
Changes since revision 1.7.4.2: +8 -4 lines
clock.c: Remove unnecessary casts.
com.c: Update for new config.  Add bis() and bic() macros like BSDI's.
Add comspeed() and tiocm_xxx2mcr() from BSDI.
comreg.h: Add COM_FREQ, COM_TOLERANCE, and COM_NPORTS.
fd.c: Remove casts and clean up fdioctl().
[lm]ms.c: Add necessary gunk to [lm]ms_softc and remove casts.

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 29 05:20:26 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.7.4.1: preferred, colored
Changes since revision 1.7.4.1: +274 -256 lines
lms.c: Update for new config.
lpa.c: Defunct.
lpt.c: Update for new config.  Fix handling of interrupted writes.  Merge code
from lpa driver.  Make all operations interruptible.  Remove a few other
bogons.
lptreg.h: Add LPT_NPORTS.
pccons.c: Merge changes from trunk.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 28 21:26:59 1993 UTC (33 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -4 lines
get rid of stray printfs (turn them into "lprintf"s)

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 14 17:32:46 1993 UTC (33 years, 2 months ago) by mycroft
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +34 -13 lines
New i386 code.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 17 16:20:32 1993 UTC (33 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -6 lines
Make these files GCC 2 happy.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jun 15 01:50:32 1993 UTC (33 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -2 lines
Ignore interrupts if the device isn't open.  This prevents stray interrupts
from hosing the works.  What a stupid architecture.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 5 22:58:31 1993 UTC (33 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -5 lines
patch from rgrimes to add delay to let data port stabilize, also
make "lpflag" unique to each driver

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat May 22 11:41:22 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
add include of select.h if necessary for protos, or delete if extraneous

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue May 18 18:19:04 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -11 lines
make kernel select interface be one-stop shopping & clean it all up.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 7 05:38:56 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +118 -22 lines
fix lpt driver and add lpa driver.  from 386bsd pk patch 133

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: WJF-920714
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: MAIN
Initial revision

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>