The NetBSD Project

CVS log for src/sys/dev/isa/isa.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.140.12.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:00 2026 UTC (11 days, 9 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.140: preferred, colored; next MAIN 1.141: preferred, colored
Changes since revision 1.140: +4 -121 lines
Sync with HEAD

Revision 1.142: download - view: text, markup, annotated - select for diffs
Fri Oct 17 16:56:00 2025 UTC (12 months, 4 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -116 lines
Garbage-collect the "isa_knowndev" stuff; nothing used it.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Fri Oct 3 14:14:36 2025 UTC (13 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -7 lines
Use device_{get,set}prop_bool() for "no-legacy-devices".

Revision 1.140: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +6 -9 lines
Merge thorpej-cfargs2.

Revision 1.139.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 20:27:35 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139: +6 -9 lines
Adapt to CFARGS().

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +21 -11 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.138.76.8: download - view: text, markup, annotated - select for diffs
Mon Apr 5 01:01:48 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138.76.7: preferred, colored; branchpoint 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138.76.7: +3 -3 lines
Treat config_probe() as if it were a boolean function; don't compare
return value > 0... except for the odd balls, which are now really easy
to spot.

Revision 1.138.76.7: download - view: text, markup, annotated - select for diffs
Mon Apr 5 00:48:54 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138.76.6: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.76.6: +3 -3 lines
config_match() -> config_probe() for the straight-forward indirect config
cases.  There are still a few odd balls using config_match() which should
be sorted out later.

Revision 1.138.76.6: download - view: text, markup, annotated - select for diffs
Sun Apr 4 22:01:22 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138.76.5: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.76.5: +3 -3 lines
CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.

Revision 1.138.76.5: download - view: text, markup, annotated - select for diffs
Sat Apr 3 06:54:29 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138.76.4: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.76.4: +5 -3 lines
config_attach_loc() -> config_attach() with CFARG_LOCATORS argument.

Revision 1.138.76.4: download - view: text, markup, annotated - select for diffs
Sun Mar 28 20:34:44 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138.76.3: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.76.3: +10 -7 lines
- Use designated initializers for the wildcard[] array in isaattach().
- No need to be explicit about interface attribute.

Revision 1.138.76.3: download - view: text, markup, annotated - select for diffs
Mon Mar 22 16:23:45 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138.76.2: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.76.2: +2 -3 lines
Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.

Revision 1.138.76.2: download - view: text, markup, annotated - select for diffs
Mon Mar 22 02:01:00 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138.76.1: preferred, colored; branchpoint 1.138: preferred, colored
Changes since revision 1.138.76.1: +6 -4 lines
Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.

Revision 1.138.76.1: download - view: text, markup, annotated - select for diffs
Sat Mar 20 19:33:40 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +7 -3 lines
The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
  tag-value variadic arguments that can be passed to the various
  config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
  for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
  variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
  Noticed several incorrect usages along the way, which will be
  audited in a future commit.

Revision 1.138.18.1: download - view: text, markup, annotated - select for diffs
Wed Sep 12 06:15:32 2012 UTC (14 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +5 -2 lines
Initial snapshot of work to eliminate 64K MAXPHYS.  Basically works for
physio (I/O to raw devices); needs more doing to get it going with the
filesystems, but it shouldn't damage data.

All work's been done on amd64 so far.  Not hard to add support to other
ports.  If others want to pitch in, one very helpful thing would be to
sort out when and how IDE disks can do 128K or larger transfers, and
adjust the various PCI IDE (or at least ahcisata) drivers and wd.c
accordingly -- it would make testing much easier.  Another very helpful
thing would be to implement a smart minphys() for RAIDframe along the
lines detailed in the MAXPHYS-NOTES file.

Revision 1.137.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:25 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +11 -2 lines
sync with head

Revision 1.137.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:01 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +11 -2 lines
Sync with HEAD (-D20101022).

Revision 1.133.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:07 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.133.4.4: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.4.4: +11 -2 lines
sync with head

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Aug 21 17:08:15 2010 UTC (16 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-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-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, 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-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cherry-xenmp-base, cherry-xenmp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: tls-maxphys, thorpej-cfargs
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +11 -2 lines
If the 'no-legacy-devices' property is present and true, skip device
enumeration.

Revision 1.133.4.4: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:49 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.133.4.3: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.4.3: +3 -3 lines
sync with head

Revision 1.133.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:08 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.133.4.2: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.4.2: +32 -4 lines
sync with head.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Wed Aug 19 16:23:28 2009 UTC (17 years, 3 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3 lines
build fix: isa_detach_hook() needs isa_chipset_tag_t as first argument.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Tue Aug 18 16:52:42 2009 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base7
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +32 -4 lines
Let us safely detach the ISA bus and devices attaching to the ISA
bus:

1 Add isadetach() for detaching the ISA bus, and add some helper
  routines that release resources held for ISA DMA.

2 In isachilddetached(), forget references to child devices.

While I am here, change ISA_DMA_DRQ_ISFREE(...) == 0 to the simpler
expression, !ISA_DMA_DRQ_ISFREE(...).

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

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

Revision 1.133.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:48 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.133.4.1: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.4.1: +3 -3 lines
sync with head.

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

Revision 1.135: download - view: text, markup, annotated - select for diffs
Tue Apr 7 21:48:46 2009 UTC (17 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: 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-base
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +3 -3 lines
Fix spelling: indrect -> indirect.

Revision 1.131.10.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:31 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.131.10.1: preferred, colored; branchpoint 1.131: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.10.1: +0 -7 lines
Sync with HEAD.

Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:03 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +2 -9 lines
sync with head.

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

Revision 1.134: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:52 2008 UTC (18 years, 6 months ago) by martin
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, 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, hpcarm-cleanup-nbase, 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.133: preferred, colored
Changes since revision 1.133: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

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

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sun Mar 30 15:24:08 2008 UTC (18 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +19 -3 lines
Add isa_get_slotcount/isa_set_slotcount to get/set the number of ISA
compatible expansion slots in a system.

Revision 1.131.6.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:29 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.131: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131: +20 -21 lines
sync with head.

Revision 1.128.20.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:41 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.128.20.2: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.20.2: +20 -21 lines
sync with HEAD

Revision 1.120.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:51 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.120.2.6: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.2.6: +20 -21 lines
sync with head.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Mar 15 16:56:29 2008 UTC (18 years, 8 months ago) by cube
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +20 -21 lines
Split device_t and softc for isa(4).

Revision 1.120.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:43:18 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.120.2.5: preferred, colored
Changes since revision 1.120.2.5: +5 -2 lines
sync with head

Revision 1.128.20.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:12 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.128.20.1: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.20.1: +7 -3 lines
sync with HEAD

Revision 1.129.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:11 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.129.2.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.2.1: +5 -2 lines
Sync with HEAD.

Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:31 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +5 -2 lines
Sync with head.

Revision 1.130.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:29:19 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +5 -2 lines
sync with head.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:01 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +5 -2 lines
Merge jmcneill-pm branch.

Revision 1.129.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:36 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -3 lines
Sync with HEAD.

Revision 1.128.18.6: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:12 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.128.18.5: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.18.5: +3 -3 lines
Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.120.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:30:17 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.120.2.4: preferred, colored
Changes since revision 1.120.2.4: +4 -3 lines
sync with head

Revision 1.128.18.5: download - view: text, markup, annotated - select for diffs
Sat Dec 1 04:51:57 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.128.18.4: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.18.4: +4 -3 lines
Sync with HEAD.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Sat Dec 1 04:50:23 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -3 lines
aprint-ify isaattach, removes a hard-to-find newline on a boot -z

Revision 1.128.20.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:46 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -3 lines
sync with HEAD

Revision 1.128.18.4: download - view: text, markup, annotated - select for diffs
Tue Nov 6 14:27:18 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.128.18.3: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.18.3: +4 -99 lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.120.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:43 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.120.2.3: preferred, colored
Changes since revision 1.120.2.3: +3 -3 lines
sync with head.

Revision 1.128.18.3: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:21 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.128.18.2: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.18.2: +3 -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.128.24.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:38:17 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +3 -3 lines
Sync with HEAD.

Revision 1.128.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:08:10 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +3 -3 lines
Sync with head.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:19 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.128.18.2: download - view: text, markup, annotated - select for diffs
Fri Oct 5 01:25:24 2007 UTC (19 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.128.18.1: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.18.1: +98 -2 lines
Add generic ISA power handler.

Revision 1.128.18.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 02:20:30 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -2 lines
Use pnp_generic_power

Revision 1.120.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:15 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.120.2.2: preferred, colored
Changes since revision 1.120.2.2: +7 -7 lines
sync with head.

Revision 1.124.20.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:38 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.124.20.1: preferred, colored; branchpoint 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.20.1: +8 -8 lines
Sync with head.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Jan 2 02:23:51 2007 UTC (19 years, 10 months ago) by isaki
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, yamt-idlelwp, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +7 -7 lines
Correct indent.

Revision 1.120.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:27 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.120.2.1: preferred, colored
Changes since revision 1.120.2.1: +7 -6 lines
sync with head.

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

Revision 1.127: download - view: text, markup, annotated - select for diffs
Fri Nov 24 22:04:25 2006 UTC (19 years, 11 months ago) by wiz
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, 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
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +3 -3 lines
s/independant/independent/, from Zafer.

Revision 1.124.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:21 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +6 -5 lines
Sync with head.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:00 2006 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +7 -7 lines
__unused removal on arguments; approved by core.

Revision 1.124.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:04 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -6 lines
sync with head

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

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

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:02 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, 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-splraiseipl, newlock2
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -2 lines
merge ktrace-lwp.

Revision 1.116.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:05:37 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.116.2.4: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.2.4: +25 -29 lines
Sync with HEAD. Here we go again...

Revision 1.123: download - view: text, markup, annotated - select for diffs
Fri Aug 26 12:42:11 2005 UTC (21 years, 2 months ago) by drochner
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +6 -6 lines
s/locdesc_t/int/g

Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu Aug 25 20:52:02 2005 UTC (21 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +14 -14 lines
oops, too much mechanical renaming -- clearly separate searched and
found locators

Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu Aug 25 18:35:39 2005 UTC (21 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +18 -22 lines
replace the "locdesc_t" structure carrying the number of locators
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun May 29 22:12:37 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3 lines
sprinkle const.

Revision 1.116.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:29:45 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.116.2.3: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.3: +2 -2 lines
Fix the sync with head I botched.

Revision 1.116.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:47:46 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.116.2.2: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.2: +4 -2 lines
Sync with HEAD.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Sep 14 17:38:30 2004 UTC (22 years, 2 months ago) by drochner
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -2 lines
include "locators.h" explicitely where it is needed, so that
it can be removed in the isavar.h header eventually

Revision 1.116.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:18 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.116.2.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.1: +2 -7 lines
Sync with HEAD

Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Aug 30 15:05:19 2004 UTC (22 years, 2 months ago) by drochner
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -7 lines
Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.

Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:04 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +96 -28 lines
Sync with HEAD.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Wed Aug 18 11:54:47 2004 UTC (22 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +96 -28 lines
allow to detach child devices and (optional selectively) bus rescans,
using the new autoconf functions

Revision 1.107.6.6: download - view: text, markup, annotated - select for diffs
Fri Jan 3 17:07:49 2003 UTC (23 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.107.6.5: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.6.5: +17 -17 lines
Sync with HEAD.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Jan 1 00:10:20 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: ktrace-lwp
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +17 -17 lines
Use aprint_normal() in cfprint routines.

Revision 1.107.6.5: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:42:22 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.107.6.4: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.6.4: +7 -8 lines
Catch up to -current.

Revision 1.108.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:39:41 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.108.2.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.2.1: +7 -8 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.115: download - view: text, markup, annotated - select for diffs
Wed Oct 2 03:10:48 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3 lines
Fix sizeof and whitespace bug from the script I'm using to do the
CFATTACH_DECL conversion.  (Grumble.)

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Oct 2 02:09:19 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -5 lines
Use CFATTACH_DECL().

Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:38:38 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -3 lines
Declare all cfattach structures const.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Sep 27 03:18:14 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -4 lines
Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Sep 27 02:24:30 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -3 lines
Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.

Revision 1.110.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 6 16:12:08 2002 UTC (24 years, 7 months ago) by eeh
Branches: eeh-devprop
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +215 -11 lines
Convert to support attachment through devprops as well.

Revision 1.107.6.4: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:44 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.107.6.3: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.6.3: +2 -2 lines
Catch up to -current.

Revision 1.107.6.3: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:39:08 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.107.6.2: preferred, colored; branchpoint 1.107: preferred, colored
Changes since revision 1.107.6.2: +257 -45 lines
More catchup.

Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:32 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +259 -44 lines
Sync kqueue branch with -current.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Jan 7 21:47:09 2002 UTC (24 years, 10 months ago) by thorpej
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, gehenna-devsw, eeh-devprop-base
Branch point for: eeh-devprop
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +257 -45 lines
Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
  resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
  isa_attach_args.  If either of these members are non-NULL,
  direct configuration of the bus is being performed.  Add an
  ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
  direct configuration is not being performed and the probe fucntion
  is returning success.
* Adapt device drivers -- currently, all driver probe routines return
  "no match" if ISA_DIRECT_CONFIG() evaluates to true.

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

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Nov 13 08:01:21 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -1 lines
add RCSID

Revision 1.107.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:03:50 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2 lines
Catch up to -current.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Jun 19 12:45:23 2001 UTC (25 years, 5 months ago) by fvdl
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
Branch point for: kqueue
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2 lines
ifdef NISAPNP -> if NISAPNP > 0

Revision 1.106.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:41:17 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +1 -2 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.107: download - view: text, markup, annotated - select for diffs
Wed Mar 29 03:43:31 2000 UTC (26 years, 7 months ago) by simonb
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, 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
Branch point for: nathanw_sa
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +1 -2 lines
Don't need to include <sys/conf.h> here.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Feb 19 16:15:06 1999 UTC (27 years, 9 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-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +1 -3 lines
Kill vestiges of isa_establish().

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Aug 15 03:51:31 1998 UTC (28 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +22 -15 lines
Assign copyrights to TNF.

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

Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 8 03:06:48 1998 UTC (28 years, 3 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +14 -1 lines
Revert cdevsw mmap routines to return int.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Jul 30 18:03:34 1998 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +14 -1 lines
Use the previously committed pnp hook.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Thu Jun 11 08:29:33 1998 UTC (28 years, 5 months ago) by leo
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +5 -1 lines
Don't call isa_dmainit() when NISADMA == 0.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jun 9 00:00:21 1998 UTC (28 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -8 lines
Change the ISA DMA API to take an isa_chipset_tag_t rather than
a struct device * corresponding to the ISA bus device.  The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.

These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue May 5 21:41:18 1998 UTC (28 years, 6 months ago) by drochner
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -65 lines
Remove BROKEN_INDIRECT_CONFIG relicts.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Apr 15 01:44:23 1998 UTC (28 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +1 -11 lines
Remove the `delay port' stuff since nothing uses it anymore (can't reliably
use it on modern chipsets).

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Jan 12 09:43:41 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +7 -9 lines
Update for config changes.

Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 27 23:31:45 1997 UTC (29 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96: +5 -1 lines
Update marc-pcmcia branch from trunk.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Aug 26 19:27:22 1997 UTC (29 years, 2 months ago) by augustss
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, 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, netbsd-1-3, marc-pcmcia-base
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +5 -1 lines
XXX Add a drq2 locator for the ISA bus.  Many sound cards need
two DMA channels to do e.g. full-duplex.  This allows
a way of specifying the second channel in a sane way.
THIS IS TEMPORARY.  The drq2 locator will go away when
the locator system has been changed to allow multiple
values per locator.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Jul 17 00:58:49 1997 UTC (29 years, 4 months ago) by jtk
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +13 -13 lines
use locator defines in "locators.h" to index cf_loc[]

still to be done and/or decided not to be done: replace all *UNK uses in
isa code with the native names from locators.h

Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Jun 6 23:43:54 1997 UTC (29 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +17 -2 lines
Pull thorpej-bus-dma branch into mainline.

Revision 1.94.6.1: download - view: text, markup, annotated - select for diffs
Tue May 13 03:12:42 1997 UTC (29 years, 6 months ago) by thorpej
Branches: thorpej-bus-dma
Diff to: previous 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94: +17 -2 lines
- Pass the bus dma tag to children.
- Map the on-board ISA DMA controller registers and the DMA page registers.
  The "delay port" lives in this range, so subregion it.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Jan 26 03:49:28 1997 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-bus-dma-base, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Branch point for: thorpej-bus-dma
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +34 -16 lines
split isasearch (!__BROKEN_INDIRECT_CONFIG) completely off of
isascan (__BROKEN_INDIRECT_CONFIG), and attempt multiple match/attach
of cloning devices in isasearch().  (If a match/attach succeeds for
a cloning device, try it again.)

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Dec 8 00:14:03 1996 UTC (29 years, 11 months ago) by cgd
Branches: MAIN
CVS tags: thorpej-setroot
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -2 lines
The last change fixed a last-minute goof in the __BROKEN_INDIRECT_CONFIG
case, but added a typo (extra parenthesis) in the !__BROKEN_INDIRECT_CONFIG
case.  fix it.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Dec 5 22:16:04 1996 UTC (29 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +5 -3 lines
fix a (fatal) bug in the __BROKEN_INDIRECT_CONFIG changes checked
in yesterday.  (got a little bit careless with #ifdef'd variables.)

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

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Nov 23 21:36:44 1996 UTC (29 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -1 lines
restrict the FSTATE_STAR prohibition (and panic) to the i386 only.  Cloning
devices actually do make sense on indirect-config busses, because you
might be able to have more than one of the busses!  In addition, they're
useful because they don't require unit numbers to be wired down, so you
could e.g. have vga* at indirect? and vga* at direct?, and have the first
one found be unit number zero.  Finally, devices which can divine their
own ports numbers, etc., actually should be cloning, even if you know you'll
only have one bus that they can live on.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Oct 21 22:41:09 1996 UTC (30 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +7 -5 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.88: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:37:53 1996 UTC (30 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +8 -8 lines
backout kprintf changes

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

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Aug 27 21:59:28 1996 UTC (30 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).

Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue May 14 00:31:04 1996 UTC (30 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -1 lines
#include <machine/intr.h> to get IST_* definitions.

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

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed May 8 23:32:39 1996 UTC (30 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
Correct a couple of comments ... port 0x84 produces a 1.25us delay when
read, not 2.5us.  (I must have been confused; thanks Charles, for
correcting me.)

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun May 5 01:14:07 1996 UTC (30 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +9 -1 lines
Map port 0x84 (which is used to generate a 2.6us delay) in isaattach().
Since this port is needed by at least a few drivers, export its i/o handle
via isa_attach_args.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Apr 29 20:03:24 1996 UTC (30 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -1 lines
- prototype fixes

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Apr 11 22:25:44 1996 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +7 -1 lines
on non-i386 systems, include <machine/intr.h> (per charles's proposal on
tech-kern (?)), to get the IPL_* and IST_* types.  pass the machine-dependent
cookie given at attach time on to sub-devices, so they can use it to access
the interrupt functions properly.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Mar 17 00:53:39 1996 UTC (30 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -4 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.78: download - view: text, markup, annotated - select for diffs
Fri Mar 8 20:36:21 1996 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -1 lines
remember the bus_chipset_tag_t given by our parent, and pass it on to
children.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Feb 28 01:43:48 1996 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +38 -1 lines
make ISA bus match/attach, and sub-device configuration machine-independent.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Jan 16 07:52:38 1996 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
Make the panic message for ISA clone devices more informative.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Dec 24 02:31:37 1995 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -6 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.74: download - view: text, markup, annotated - select for diffs
Wed Jun 7 06:46:04 1995 UTC (31 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -30 lines
make match/attach routines and cfdriver struct mi

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed May 17 02:07:03 1995 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2 lines
isa softc structs are larger than 'struct device'

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Apr 17 12:09:09 1995 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +24 -9 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.71: download - view: text, markup, annotated - select for diffs
Mon Jan 16 10:36:26 1995 UTC (31 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -3 lines
Remove outdated comment.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jan 2 20:06:35 1995 UTC (31 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +5 -7 lines
Don't assume ia_maddr is in the hole.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Nov 18 22:25:17 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3 lines
Stylistic changes.

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

Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Nov 14 23:58:56 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -1 lines
Map IRQ 2 to IRQ 9.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Nov 4 18:35:13 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4 lines
Change all of the uses of IRQ{0-15} and bit masks to use plain numbers
rather than bit shifting.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Nov 4 08:55:53 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -4 lines
Use kvtop() rather than address arithmetic in a couple of places.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Nov 4 06:40:14 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +29 -32 lines
Add a new function config_scan(), which just calls a particular function
with each plausibly cfdata, ignoring the priority mechanism completely.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Nov 4 03:57:32 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +32 -34 lines
Commit incest with the config system for this one specific case.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Nov 4 02:55:32 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -3 lines
Set ia_irq correctly.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Nov 4 00:53:06 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -3 lines
Correct an oversight.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Nov 4 00:07:39 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -1 lines
Oops; forgot isacd.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Nov 3 23:53:19 1994 UTC (32 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +40 -187 lines
New version using standard config_*() functions.

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

Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 11 09:46:36 1994 UTC (32 years, 1 month ago) by mycroft
Diff to: previous 1.55.2.1: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.1: +1 -2 lines
Update from trunk.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Oct 9 15:06:23 1994 UTC (32 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -2 lines
Remove unneeded #includes.

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 7 09:21:11 1994 UTC (32 years, 1 month ago) by mycroft
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +14 -18 lines
Update from trunk.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Oct 7 09:08:29 1994 UTC (32 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +14 -18 lines
Fix initial allocation of dev array, and simplify the code
slightly.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu May 5 05:36:35 1994 UTC (32 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -1 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.54: download - view: text, markup, annotated - select for diffs
Tue May 3 20:32:22 1994 UTC (32 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -5 lines
Forgot to munge the #includes in last commit.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue May 3 08:23:55 1994 UTC (32 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -48 lines
Move beep junk to clock.c.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Apr 24 01:34:09 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Rename two files.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Apr 22 22:58:59 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -283 lines
Separate DMA functions.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Apr 21 04:26:37 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
Fix typo.

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

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Apr 3 22:51:48 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -2 lines
Clean up #includes.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Mar 31 16:59:04 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -6 lines
Remove an old hack that now just causes a small memory leak during autoconfig.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Mar 29 04:34:18 1994 UTC (32 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +210 -188 lines
New autoconfig mechanism.  Hacked at the moment to use old config(8), but
look mostly like config.new to drivers.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Mar 12 03:29:20 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +11 -47 lines
Rearrange top-level configuration to be more consistent.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Mar 10 21:38:46 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +85 -87 lines
Update for new config; handles subdevices differently.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Mar 10 18:14:32 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +20 -1 lines
Add isa_dmaabort().

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Mar 9 07:58:41 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -12 lines
Back out previous change for now.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Mar 8 13:24:57 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +13 -13 lines
Inline spl*() calls.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:37:56 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +53 -70 lines
Better delay() from magnum branch.

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

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Mar 1 18:22:52 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -17 lines
Remove some dead code.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Mar 1 18:16:33 1994 UTC (32 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +71 -33 lines
Clean up DMA code.  Mask and unmask channels.  Warn if terminal count not
reached.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Feb 22 23:39:32 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4 lines
Add clockmask.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Feb 22 23:36:11 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -1 lines
Add clockmask.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Feb 16 17:59:21 1994 UTC (32 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -18 lines
Move elink_reset() into a separate file, and add a generic elink_idseq().

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Feb 16 07:26:52 1994 UTC (32 years, 9 months ago) by hpeyerl
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +18 -1 lines
Add common reset function so if_ep and if_ie don't reset each-other.
(this is a 3commonality)

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Dec 20 09:11:52 1993 UTC (32 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Use cpufunc.h only where (currently) needed.

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

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Dec 17 00:11:48 1993 UTC (32 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +14 -18 lines
From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.

Revision 1.28.2.22: download - view: text, markup, annotated - select for diffs
Wed Dec 1 00:55:47 1993 UTC (32 years, 11 months ago) by mycroft
Diff to: previous 1.28.2.21: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.21: +7 -11 lines
Remove silly hack to force a delay between beeps.

Revision 1.28.2.21: download - view: text, markup, annotated - select for diffs
Mon Nov 8 20:20:03 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.28.2.20: preferred, colored
Changes since revision 1.28.2.20: +3 -5 lines
Minor cleanup.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Nov 5 23:18:04 1993 UTC (33 years ago) by cgd
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
note that use of splnone() is prolly bogus; splnone() itself is bogus,
so it's use is.  8-)

Revision 1.28.2.20: download - view: text, markup, annotated - select for diffs
Sun Oct 31 23:43:07 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.28.2.19: preferred, colored
Changes since revision 1.28.2.19: +1 -2 lines
IRQ_SLAVE should not be enabled here.

Revision 1.28.2.19: download - view: text, markup, annotated - select for diffs
Wed Oct 27 06:48:36 1993 UTC (33 years ago) by mycroft
Diff to: previous 1.28.2.18: preferred, colored
Changes since revision 1.28.2.18: +1 -4 lines
Arrange that IF is on but we are at splhigh() during autoconfig.  Clear
ipending in isa_flushintrs().

Revision 1.28.2.18: download - view: text, markup, annotated - select for diffs
Fri Oct 22 19:19:34 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.17: preferred, colored
Changes since revision 1.28.2.17: +1 -15 lines
Remove isa_nmi().

Revision 1.28.2.17: download - view: text, markup, annotated - select for diffs
Fri Oct 22 19:11:36 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.16: preferred, colored
Changes since revision 1.28.2.16: +4 -218 lines
Remove interrupt handling code.

Revision 1.28.2.16: download - view: text, markup, annotated - select for diffs
Mon Oct 18 09:30:37 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.15: preferred, colored
Changes since revision 1.28.2.15: +14 -6 lines
Preserve the order in which interrupt handlers on a particular are registered.

Revision 1.28.2.15: download - view: text, markup, annotated - select for diffs
Sun Oct 17 05:34:29 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.14: preferred, colored
Changes since revision 1.28.2.14: +17 -15 lines
Minor cleanup.

Revision 1.28.2.14: download - view: text, markup, annotated - select for diffs
Sat Oct 16 05:25:18 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.13: preferred, colored
Changes since revision 1.28.2.13: +15 -2 lines
Add isa_establish(), for all it's worth (which is to say, nothing).

Revision 1.28.2.13: download - view: text, markup, annotated - select for diffs
Sat Oct 16 04:00:59 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.12: preferred, colored
Changes since revision 1.28.2.12: +9 -5 lines
Don't forget to enable the interrupt line when registering a handler.
Change the first argument to isa_mem{check,alloc}() to a caddr_t.

Revision 1.28.2.12: download - view: text, markup, annotated - select for diffs
Sat Oct 16 03:44:55 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.11: preferred, colored
Changes since revision 1.28.2.11: +92 -13 lines
Add intr_establish(), and isa_intrmaskwickedness() to set up interrupt masks
after device configuration.

Revision 1.28.2.11: download - view: text, markup, annotated - select for diffs
Fri Oct 15 13:05:40 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.10: preferred, colored
Changes since revision 1.28.2.10: +5 -6 lines
Rename some functions to match BSDI.

Revision 1.28.2.10: download - view: text, markup, annotated - select for diffs
Fri Oct 15 03:50:03 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.9: preferred, colored
Changes since revision 1.28.2.9: +3 -3 lines
isa_discoverintr(): Ignore IRQ_SLAVE bit in ICU1.

Revision 1.28.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 15 03:16:19 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.8: preferred, colored
Changes since revision 1.28.2.8: +24 -12 lines
Flush any pending interrupts at the end of autoconfig.  Make isa_defaultirq
static.

Revision 1.28.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 15 03:07:51 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.7: preferred, colored
Changes since revision 1.28.2.7: +48 -1 lines
Add isa_discoverintr().

Revision 1.28.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 14 05:22:09 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.6: preferred, colored
Changes since revision 1.28.2.6: +33 -350 lines
Remove DMA gunk.  Rewrite IDT initialization to use a table from locore.
Remove some defunct configuration code.  Don't splhigh() in sysbeep() and
sysbeepstop().

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

Revision 1.28.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 08:49:17 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.4: preferred, colored
Changes since revision 1.28.2.4: +3 -12 lines
Remove netmask kluge.

Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Wed Oct 6 12:09:12 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.3: preferred, colored
Changes since revision 1.28.2.3: +2 -3 lines
Announce quite clearly if ia_irq is still IRQUNK in isaprint() (if DIAGNOSTIC).

Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 30 20:21:17 1993 UTC (33 years, 1 month ago) by mycroft
Diff to: previous 1.28.2.2: preferred, colored
Changes since revision 1.28.2.2: +7 -2 lines
Print a warning if probe function leaves irq as IRQUNK with option DIAGNOSTIC.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:49:13 1993 UTC (33 years, 2 months ago) by mycroft
Diff to: previous 1.28.2.1: preferred, colored
Changes since revision 1.28.2.1: +95 -65 lines
clock.c: Finish conversion.  Make rtcput() work if VRT bit not set.  Speed up
time conversion in delay().
fd.c: Minor changes to autoconfig.  Use dv_parent rather than storing another
pointer to the fdc_softc in each fd_softc.  Change disk label stuff for our
kernel.
icu.s: Make splx() and splnone() return previous cpl for now.
isa.c: Minor autoconfig changes.
isa.h: rtcin() is now nvram() and is declare in nvram.h.  Make isaphysmem a
caddr_t.
pccons.c: XXXX: Maybe we should insist they open /dev/io now.
timerreg.h: #define TIMER_NPORTS.
wd.c: Delete unused wdnoreloc() and wddospart(), and use remaining two bits in
unit number.  struct disk --> struct wd_softc.  struct board --> struct
wdc_softc.  Still needs much work.

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

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:13:00 1993 UTC (33 years, 2 months ago) by brezak
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +32 -3 lines
Add find_isadev() and have sysbeep() use common defines.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Aug 8 09:54:23 1993 UTC (33 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -6 lines
there are some devices out there which use... NO I/O PORTS!

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jul 11 14:03:54 1993 UTC (33 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -7 lines
Make splimp = splnet | spltty, and get rid of SLIP kluge for splnet and
spltty.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jul 7 06:52:39 1993 UTC (33 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -2 lines
delete inclusion of rlist.h again.  grr.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jul 6 06:06:31 1993 UTC (33 years, 4 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -6 lines
clean up code for timeout/untimeout/wakeup prototypes.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jul 6 00:31:52 1993 UTC (33 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2 lines
get rid of extraneous inclusion of rlist.h

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jun 30 04:13:34 1993 UTC (33 years, 4 months ago) by andrew
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -7 lines
Updated comments.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 27 06:27:29 1993 UTC (33 years, 4 months ago) by andrew
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +27 -10 lines
ANSIfications.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jun 20 07:24:53 1993 UTC (33 years, 5 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2 lines
print "maddr 0xd0000 msize 65536" as "maddr 0xd0000-0xdffff" instead.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jun 16 02:59:42 1993 UTC (33 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Fix typo.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jun 16 02:57:17 1993 UTC (33 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Make sysbeep() take a frequency, not a timer count, and add constants
BEEP_FREQ and BEEP_TIME which can be overridden in the config file.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jun 15 21:37:16 1993 UTC (33 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -6 lines
Move definitions of TIMER_FREQ to timerreg.h, and fix value of CF for DELAY().

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jun 15 20:34:54 1993 UTC (33 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +40 -30 lines
Clean up beep code a miniscule amount, add interrupt protection, and
make multiple beeps generate a continuous tone.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jun 6 04:16:42 1993 UTC (33 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +161 -46 lines
incorporate Bruce Evans' interrupt changes, as hacked by Rod grimes,
for patchkit patch 158.  it appears to work well.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri May 28 09:10:52 1993 UTC (33 years, 5 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -1 lines
1. It is now possible to build a kernel that does not have a pc0 device driver.
2. "press any key to reboot" reads the key from the console.
3. wddump() still needs a non-blocking getc() routine (or flush)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat May 22 08:01:27 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
add rcsids to everything and clean up headers

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue May 11 04:15:22 1993 UTC (33 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Whoops. One more 0x0ffff to expunge..

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue May 11 04:06:23 1993 UTC (33 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -2 lines
1. id_irq is a u_short
2. "irq ?" sets it to (u_short)-1
3. "irq #" sets it to (1<<#)
4. not specifying an interrupt sets it to 0.

Until someone else comes up with a better scheme, that's the way it is.
If you have a driver that turns the interrupt off, set it to ZERO.

If, after calling XXprobe(), id_irq is still (u_short)-1, that is the same
as if  probe() failed.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 8 00:50:10 1993 UTC (33 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
multiple master controllers would probe tthe first one N times instead of
once each. never mind not worth worrying about what i;m talking about.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 7 10:38:04 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
no irq == -1, or, actually, 0x0ffff (f*ing unsigned short...).
this would break devices w/o interrupts (like lpa).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue May 4 08:32:47 1993 UTC (33 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
support for making dev->id_alive be set, this is for iostat to
find disk devices. wee bit of a kludge. sub-device attach()
routines must now return 1 for successful attach(), 0 otherwise.
Other bsd's do this too..

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 4 02:37:27 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +11 -1 lines
fixed loopback == nuke problem.
This fix is probably not optimal, but it works.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Apr 15 07:57:57 1993 UTC (33 years, 7 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +48 -98 lines
ioconf changes, see previous cvs's that dumped core

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Apr 9 16:24:26 1993 UTC (33 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -3 lines
make printing of i/o addresses a bit prettier, and fix off-by-one error.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Apr 9 13:43:40 1993 UTC (33 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +26 -7 lines
from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):

        This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

        Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Apr 8 08:26:55 1993 UTC (33 years, 7 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -6 lines
dmesg output at boottime now tries to print out information as
soon as it is available. The output looks much more like Sunos.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 21 18:04:42 1993 UTC (33 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +88 -52 lines
after 0.2.2 "stable" patches applied

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>