The NetBSD Project

CVS log for src/sys/arch/atari/atari/autoconf.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Jan 6 10:28:27 2023 UTC (22 months, 3 weeks ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +10 -10 lines
TAB/spaces/indents cleanup.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Jul 2 13:47:53 2022 UTC (2 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
Use aprint_normal(9) for attach messages.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:38:57 2022 UTC (2 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -2 lines
sys: Split struct device into a private device_impl.h.

Include this only inside autoconf itself, and a few files that abuse
autoconf in ways I can't confidently make easy fixes for.

XXX kernel ABI change requires bump -- no more use of struct device
internals allowed, previously done by some drivers

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:46 2021 UTC (3 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +22 -28 lines
Merge thorpej-cfargs2.

Revision 1.70.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 23:43:44 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +22 -28 lines
Adapt to CFARGS().

Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:24 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +23 -12 lines
Sync with HEAD.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Apr 27 14:48:29 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, 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.69: preferred, colored
Changes since revision 1.69: +23 -12 lines
The Amiga and Atari ports abuse some autoconfiguration internals as part
of their early console bring-up, so we need to expose some of the new
internals to them and adapt the call sites.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:29 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +18 -18 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.67.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:19 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +4 -5 lines
Sync with HEAD.

Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:08:56 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.1: +17 -17 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 20 19:33:32 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -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.68: download - view: text, markup, annotated - select for diffs
Sun Jan 3 17:42:10 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -5 lines
malloc(9) -> kmem(9)

Revision 1.65.30.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:39 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.65.30.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.30.1: +8 -8 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jun 29 16:41:18 2019 UTC (5 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -8 lines
Make local functions static.

Revision 1.65.30.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:58 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -2 lines
Sync with HEAD

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri May 3 01:08:28 2019 UTC (5 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -2 lines
Make sure interrupts are disabled during cpu_configure(9).

Fixes 'panic: kernel diagnostic assertion "cv_is_valid(cv)" failed'
during fdcisa(4) probe on Milan's DIAGNOSTIC kernel, caused by
a stray interrupt from the FDC right after isa_intr_establish().
No visible bad side effect on TT030 with this change.

Should be pulled up to netbsd-8.

Revision 1.65.20.2: download - view: text, markup, annotated - select for diffs
Wed May 17 01:44:16 2017 UTC (7 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.65.20.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.20.1: +6 -3 lines
At suggestion of chuq@, modify config_attach_pseudo() to return with a
reference held on the device.

Adapt callers to expect the reference to exist, and to ensure that the
reference is released.

Revision 1.65.20.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:32 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +13 -7 lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.65.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 20 23:50:54 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +13 -7 lines
Adapt the machine/arch dependent code to the new {b,c}devsw reference
counting.

XXX Most of these will require testing by someone other than myself, as
I have a limited selection of hardware!

Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:48 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.63.2.1: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.1: +2 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:34 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +2 -4 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:59 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +2 -4 lines
sync with head

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Mar 24 18:39:57 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, phil-wifi, pgoyette-localcount
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -4 lines
- remove unused
- use cpu_{g,s}etmodel() (not committed yet)

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:08 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +16 -16 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:12 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +61 -17 lines
sync with head

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:17:42 2012 UTC (12 years, 1 month ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +16 -16 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.61.8.2: download - view: text, markup, annotated - select for diffs
Wed Aug 8 15:51:03 2012 UTC (12 years, 3 months ago) by martin
Branches: netbsd-6
CVS tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.61.8.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.8.1: +1 -1 lines
Pull up following revision(s) (requested by mlelstv in ticket #466):
	sys/arch/amiga/amiga/autoconf.c: revision 1.113
	sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
	sys/arch/emips/emips/autoconf.c: revision 1.6
	sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
	sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
	sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
	sys/arch/atari/atari/autoconf.c: revision 1.63
	sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
	sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
	distrib/sets/lists/comp/mi: revision 1.1771
	sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
	sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
	sys/arch/hp300/hp300/autoconf.c: revision 1.100
	sys/kern/init_main.c: revision 1.445
	sys/arch/pmax/pmax/autoconf.c: revision 1.79
	sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
	sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
	sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
	sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
	sys/arch/evbmips/gdium/autoconf.c: revision 1.5
	sys/arch/algor/algor/autoconf.c: revision 1.21
	share/man/man9/Makefile: revision 1.367
	sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
	sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
	sys/arch/x86/x86/x86_autoconf.c: revision 1.65
	sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
	sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
	sys/arch/vax/vax/autoconf.c: revision 1.94
	sys/arch/usermode/dev/cpu.c: revision 1.72
	sys/arch/evbppc/virtex/autoconf.c: revision 1.5
	sys/arch/next68k/next68k/autoconf.c: revision 1.26
	sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
	sys/arch/ia64/ia64/autoconf.c: revision 1.6
	sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
	share/man/man9/cpu_rootconf.9: revision 1.7
	sys/arch/landisk/landisk/autoconf.c: revision 1.6
	sys/arch/evbmips/malta/autoconf.c: revision 1.16
	sys/arch/sun3/sun3/autoconf.c: revision 1.76
	sys/arch/evbppc/explora/autoconf.c: revision 1.13
	sys/arch/sun3/sun3/autoconf.c: revision 1.77
	sys/arch/evbmips/loongson/autoconf.c: revision 1.3
	sys/arch/evbmips/atheros/autoconf.c: revision 1.11
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
	sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
	sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
	sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
	sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
	sys/arch/hp700/hp700/autoconf.c: revision 1.48
	sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
	sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
	sys/arch/alpha/alpha/autoconf.c: revision 1.52
	sys/arch/sparc/sparc/autoconf.c: revision 1.244
	sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
	sys/arch/bebox/bebox/autoconf.c: revision 1.25
	sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
	sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
	sys/arch/evbppc/walnut/autoconf.c: revision 1.21
	sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
	sys/arch/cats/cats/autoconf.c: revision 1.17
	sys/arch/x68k/x68k/autoconf.c: revision 1.67
	sys/arch/news68k/news68k/autoconf.c: revision 1.21
	sys/arch/arc/arc/autoconf.c: revision 1.34
	sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
	sys/sys/conf.h: revision 1.143
	sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
	sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
	sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
	sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
	sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
	sys/arch/xen/x86/autoconf.c: revision 1.15
	sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
	sys/arch/shark/shark/autoconf.c: revision 1.18
	sys/arch/prep/prep/autoconf.c: revision 1.25
	sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
	sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jul 29 18:05:40 2012 UTC (12 years, 4 months ago) by mlelstv
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.

Revision 1.61.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 5 17:36:31 2012 UTC (12 years, 5 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +46 -2 lines
Pull up following revision(s) (requested by tsutsui in ticket #395):
	sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.95
	sys/arch/atari/atari/autoconf.c: revision 1.62
	sys/dev/md.c: revision 1.67
Add a dirty hack for atari's ancient installation ramdisk:
 Forcibly configure md0, md1, and md2 devices before setroot()
 for atari's traditional "auto-load from floppy on open" md_root device
 which loads installation ramdisk image from floppy.
 md(4) has been changed dynamically configured at first open after 5.0
 and md devices won't appear in "root device:" prompt without this hack.
Tested on TT030.
Should be pulled up to netbsd-6.
Make sure that disklabel of md(4) device is initialized
in the case where it's configured in MD md_open_hook().
Without this, msdosfs_mountfs() (which is called from msdosfs_mountroot())
will be called with uninitialized disklabel (d_secsize == 0) and
it gets "panic: buf mem pool index 23" later on atari.
This is because getdisksize() doesn't check returned d_secsize value
and msdosfs_mountfs() blindly calls bread(9) with size==0 in that case.
Should be pulled up to netbsd-6 (at least for atari).
Add a sanity check if secsize returned from getdisksize() isn't bogus.
This prevent possible panic "panic: buf mem pool index 23" later in
vfs_bio.c:buf_mempoolidx().
(I'm not sure if it's okay for getdisksize() to assume that
 partinfo taken from DIOCGPART is properly initialized
 on all disk(9) devices or not)
See also:
http://mail-index.NetBSD.org/source-changes/2012/06/30/msg035298.html

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Jun 30 10:37:00 2012 UTC (12 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +46 -2 lines
Add a dirty hack for atari's ancient installation ramdisk:
 Forcibly configure md0, md1, and md2 devices before setroot()
 for atari's traditional "auto-load from floppy on open" md_root device
 which loads installation ramdisk image from floppy.
 md(4) has been changed dynamically configured at first open after 5.0
 and md devices won't appear in "root device:" prompt without this hack.
Tested on TT030.

Should be pulled up to netbsd-6.

Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:01 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +28 -29 lines
Catchup with rmind-uvmplock merge.

Revision 1.56.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:23:54 2011 UTC (13 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.56.4.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.4.1: +28 -29 lines
sync with head

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:07 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +28 -29 lines
Sync with HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Jun 5 17:09:18 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, 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
Branch point for: yamt-pagecache, netbsd-6
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -5 lines
A few missed device_t, cfdata_t cleanups

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jun 5 06:31:41 2011 UTC (13 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +25 -26 lines
- use CFATTACH_DECL_NEW() (no softc)
- use device_t, cfdata_t etc.

Revision 1.54.28.1: download - view: text, markup, annotated - select for diffs
Sat Nov 20 00:33:47 2010 UTC (14 years ago) by riz
Branches: netbsd-5
CVS tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +3 -2 lines
Pull up following revision(s) (requested by tsutsui in ticket #1367):
	sys/dev/ic/ne2000var.h: revision 1.25
	sys/arch/atari/conf/MILAN.in: revision 1.24
	sys/arch/atari/conf/MILAN.in: revision 1.25
	sys/dev/ic/ne2000.c: revision 1.71
	sys/dev/ic/ne2000.c: revision 1.72
	sys/arch/atari/dev/if_ne_mb.c: revision 1.1
	sys/arch/atari/dev/if_ne_mb.c: revision 1.2
	sys/arch/atari/conf/MILAN-PCIIDE: revision 1.69
	sys/arch/atari/conf/HADES.in: revision 1.10
	sys/arch/atari/conf/HADES.in: revision 1.11
	sys/arch/x68k/dev/if_ne_neptune.c: revision 1.20
	sys/dev/isa/if_ne_isa.c: revision 1.27
	sys/arch/atari/atari/autoconf.c: revision 1.57
	sys/dev/ic/ne2000.c: revision 1.62
	sys/dev/isapnp/if_ne_isapnp.c: revision 1.27
	sys/arch/atari/conf/files.atari: revision 1.117
	sys/arch/atari/conf/HADES: revision 1.88
	sys/arch/atari/conf/GENERIC.in: revision 1.85
	sys/dev/ic/ne2000.c: revision 1.65
	sys/dev/ic/ne2000.c: revision 1.66
	sys/dev/ic/ne2000.c: revision 1.68
	sys/arch/atari/conf/MILAN-ISAIDE: revision 1.65
	distrib/notes/atari/hardware: revision 1.24
	sys/conf/files: revision 1.980
	sys/dev/ic/ne2000var.h: revision 1.21
	sys/arch/x68k/dev/if_ne_intio.c: revision 1.16
	sys/dev/ic/dp8390.c: revision 1.74
	sys/dev/ic/dp8390.c: revision 1.75
Added NE2000 with 8bit bus width support.
reviewd by tsutsui@ at tech-kern ML.
Fix a wrong calculation bug around RX ring buffer memory address
slipped in about sixteen years ago.  Fortunately, it had been working
for ages because some devices used address zero and other devices
ignored wrong higher bits.
Tested on we(4) (SMC Elite Ultra) and ne(4) (NE2000 compatible
named UL0001) on ISA.
Note FreeBSD also uses the same correct value in their ed(4) driver.
Now dp8390_config() calculates mem_ring correctly so
no longer need to override it in ne2000_attach().
Use roundup2() in <sys/param.h> rather than a conditional.
Also fix a wrong mem_ring calculation in dp8390_ipkdb_attach().
Put several fixes to ne(4) driver for better 8 bit mode support,
especially on RTL8019AS which is also used for non-ISA local bus of
embedded controllers and some m68k machines like atari and x68k.
 * move RTL8019 probe and attach code from each bus attachment
   to MI ne2000_detect() and ne2000_attach()
 * change a method for backend and attachment to specify 8 bit mode
   to use a new sc->sc_quirk member, instead of sc->sc_dmawidth
 * handle more NE2000 8 bit mode specific settings, including
   bus_space(9) access width and available size of buffer memory
 * add a function to detect NE2000 8 bit mode
   (disabled by default, but enalbed by options NE2000_DETECT_8BIT
    to avoid possible regression on various ISA clones)
 * fix ipkdb attachment accordingly (untested)
Tested on two NE2000 ISA variants (RTL8019AS and another clone named UL0001)
in both 8 bit and 16 bit mode on i386. "Looks good" from nonaka@.
See my post on tech-kern for details:
http://mail-index.NetBSD.org/tech-kern/2010/02/26/msg007423.html
No need to override mem_ring value in ne2000_ipkdb_attach()
since a wrong calculation in dp8390_ipkdb_attach() was fixed.
Don't warn about DMA timeout during probe.
Add support for the EtherNEC.
The EtherNEC is yet another user designed device for Atari machines,
an NE2000 based ISA board connected to Atari's ROM cartridge slot with
simple but ingenious interface and cartridge port adapter, and
it's the most available network solution for the old Atari machines.
See following pages for more details about EtherNEC:
http://hardware.atari.org/ether/
http://home.arcor.de/thomas.redelberger/prj/atari/etherne/
http://www.freemint.org/ethernec/ethernec.html
Also note EtherNEC.
Use callout_schedule(9) rather than callout_reset(9) on polling
as callout(9) man says.
Remove EtherNEC from HADES and MILAN.
They have ISA so no one will bother to connect ISA NE2000 via EtherNEC.
Regen from HADES.in rev 1.11 and MILAN.in rev 1.25:
Remove EtherNEC from HADES and MILAN.
They have ISA so no one will bother to connect ISA NE2000 via EtherNEC.

Revision 1.54.18.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:43 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.54.18.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.18.1: +9 -6 lines
sync with head.

Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:38 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +9 -6 lines
sync with head

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:09 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +9 -6 lines
Sync with HEAD.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Apr 10 17:40:36 2010 UTC (14 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr, cherry-xenmp
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +7 -3 lines
Comment out currently unused mbprint().

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Apr 10 16:14:07 2010 UTC (14 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -5 lines
Remove extern int atari_realconfig decls. It's in <atari/atari/device.h>.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Apr 1 17:07:51 2010 UTC (14 years, 8 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -2 lines
Add support for the EtherNEC.

The EtherNEC is yet another user designed device for Atari machines,
an NE2000 based ISA board connected to Atari's ROM cartridge slot with
simple but ingenious interface and cartridge port adapter, and
it's the most available network solution for the old Atari machines.

See following pages for more details about EtherNEC:
http://hardware.atari.org/ether/
http://home.arcor.de/thomas.redelberger/prj/atari/etherne/
http://www.freemint.org/ethernec/ethernec.html

Revision 1.54.32.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:21 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +27 -47 lines
Sync with HEAD.

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

Revision 1.54.18.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:46 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +27 -47 lines
sync with head.

Revision 1.54.26.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:46 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +27 -47 lines
Sync with HEAD.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Mar 8 05:25:30 2009 UTC (15 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +23 -43 lines
ANSIfy, some KNF, misc cosmetics.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Mar 5 13:21:44 2009 UTC (15 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -6 lines
Remove __P().

Revision 1.53.14.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:45:28 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +2 -3 lines
sync with HEAD

Revision 1.53.12.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:34:40 2007 UTC (16 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +2 -3 lines
Sync with HEAD.

Revision 1.53.20.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:41 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +2 -3 lines
Sync with HEAD.

Revision 1.51.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:24:21 2007 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.2.2: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.2: +2 -3 lines
sync with head

Revision 1.52.30.2: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:35:08 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.52.30.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.30.1: +2 -3 lines
Sync with HEAD.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:33:21 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base2, netbsd-5-base, 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, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, 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, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, jym-xensuspend
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -3 lines
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:23:30 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.2.1: +5 -2 lines
sync with head.

Revision 1.52.32.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:58:14 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +5 -2 lines
Sync with head.

Revision 1.52.30.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:22:51 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +5 -2 lines
Sync with head.

Revision 1.52.34.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:24 2007 UTC (17 years, 8 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +5 -2 lines
Pullup to -current

Revision 1.52.26.1: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:54:34 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +5 -2 lines
sync with head.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Mar 21 10:56:26 2007 UTC (17 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +5 -2 lines
Apply MI softintr(9) patch before it becomes rotten. Untested.
See also:
http://mail-index.netbsd.org/port-atari/2007/03/07/0000.html

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:49:55 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:54 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp, vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
merge ktrace-lwp.

Revision 1.45.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:27 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.6: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.6: +22 -22 lines
Sync with HEAD. Here we go again...

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Jul 3 10:22:25 2005 UTC (19 years, 5 months ago) by isaki
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
Branch point for: yamt-lazymbuf
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
cfmatch_t was removed at sys/device.h rev 1.75,
and there is no need to cast for NULL.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jun 30 17:03:52 2005 UTC (19 years, 5 months ago) by drochner
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Jun 4 14:35:53 2005 UTC (19 years, 6 months ago) by he
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +20 -20 lines
Add use of __UNCONST() when passing a constant string to some of the
general autoconf functions which typically take a "void*".  There may
be reason to revisit this later if the signature for the autoconf
functions can be adapted, but for now this gets the code building.

Revision 1.45.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 17 08:25:43 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.5: preferred, colored
Changes since revision 1.45.2.5: +4 -4 lines
Adapt to branch.

Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:01 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.4: preferred, colored
Changes since revision 1.45.2.4: +8 -3 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Dec 13 02:14:13 2004 UTC (19 years, 11 months ago) by chs
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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -3 lines
for drivers that support only one instance, use a global variable to ensure
that only one instance is configured rather than requiring that its
unit number be zero.

Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:50:22 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.45.2.3: preferred, colored
Changes since revision 1.45.2.3: +2 -5 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Oct 23 17:07:38 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -5 lines
Centralize the declaration of booted_device and booted_partition.

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

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

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

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jul 15 01:19:42 2003 UTC (21 years, 4 months ago) by lukem
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
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -1 lines
__KERNEL_RCSID()

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Apr 1 14:32:09 2003 UTC (21 years, 8 months ago) by he
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
Remove what appears to be a spurious brace.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Feb 4 21:21:45 2003 UTC (21 years, 10 months ago) by leo
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -2 lines
Extra bug fix on the config changes as implemented by Aymeric on the Amiga:
fake up a dv_cfdriver entry before calling config_search().  config_search()
does not do the lookup for us anymore.

Revision 1.36.8.5: download - view: text, markup, annotated - select for diffs
Fri Jan 3 16:41:12 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.36.8.4: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.8.4: +2 -2 lines
Sync with HEAD.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Jan 1 00:48:33 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Use aprint_normal() for cfprint routines.

Revision 1.36.8.4: download - view: text, markup, annotated - select for diffs
Wed Dec 11 05:58:17 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.36.8.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.8.3: +16 -15 lines
Sync with HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Dec 8 21:31:35 2002 UTC (21 years, 11 months ago) by leo
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +16 -15 lines
Make things work with the new autoconf stuff:
- The pcibus is now called 'pcib' and the isabus 'isab'. Their attributes are
  'pcibus' and 'isabus' respectively. This makes the underlying busses
  attach again.
- Initialize the parent structure in the config_console() function.
  Otherwise we end up without a console.

Revision 1.36.8.3: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:35:46 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.36.8.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.8.2: +12 -7 lines
Catch up to -current.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:31:57 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +16 -11 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.41: download - view: text, markup, annotated - select for diffs
Fri Oct 4 01:50:55 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -4 lines
Overhaul the way cfattach structures are looked up.  The cfdata entry
now carries the name of the attachment (e.g. "tlp_pci" or "audio"),
and cfattach structures are registered at boot time on a per-driver
basis.  The cfdriver and cfattach pointers are cached in the device
structure when attached.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Oct 2 05:04:24 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -4 lines
Use CFATTACH_DECL().

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Sep 30 17:36:36 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -1 lines
Add a config_init() function to initialize the config data structures.
Normally this is called by configure(), but some ports (amiga, atari,
x68k) need to do this early because of how they find the console.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:30:52 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
Declare all cfattach structures const.

Revision 1.36.8.2: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:13:37 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.36.8.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.8.1: +299 -0 lines
Catch up to -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +12 -8 lines
Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

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

Revision 1.36.16.1: download - view: text, markup, annotated - select for diffs
Fri May 17 13:49:51 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +12 -8 lines
Replace the access to devsw table and the hard-coded major with devsw API.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 10 11:55:59 2001 UTC (23 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +12 -5 lines
Convert all remaining devices.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:20:02 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +2 -1 lines
Catch up to -current.

Revision 1.36.8.1
Thu Jun 7 08:35:29 2001 UTC (23 years, 6 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.36: +0 -295 lines
file autoconf.c was added on branch nathanw_sa on 2002-09-17 21:13:37 +0000

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jun 7 08:35:29 2001 UTC (23 years, 6 months ago) by leo
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, eeh-devprop-base, eeh-devprop
Branch point for: thorpej-devvp, nathanw_sa, kqueue, gehenna-devsw
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
Try to search for an isa bus during console configuration too... Otherwise,
we miss the console keyboard on the Milan.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:05:21 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +17 -19 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.35: download - view: text, markup, annotated - select for diffs
Thu Sep 28 07:26:48 2000 UTC (24 years, 2 months ago) by leo
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +9 -1 lines
Move config_console() out of the grf-layer. This allows for more than just
grf-type consoles (wscons). Config_console() is now called from consinit(),
just after setting up the kernel msgbuf, so debugging is easy(er).
To further facilitate this move, the pcibus now allows for early-console
attaches by allocating static bus_space_tags (no mallocs possible at this
point).

Revision 1.31.10.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:59:34 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +9 -19 lines
Sync w/ netbsd-1-5-base.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jun 6 11:09:46 2000 UTC (24 years, 6 months ago) by leo
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
Fix prototype definition of findroot().

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jun 1 15:38:23 2000 UTC (24 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -15 lines
Don't pass booted_* to findroot/getdevice, access them via the globals.
Also, make findroot static.  This eliminates unneeded clearing of them
and make their use consistent among the ports.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jun 1 00:49:53 2000 UTC (24 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
Make booted_device global (and booted_parition for consitency).
Eliminate it from header files and other extern definitions.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 17 19:59:40 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, minoura-xpg4dl-base, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi, minoura-xpg4dl
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -4 lines
Centralize the declaration and clearing of `cold'.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Sep 15 18:10:36 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.

Revision 1.28.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:48:33 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -11 lines
Sync w/ -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jun 7 20:16:10 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -11 lines
Don't pass a nam2blk around at all; just have setroot() and friends reference
dev_name2blk[] directly.  Addresses PR #7622 (ITOH Yasufumi), although
in a different way.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Sep 2 11:24:16 1998 UTC (26 years, 3 months ago) by leo
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc-base, chs-ubc
Branch point for: chs-ubc2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
mv vmebus -> avmebus to make room for MI vmebus implementation (per
reqest of Drochner).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Apr 15 09:00:19 1998 UTC (26 years, 7 months ago) by leo
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Probe the 'mainbus' before the other busses. This gives less surprises when
adding things like SCSI controlers to the pci-bus.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Apr 10 10:37:04 1998 UTC (26 years, 7 months ago) by leo
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -6 lines
Use MI wdc-driver.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jan 12 18:03:58 1998 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -5 lines
Update for changes to config.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jul 15 08:25:39 1997 UTC (27 years, 4 months ago) by leo
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-bp, marc-pcmcia-base, marc-pcmcia
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -1 lines
Isabus support.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Jul 5 20:57:40 1997 UTC (27 years, 5 months ago) by leo
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
If booted with RB_ASKNAME, don't go looking for a root device.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun May 25 12:41:27 1997 UTC (27 years, 6 months ago) by leo
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
Add serial driver for 68901 UART (modem1 port).

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Apr 1 08:17:44 1997 UTC (27 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -1 lines
Add wd-driver. The driver is basically the driver present in the arm32
port (Thanks Mark!) with a few atari specific things and the bad block
handling disabled.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 26 22:38:56 1997 UTC (27 years, 8 months ago) by gwr
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +10 -8 lines
Move findroot/setroot stuff from configure() to cpu_rootconf().

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Mar 26 15:49:31 1997 UTC (27 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Close disk after opening it to read the disklabel. The previous code did 2
opens...

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 14:46:40 1997 UTC (27 years, 8 months ago) by is
Branches: is-newarp
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +12 -12 lines
Merge in Changes from The Trunk.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Mar 3 12:26:20 1997 UTC (27 years, 9 months ago) by leo
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
Addition of VME bus code.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 2 16:17:31 1997 UTC (27 years, 9 months ago) by mrg
Branches: mrg-vm-swap
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +1 -2 lines
swapconf() is no more.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Feb 16 12:59:56 1997 UTC (27 years, 9 months ago) by leo
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -12 lines
Fix some typo's from the setroot mega commit and re-order the device
preferences.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jan 31 01:47:25 1997 UTC (27 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: is-newarp-base
Branch point for: mrg-vm-swap, is-newarp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +104 -87 lines
Use new machine-independent setroot()

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 14 21:24:58 1997 UTC (27 years, 10 months ago) by thorpej
Branches: thorpej-setroot
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +104 -87 lines
Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection.  Notable features:

	- All ports behave in a consistent manner regarding root
	  device selection.
	- No more "options GENERIC"; all kernels have the ability
	  to boot with RB_ASKNAME to select root device and file system
	  type.
	- Root file system type can be wildcarded; a machine-independent
	  function will try all possible file systems for the selected
	  root device until one succeeds.
	- If the root file system fails to mount, the operator will
	  be given the chance to select a new root device and file
	  system type, rather than having the machine simply panic.
	- nfs_mountroot() no longer panics if any part of the NFS
	  mount process fails; it now returns an error, giving the
	  operator a chance to recover.
	- New, more consistent, config(8) grammar.  The constructs:

		config netbsd swap generic
		config netbsd root on nfs

	  have been replaced with:

		config netbsd root on ? type ?
		config netbsd root on ? type nfs

	  Additionally, the operator may select or wildcard root file
	  system type in the kernel configuration file:

		config netbsd root on cd0a type cd9660

	  config(8) now requires that a "root" specification be
	  made.  "root" may be wired down or wildcarded.  "swap" and
	  "dump" specifications are optional, and follow previous
	  semantics.

	- config(8) has a new "file-system" keyword, used to configure
	  file systems into the kernel.  Eventually, this will be used
	  to generate the default vfssw[].

	- "options NFSCLIENT" is obsolete, and is replaced by
	  "file-system NFS".  "options NFSSERVER" still exists, since
	  NFS server support is independent of the NFS file system
	  client.

	- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
	  will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot().  Only SPARC, i386, and Alpha ports have been
tested at this time.  Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Dec 20 16:20:57 1996 UTC (27 years, 11 months ago) by leo
Branches: MAIN
Branch point for: thorpej-setroot
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -7 lines
Get rid of BROKEN_INDIRECT_CONFIG

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Oct 13 04:10:37 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
backout previous kprintf changes

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Oct 11 21:07:02 1996 UTC (28 years, 1 month ago) by leo
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
- Fix configuration name of 'lpt'
- add 'pcibus' as a mainbus device.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 11 00:08:54 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Sep 25 15:07:40 1996 UTC (28 years, 2 months ago) by leo
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Second arg to print function is now 'const char *'

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Aug 27 21:55:36 1996 UTC (28 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +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.9: download - view: text, markup, annotated - select for diffs
Thu Apr 18 08:51:13 1996 UTC (28 years, 7 months ago) by leo
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.8: preferred, colored
Changes since revision 1.8: +7 -8 lines
Yet more prototyping and -Wall fixes.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Apr 4 06:25:15 1996 UTC (28 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
update for the fact that config_found() and config_rootfound() now
return pointers.  (Check vs. NULL, rather than just boolean tests.)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Mar 20 12:41:30 1996 UTC (28 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
Another bit of prototyping...

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 17 01:26:35 1996 UTC (28 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -9 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.5: download - view: text, markup, annotated - select for diffs
Thu Mar 14 21:41:04 1996 UTC (28 years, 8 months ago) by leo
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
Switch to the mi ramdisk driver.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 22 10:10:44 1996 UTC (28 years, 9 months ago) by leo
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1 lines
First bunch of changes due to stricter prototype checking.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 6 20:10:41 1996 UTC (28 years, 11 months ago) by leo
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
Add an nvram-driver. This driver makes it possible to read/write the
configuration info stored in the nvram on the mc146818.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jul 11 18:24:57 1995 UTC (29 years, 4 months ago) by leo
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +15 -17 lines
Dumping works, now if there were tools to handle it...

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 26 07:12:18 1995 UTC (29 years, 8 months ago) by leo
Branches: Leo
CVS tags: Leo-initial-950326
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
NetBSD/Atari, port by Leo Weppelman.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 26 07:12:18 1995 UTC (29 years, 8 months ago) by leo
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>