The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.240 / (download) - annotate - [select for diffs], Wed Dec 20 05:33:59 2023 UTC (2 months ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.239: +2 -3 lines
Diff to previous 1.239 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.238.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 15:01:24 2023 UTC (5 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.238: +9 -6 lines
Diff to previous 1.238 (colored) next main 1.239 (colored)

Pull up following revision(s) (requested by jdc in ticket #360):

	sys/arch/sparc64/dev/fdc.c: revision 1.52
	sys/arch/sparc64/include/intr.h: revision 1.32
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.239
	sys/arch/sparc64/include/psl.h: revision 1.64

sparc64: fix interrupt level mapping for disk and and parallel devices
on SBUS-based machines

Change the mapping from PIL_SCSI to PIL_BIO, so that they interrupt above
the highest soft interrupt (softserial)

Remove unused PIL_SCSI, PIL_FDSOFT, PIL_AUSOFT and fix the printf in fdc.c

Add "socal" and "SUNW,bpp" to the interrupt map.

Revision 1.239 / (download) - annotate - [select for diffs], Sat Sep 2 05:51:57 2023 UTC (5 months, 3 weeks ago) by jdc
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.238: +9 -6 lines
Diff to previous 1.238 (colored)

sparc64: fix interrupt level mapping for disk and and parallel devices
on SBUS-based machines
Change the mapping from PIL_SCSI to PIL_BIO, so that they interrupt above
the highest soft interrupt (softserial)
Remove unused PIL_SCSI, PIL_FDSOFT, PIL_AUSOFT and fix the printf in fdc.c
Add "socal" and "SUNW,bpp" to the interrupt map.

Revision 1.238 / (download) - annotate - [select for diffs], Sat Jan 22 11:49:17 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.237: +7 -4 lines
Diff to previous 1.237 (colored)

Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.

Revision 1.237 / (download) - annotate - [select for diffs], Mon Oct 4 21:02:39 2021 UTC (2 years, 4 months ago) by andvar
Branch: MAIN
Changes since 1.236: +3 -3 lines
Diff to previous 1.236 (colored)

remove duplicate the article in comments.

Revision 1.236 / (download) - annotate - [select for diffs], Tue Sep 7 13:24:46 2021 UTC (2 years, 5 months ago) by andvar
Branch: MAIN
Changes since 1.235: +3 -3 lines
Diff to previous 1.235 (colored)

s/aquire/acquire/ in comments, also one typo fix acqure->acquire.

Revision 1.235 / (download) - annotate - [select for diffs], Sat Aug 21 11:55:25 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.234: +4 -4 lines
Diff to previous 1.234 (colored)

fix some more typos in comments/log messages, improve wording as well.

Revision 1.234.2.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:08 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.234: +5 -89 lines
Diff to previous 1.234 (colored) next main 1.235 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.234 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:06 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base
Branch point for: thorpej-i2c-spi-conf2
Changes since 1.233: +5 -7 lines
Diff to previous 1.233 (colored)

Merge thorpej-cfargs2.

Revision 1.233.2.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:57:07 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.233: +5 -7 lines
Diff to previous 1.233 (colored) next main 1.234 (colored)

Adapt to CFARGS().

Revision 1.228.2.3 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:18 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.228.2.2: +98 -2 lines
Diff to previous 1.228.2.2 (colored) to branchpoint 1.228 (colored) next main 1.229 (colored)

Sync with HEAD.

Revision 1.233 / (download) - annotate - [select for diffs], Sat Jul 3 19:39:07 2021 UTC (2 years, 7 months ago) by palle
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Changes since 1.232: +4 -7 lines
Diff to previous 1.232 (colored)

sun4v: request hypervisor api major version 3 for the interrupt group - should solve issues when setting up interrupts on S7 systems

Revision 1.232 / (download) - annotate - [select for diffs], Sat Jul 3 19:18:55 2021 UTC (2 years, 7 months ago) by palle
Branch: MAIN
Changes since 1.231: +101 -2 lines
Diff to previous 1.231 (colored)

sun4v: add support for hypervisor soft state - from OpenBSD

Revision 1.228.4.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:16 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.228: +75 -129 lines
Diff to previous 1.228 (colored) next main 1.229 (colored)

sync with head

Revision 1.228.2.2 / (download) - annotate - [select for diffs], Sat May 15 03:22:17 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.228.2.1: +5 -89 lines
Diff to previous 1.228.2.1 (colored) to branchpoint 1.228 (colored)

- Move all of the stuff-missing-from-OFW-device-tree stuff into a
  new function sparc64_device_tree_fixup(), and call it from
  device_register().
- sparc64_device_tree_fixup() is table-driven, selecting the table
  based on the machine_model.  It can appy "dtnode" fixups (by matching
  the device's OFW path) and "special" fixups, which are especially
  useful when a property needs to be added to another device that happens
  to not be in the OFW device tree.
- Implement enumeration of missing-from-OFW-device-tree i2c devices
  by "sub-classing" the controller's device handle, intercepting the
  "i2c-enumerate-devices" device call.  We let the "super" first
  enumerate any i2c devices that are in the OFW device tree, and then
  enumerate our own additions after that is done.  i2c additions are
  provided by the machine_model fixup tables.

Revision 1.228.2.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:28 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.228: +75 -129 lines
Diff to previous 1.228 (colored)

Sync with HEAD.

Revision 1.231 / (download) - annotate - [select for diffs], Wed May 12 23:22:33 2021 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.230: +2 -14 lines
Diff to previous 1.230 (colored)

- Define a device call for PCI bus instances to fetch a direct child's
  device handle given the device's device/function #s (extracted from
  a pcitag_t).  Use it to associate the handle with the child device
  at config_found() time.
- Implement this device call for ACPI and OpenFirmware.
- Enable the OpenFirmware variant for evbarm FDT, macppc, ofppc, sparc64.
- Obsolete acpi_device_register(); it is no longer needed.
- Obsolete setting the OpenFirmware handle in PCI devices in the
  sparc64 device_register(); it is no longer needed.

Revision 1.230 / (download) - annotate - [select for diffs], Tue May 11 03:43:30 2021 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.229: +78 -124 lines
Diff to previous 1.229 (colored)

All of the OFW-enumerated busses now associate the OFW node with the
device at config_found() time, so we can remove all of the stuff from
device_register() that does it, leaving only the @pci case to fix that
up (similar situation with ACPI on ARM and x86).

Adapt the boot device matching code to use the devhandle from the
device_t rather than the previous mechanism, and add some comments
explaining what's going on and some assertions to validate the
comments.

Collapse the sun4v vdsk boot device detection into the normal "sd"
case because it's almost identical to the normal "sd" case anyhow.

Revision 1.229 / (download) - annotate - [select for diffs], Mon May 10 23:53:44 2021 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.228: +8 -4 lines
Diff to previous 1.228 (colored)

Associate the OpenBoot / OpenFirmware node with attached devices
at config_found() time.

Revision 1.228 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:49 2021 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.227: +5 -5 lines
Diff to previous 1.227 (colored)

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.227.4.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:07 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.227: +5 -5 lines
Diff to previous 1.227 (colored) next main 1.228 (colored)

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.227 / (download) - annotate - [select for diffs], Thu Oct 29 06:47:38 2020 UTC (3 years, 3 months ago) by jdc
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.226: +8 -5 lines
Diff to previous 1.226 (colored)

Add information about GPIO pin assignments and drive bays in the E250 and
v240.  Consolidate common code for v210/v240 and E250.
Modify the GPIO pin names to include a type (currently LED or INDICATOR)
which we can then handle in the driver.

Revision 1.226 / (download) - annotate - [select for diffs], Fri Oct 23 15:18:10 2020 UTC (3 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.225: +12 -2 lines
Diff to previous 1.225 (colored)

Move E250 and E450 i2c patches from dev/pcfiic_ebus.c to sparc64/ofw_patch.c.
They are now co-located with the other OFW patch routines.
New i2c devices are created for E250/E450 and v210/v240, so create new
functions to avoid duplicate code.

Revision 1.225 / (download) - annotate - [select for diffs], Sat Oct 17 08:10:31 2020 UTC (3 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.224: +4 -2 lines
Diff to previous 1.224 (colored)

Avoid declaring autoconf_debug twice when building with DEBUG.
Pointed out by palle@ - thanks!

Revision 1.224 / (download) - annotate - [select for diffs], Fri Oct 16 07:35:16 2020 UTC (3 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.223: +3 -187 lines
Diff to previous 1.223 (colored)

Move OFW patching routines into their own file.

Revision 1.223 / (download) - annotate - [select for diffs], Sun Oct 11 19:39:22 2020 UTC (3 years, 4 months ago) by jdc
Branch: MAIN
Changes since 1.222: +21 -2 lines
Diff to previous 1.222 (colored)

Add a static EDID entry for the Mesostation-999.
Use the same logic as macppc for adding the entry.

Revision 1.222 / (download) - annotate - [select for diffs], Thu Jul 23 16:08:02 2020 UTC (3 years, 7 months ago) by jdc
Branch: MAIN
Changes since 1.221: +104 -96 lines
Diff to previous 1.221 (colored)

Move machine-specific fixes into separate functions to improve readability.

Revision 1.221 / (download) - annotate - [select for diffs], Sun Jul 5 09:56:06 2020 UTC (3 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.220: +3 -3 lines
Diff to previous 1.220 (colored)

Adapt to proplib api changes

Revision 1.220 / (download) - annotate - [select for diffs], Sun Jul 5 09:27:11 2020 UTC (3 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.219: +10 -10 lines
Diff to previous 1.219 (colored)

Adapt to proplib api changes

Revision 1.219 / (download) - annotate - [select for diffs], Fri Jun 12 03:32:30 2020 UTC (3 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.218: +3 -3 lines
Diff to previous 1.218 (colored)

i2c-indirect-config == false  -->  i2c-no-indirect-config == true

Revision 1.218 / (download) - annotate - [select for diffs], Tue Jun 9 21:57:00 2020 UTC (3 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.217: +7 -7 lines
Diff to previous 1.217 (colored)

proplib API catchup
NFCI, tested on v210

Revision 1.213.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:54 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.213.4.1: +77 -2 lines
Diff to previous 1.213.4.1 (colored) to branchpoint 1.213 (colored) next main 1.214 (colored)

Merge changes from current as of 20200406

Revision 1.215.6.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:31 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.215: +77 -2 lines
Diff to previous 1.215 (colored) next main 1.216 (colored)

Sync with head.

Revision 1.217 / (download) - annotate - [select for diffs], Sun Feb 23 05:14:29 2020 UTC (4 years ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.216: +30 -2 lines
Diff to previous 1.216 (colored)

add location info to sd instances if we know which drive bay they live in
Sun Fire v210 only for now, others should be easy to add

Revision 1.216 / (download) - annotate - [select for diffs], Sun Feb 2 06:38:23 2020 UTC (4 years ago) by macallan
Branch: MAIN
Changes since 1.215: +49 -2 lines
Diff to previous 1.215 (colored)

pass pin info to pcagpio instances, so far for front panel LEDs on
Sun Fire v210 only

Revision 1.213.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:48 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.213: +24 -11 lines
Diff to previous 1.213 (colored)

Sync with HEAD

Revision 1.213.2.1 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:24 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.213: +24 -11 lines
Diff to previous 1.213 (colored) next main 1.214 (colored)

Synch with HEAD

Revision 1.215 / (download) - annotate - [select for diffs], Sat Jan 5 15:46:02 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.214: +2 -3 lines
Diff to previous 1.214 (colored)

Remove debugging leftover, pointed out by mrg

Revision 1.214 / (download) - annotate - [select for diffs], Fri Jan 4 16:25:06 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.213: +25 -11 lines
Diff to previous 1.213 (colored)

PR port-sparc64/53830: adapt QEMU workarounds to newer OpenBIOS device
tree layout.

Revision 1.189.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:45 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.189.2.2: +284 -17 lines
Diff to previous 1.189.2.2 (colored) next main 1.190 (colored)

update from HEAD

Revision 1.213 / (download) - annotate - [select for diffs], Fri Sep 15 13:27:53 2017 UTC (6 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.212: +137 -7 lines
Diff to previous 1.212 (colored)

If the bootloader passes us information about the boot device lun/target/
and wwn, use those to properly match the boot device.
If the new bootinfo is not available, fall back to the old heuristic
trying to match the pathname of the boot device (which is ugly, firmware
dependend and known to fail in some QEMU configurations).

Revision 1.212 / (download) - annotate - [select for diffs], Mon Sep 11 19:25:07 2017 UTC (6 years, 5 months ago) by palle
Branch: MAIN
Changes since 1.211: +5 -5 lines
Diff to previous 1.211 (colored)

sun4v: Update code to retrieve CPU clock frequency so it can handle (future?) CPU clock frequencies above the 32-bit limit. ok mrg@

Revision 1.200.2.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:53 2017 UTC (6 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.200.2.4: +4 -2 lines
Diff to previous 1.200.2.4 (colored) to branchpoint 1.200 (colored) next main 1.201 (colored)

Sync with HEAD

Revision 1.207.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:08 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.207: +9 -2 lines
Diff to previous 1.207 (colored) next main 1.208 (colored)

Sync with HEAD

Revision 1.208.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:37 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.208: +4 -2 lines
Diff to previous 1.208 (colored) next main 1.209 (colored)

Sync with HEAD

Revision 1.211 / (download) - annotate - [select for diffs], Sun Mar 26 12:59:29 2017 UTC (6 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.210: +4 -9 lines
Diff to previous 1.210 (colored)

Simplify boot device detection for ld @ virtio

Revision 1.210 / (download) - annotate - [select for diffs], Sun Mar 26 10:36:46 2017 UTC (6 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.209: +5 -3 lines
Diff to previous 1.209 (colored)

Use new accessor to get the PCI attach args from a virtio device.

Revision 1.209 / (download) - annotate - [select for diffs], Sat Mar 25 13:08:38 2017 UTC (6 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.208: +7 -2 lines
Diff to previous 1.208 (colored)

Add boot device recognition for ld @ virtio.

Revision 1.200.2.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:36 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.200.2.3: +51 -2 lines
Diff to previous 1.200.2.3 (colored) to branchpoint 1.200 (colored)

Sync with HEAD

Revision 1.208 / (download) - annotate - [select for diffs], Fri Aug 19 19:02:07 2016 UTC (7 years, 6 months ago) by palle
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.207: +51 -2 lines
Diff to previous 1.207 (colored)

sun4v: vdsk and ldc drivers - from OpenBSD, but heavily adapted to NetBSD scsipi - access to a virtual disk served from a ldom primary domain now works

Revision 1.200.2.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:44 2015 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.200.2.2: +76 -3 lines
Diff to previous 1.200.2.2 (colored) to branchpoint 1.200 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.207 / (download) - annotate - [select for diffs], Wed Dec 16 08:01:19 2015 UTC (8 years, 2 months ago) by jdc
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Branch point for: pgoyette-localcount
Changes since 1.206: +75 -2 lines
Diff to previous 1.206 (colored)

Add V210/V240 environmental sensors that are not in the OFW tree.
Add device properties for adm1026hm on V210, V240, and V440.

Revision 1.206 / (download) - annotate - [select for diffs], Sun Dec 13 11:51:37 2015 UTC (8 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.205: +3 -3 lines
Diff to previous 1.205 (colored)

pass addr_shift 1 to of_enter_i2c_devs

Revision 1.200.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:52 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.200.2.1: +24 -22 lines
Diff to previous 1.200.2.1 (colored) to branchpoint 1.200 (colored)

Sync with HEAD

Revision 1.205 / (download) - annotate - [select for diffs], Sun Sep 6 16:45:09 2015 UTC (8 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.204: +2 -6 lines
Diff to previous 1.204 (colored)

On SUN4V make the mdesc data available early in pmap_bootstrap, so we
can set up the uvm page colors correctly.
Based on code from palle@.

Revision 1.198.2.4 / (download) - annotate - [select for diffs], Fri Sep 4 14:43:45 2015 UTC (8 years, 5 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.198.2.3: +4 -3 lines
Diff to previous 1.198.2.3 (colored) to branchpoint 1.198 (colored) next main 1.199 (colored)

Pull up following revision(s) (requested by nakayama in ticket #951):
	sys/arch/sparc64/dev/pckbc_ebus.c: revision 1.2
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.204
Detect a boot device more precisely on QEMU by checking the device
name.
pckbc@ebus: match "kb_ps2" device to make keyboard and mouse work
on qemu-sparc64.
XXX OpenBIOS doesn't provide interrupts for pckbc currently, so use
the interrupt numbers described in QEMU's hw/sparc64/sun4u.c::isa_irq_handler.

Revision 1.204 / (download) - annotate - [select for diffs], Fri Aug 14 02:28:18 2015 UTC (8 years, 6 months ago) by nakayama
Branch: MAIN
Changes since 1.203: +4 -3 lines
Diff to previous 1.203 (colored)

Detect a boot device more precisely on QEMU by checking the device
name.

Revision 1.198.2.3 / (download) - annotate - [select for diffs], Mon Jul 20 06:12:23 2015 UTC (8 years, 7 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC3, netbsd-7-0-RC2
Changes since 1.198.2.2: +9 -4 lines
Diff to previous 1.198.2.2 (colored) to branchpoint 1.198 (colored)

Pull up following revision(s) (requested by martin in ticket #842):
	sys/arch/sparc/stand/ofwboot/loadfile_machdep.c: revision 1.14
	sys/arch/sparc/stand/ofwboot/version: revision 1.21
	sys/arch/sparc64/include/cpu.h: revision 1.115
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.203
	sys/arch/sparc64/sparc64/mp_subr.S: revision 1.9 via patch
	sys/arch/sparc64/sparc64/pmap.c: revisions 1.295, 1.295 via patch
Fix available length calculation in kvamap_extract when reusing existing
mappings.
--
Bump version now that we can load kernels with sizeof(.data)+sizeof(.bss)> 4 MB
--
Do not hardcode the assumption that .data and .bss fit together in a single
4 MB page. This allows booting kernels with options USB_DEBUG again.
--
Slightly optimize the ITLB usage on secondary processors

Revision 1.203 / (download) - annotate - [select for diffs], Sun Jun 14 19:05:27 2015 UTC (8 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.202: +9 -4 lines
Diff to previous 1.202 (colored)

Do not hardcode the assumption that .data and .bss fit together in a single
4 MB page. This allows booting kernels with options USB_DEBUG again.

Revision 1.200.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:03 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.200: +15 -4 lines
Diff to previous 1.200 (colored)

Sync with HEAD

Revision 1.198.2.2 / (download) - annotate - [select for diffs], Sat Mar 21 17:32:13 2015 UTC (8 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC1
Changes since 1.198.2.1: +10 -4 lines
Diff to previous 1.198.2.1 (colored) to branchpoint 1.198 (colored)

Pull up following revision(s) (requested by nakayama in ticket #628):
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.202
	sys/arch/sparc64/sparc64/machdep.c: revision 1.281
Reuse results of "bootpath" and "bootargs" from openfirmware
instead of calling openfirmware in each sysctl CPU_BOOT*.
This change reduces openfirmware calls from userland since sysctl
CPU_BOOTED_KERNEL is used in system commands such as pstat and
netstat.

Revision 1.202 / (download) - annotate - [select for diffs], Sun Mar 15 10:38:58 2015 UTC (8 years, 11 months ago) by nakayama
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.201: +10 -4 lines
Diff to previous 1.201 (colored)

Reuse results of "bootpath" and "bootargs" from openfirmware
instead of calling openfirmware in each sysctl CPU_BOOT*.

This change reduces openfirmware calls from userland since sysctl
CPU_BOOTED_KERNEL is used in system commands such as pstat and
netstat.

Revision 1.201 / (download) - annotate - [select for diffs], Sat Jan 10 22:19:26 2015 UTC (9 years, 1 month ago) by palle
Branch: MAIN
Changes since 1.200: +7 -2 lines
Diff to previous 1.200 (colored)

sun4v: add hypervisor machine description (mdesc) functions - from OpenBSD

Revision 1.200 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:27 2014 UTC (9 years, 4 months ago) by snj
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.199: +5 -5 lines
Diff to previous 1.199 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.189.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:25 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.189.2.1: +63 -22 lines
Diff to previous 1.189.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.198.2.1 / (download) - annotate - [select for diffs], Tue Aug 12 18:56:51 2014 UTC (9 years, 6 months ago) by riz
Branch: netbsd-7
Changes since 1.198: +26 -3 lines
Diff to previous 1.198 (colored)

Pull up following revision(s) (requested by martin in ticket #2):
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.199
Match firmware paths for the boot device in Mac style, as used by
QEMU/OpenBIOS.

Revision 1.199 / (download) - annotate - [select for diffs], Mon Aug 11 11:51:45 2014 UTC (9 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base
Changes since 1.198: +26 -3 lines
Diff to previous 1.198 (colored)

Match firmware paths for the boot device in Mac style, as used by
QEMU/OpenBIOS.

Revision 1.197.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:09 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.197: +8 -3 lines
Diff to previous 1.197 (colored) next main 1.198 (colored)

Rebase.

Revision 1.198 / (download) - annotate - [select for diffs], Fri Jul 25 17:21:32 2014 UTC (9 years, 7 months ago) by nakayama
Branch: MAIN
CVS Tags: tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.197: +8 -3 lines
Diff to previous 1.197 (colored)

Backout using humanize_number(9) in clockfreq().
humanize_number(9) cannot handle a fraction part and doesn't
match the intention of clockfreq().

Also backout the changes caused by the fallout of clockfreq().

Fixed outputs:

-cpu0 at mainbus0: MB86904 @ 170  MHz, MB86910 or WTL1164/5 FPU
+cpu0 at mainbus0: MB86904 @ 170 MHz, MB86910 or WTL1164/5 FPU

-sbus0 at iommu0: clock = 21250  MHz
+sbus0 at iommu0: clock = 21.250 MHz

-cpu0 at mainbus0: SUNW,UltraSPARC-II @ 449  MHz, CPU id 0
+cpu0 at mainbus0: SUNW,UltraSPARC-II @ 449.971 MHz, CPU id 0

Revision 1.183.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:40:10 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.183.2.3: +36 -23 lines
Diff to previous 1.183.2.3 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

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.191.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:26 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.191: +36 -23 lines
Diff to previous 1.191 (colored) next main 1.192 (colored)

sync with head

Revision 1.197 / (download) - annotate - [select for diffs], Wed Mar 26 17:29:21 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.196: +5 -10 lines
Diff to previous 1.196 (colored)

use humanize_number per gimpy.

Revision 1.196 / (download) - annotate - [select for diffs], Wed Mar 26 17:17:22 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.195: +5 -7 lines
Diff to previous 1.195 (colored)

fix fraction part of printing (from apb)

Revision 1.195 / (download) - annotate - [select for diffs], Wed Mar 26 15:55:31 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.194: +3 -5 lines
Diff to previous 1.194 (colored)

simplify snprintf.

Revision 1.194 / (download) - annotate - [select for diffs], Wed Mar 26 08:40:58 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.193: +9 -8 lines
Diff to previous 1.193 (colored)

kill sprintf

Revision 1.193 / (download) - annotate - [select for diffs], Fri Feb 21 18:00:09 2014 UTC (10 years ago) by palle
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.192: +4 -8 lines
Diff to previous 1.192 (colored)

sun4v: Rename TLB_ defines to SUN4U_TLB_ so entries created using TSB_DATA() are properly setup for sun4u and sun4v. Relocate the cputyp variable from autoconf.c to locore.s and make it const in param.h so optimized code can be generated. Parts from OpenBSD. Optimization suggested by nakayama@. OK martin@, mrg@, nakayama@

Revision 1.192 / (download) - annotate - [select for diffs], Tue Sep 24 18:11:54 2013 UTC (10 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.191: +27 -2 lines
Diff to previous 1.191 (colored)

If we're running on SPARCle, add spdmem entries on the i2c bus directly,
because they are not known by firmware.  Idea from martin@.

Revision 1.183.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:06 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.183.2.2: +5 -2 lines
Diff to previous 1.183.2.2 (colored) to branchpoint 1.183 (colored)

sync with (a bit old) head

Revision 1.189.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:45 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.189: +9 -6 lines
Diff to previous 1.189 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.191 / (download) - annotate - [select for diffs], Fri Nov 2 17:47:29 2012 UTC (11 years, 3 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.190: +5 -2 lines
Diff to previous 1.190 (colored)

In register_device(), skip indirectly attached iic children (ia_name is NULL).

Revision 1.183.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:24 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.183.2.1: +24 -12 lines
Diff to previous 1.183.2.1 (colored) to branchpoint 1.183 (colored)

sync with head

Revision 1.190 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:12 2012 UTC (11 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.189: +6 -6 lines
Diff to previous 1.189 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.185.2.3 / (download) - annotate - [select for diffs], Wed Aug 8 15:51:10 2012 UTC (11 years, 6 months ago) by martin
Branch: 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
Changes since 1.185.2.2: +1 -3 lines
Diff to previous 1.185.2.2 (colored) to branchpoint 1.185 (colored) next main 1.186 (colored)

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.189 / (download) - annotate - [select for diffs], Tue Jul 31 13:35:48 2012 UTC (11 years, 6 months ago) by martin
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.188: +4 -2 lines
Diff to previous 1.188 (colored)

Set up cn_tab in bootstrap() instead of initializing it statically.
Fixes -Wno-common fallout, idea from tsutsui.

Revision 1.188 / (download) - annotate - [select for diffs], Sun Jul 29 18:05:46 2012 UTC (11 years, 6 months ago) by mlelstv
Branch: MAIN
Changes since 1.187: +3 -5 lines
Diff to previous 1.187 (colored)

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.185.2.2 / (download) - annotate - [select for diffs], Thu Jul 5 18:12:48 2012 UTC (11 years, 7 months ago) by riz
Branch: netbsd-6
Changes since 1.185.2.1: +3 -6 lines
Diff to previous 1.185.2.1 (colored) to branchpoint 1.185 (colored)

Pull up following revision(s) (requested by mlelstv in ticket #402):
	sys/dev/vnd.c: revision 1.221
	sys/kern/init_main.c: revision 1.443
	sys/kern/init_main.c: revision 1.444
	sys/dev/dkwedge/dk.c: revision 1.64
	sys/arch/x86/x86/x86_autoconf.c: revision 1.63
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.187
	sys/sys/device.h: revision 1.141
	sys/dev/dkwedge/dkwedge_bsdlabel.c: revision 1.17
	sys/kern/kern_subr.c: revision 1.213
	sys/arch/zaurus/zaurus/autoconf.c: revision 1.11
	sys/arch/xen/x86/autoconf.c: revision 1.14
	sys/sys/disk.h: revision 1.57
Use the label's packname to create wedge names instead of the classic
device names. Fall back to classic device names when the label has an
empty name or the default name 'fictitious'.
autodiscover wedges
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.
Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for zaurus.
Do not try to find the wedge we booted from if opendisk(booted_device)
failed.

Revision 1.187 / (download) - annotate - [select for diffs], Sun Jun 10 17:05:18 2012 UTC (11 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.186: +3 -6 lines
Diff to previous 1.186 (colored)

Make detection of root on wedges (dk(4)) machine independent. Remove
MD code for x86, xen, sparc64.

Revision 1.185.2.1 / (download) - annotate - [select for diffs], Tue Jun 5 16:22:24 2012 UTC (11 years, 8 months ago) by jdc
Branch: netbsd-6
Changes since 1.185: +17 -2 lines
Diff to previous 1.185 (colored)

Pull up revisions:
  src/sys/arch/sparc/include/bootinfo.h revision 1.6
  src/sys/arch/sparc/sparc/autoconf.c revision 1.243
  src/sys/arch/sparc/stand/boot/boot.c revision 1.28
  src/sys/arch/sparc/stand/ofwboot/boot.c revision 1.29
  src/sys/arch/sparc64/include/bootinfo.h revision 1.6-1.7
  src/sys/arch/sparc64/sparc64/autoconf.c revision 1.186
(requested by martin in ticket #289).

Pass the "boothowto" from the bootloader to the kernel.
If (an old) bootloader did not pass the flags, check explicitly if we
missed RB_USERCONF and invoke userconf_prompt() in MD code, as MI code
already missed it.
This fixes PR 46466.

Ooops, remove definitions duplicated in <sparc/bootinfo.h>

Revision 1.183.6.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:09 2012 UTC (11 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.183.6.1: +17 -2 lines
Diff to previous 1.183.6.1 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored)

sync to latest -current.

Revision 1.186 / (download) - annotate - [select for diffs], Mon May 28 19:24:30 2012 UTC (11 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: jmcneill-usbmp-base10
Changes since 1.185: +17 -2 lines
Diff to previous 1.185 (colored)

Pass the "boothowto" from the bootloader to the kernel.
If (an old) bootloader did not pass the flags, check explicitly if we
missed RB_USERCONF and invoke userconf_prompt() in MD code, as MI code
already missed it.
This fixes PR 46466.

Revision 1.183.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:56 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.183: +33 -4 lines
Diff to previous 1.183 (colored)

sync with head

Revision 1.183.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:16 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.183: +33 -4 lines
Diff to previous 1.183 (colored)

merge to -current.

Revision 1.185 / (download) - annotate - [select for diffs], Mon Jan 30 12:19:45 2012 UTC (12 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.184: +11 -3 lines
Diff to previous 1.184 (colored)

Set up cache line sizes early in the MULTIPROCESSOR case (where we already
pass by all the notes anyway), and default them to small-but-working
values in the UP case. Avoids an endless loop when trying to flush
caches before we pass through cpu_attach().

Revision 1.184 / (download) - annotate - [select for diffs], Sun Jan 22 10:32:35 2012 UTC (12 years, 1 month ago) by nakayama
Branch: MAIN
Changes since 1.183: +24 -3 lines
Diff to previous 1.183 (colored)

pmu's i2c devices are under the "i2c" node, so find it out before
calling of_enter_i2c_devs().

Revision 1.183 / (download) - annotate - [select for diffs], Sat Jul 9 15:03:35 2011 UTC (12 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 (colored)

apply some (uintptr_t) between pointer and int assignments.

Revision 1.182 / (download) - annotate - [select for diffs], Fri Jul 1 18:49:24 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.181: +3 -3 lines
Diff to previous 1.181 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.178.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:43 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.178: +54 -40 lines
Diff to previous 1.178 (colored) next main 1.179 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.173.2.4 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:08 2011 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.173.2.3: +52 -38 lines
Diff to previous 1.173.2.3 (colored) next main 1.174 (colored)

sync with head

Revision 1.176.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:52 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.176: +97 -43 lines
Diff to previous 1.176 (colored) next main 1.177 (colored)

Sync with HEAD.

Revision 1.181 / (download) - annotate - [select for diffs], Fri Jun 3 02:33:27 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.180: +3 -3 lines
Diff to previous 1.180 (colored)

more CFATTACH_DECL_NEW fixes

Revision 1.180 / (download) - annotate - [select for diffs], Thu Jun 2 00:35:23 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.179: +18 -20 lines
Diff to previous 1.179 (colored)

split mainbus

Revision 1.179 / (download) - annotate - [select for diffs], Wed Jun 1 16:00:10 2011 UTC (12 years, 8 months ago) by macallan
Branch: MAIN
Changes since 1.178: +40 -24 lines
Diff to previous 1.178 (colored)

allow display devices to work if they have been set up by OF even of they're
not the firmware console. While there get rid of some more code carried over
from macppc that doesn't work on sparc64 and consistently use node vs.
console_node.

Revision 1.173.2.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:19 2011 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.173.2.2: +43 -3 lines
Diff to previous 1.173.2.2 (colored)

sync with head

Revision 1.178 / (download) - annotate - [select for diffs], Tue May 24 10:08:03 2011 UTC (12 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.177: +34 -5 lines
Diff to previous 1.177 (colored)

for SPI devices, allow platform code to set "scsi-initiator-id" device
property, and if set, use it instead of pfp.PortSCSIID.

on sparc64 systems on "scsi" or "scsi-2" devices, look from our node
up the tree for a "scsi-initiator-id" property, and if present, copy
it into the device properties.

this fixes mpt(4) issues on PRIMEPOWER250 (and probably other) systems.
idea from freebsd r207243/r207287, but reworked to use our device
properties instead of platform #ifdefs.


look in "device_type" as well as "name" for "ethernet" or "network",
and also look to see if a "local-mac-address" is set when choosing if
this may be a network device.  fixes bge(4) nul ethernet address on
the same PRIMEPOWER250.

Revision 1.177 / (download) - annotate - [select for diffs], Thu May 12 05:42:22 2011 UTC (12 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.176: +13 -2 lines
Diff to previous 1.176 (colored)

first steps towards fujitsu SPARC64 support:

- re-add cputyp, default to sun4u
- set cputyp for sun4us or sun4v systems (from openbsd)

Revision 1.173.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:07 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.173.2.1: +4 -3 lines
Diff to previous 1.173.2.1 (colored)

sync with head

Revision 1.154.2.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:31:55 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.154.2.4: +4 -3 lines
Diff to previous 1.154.2.4 (colored) to branchpoint 1.154 (colored) next main 1.155 (colored)

sync with head

Revision 1.166.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:19 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.166.2.1: +2 -1 lines
Diff to previous 1.166.2.1 (colored) to branchpoint 1.166 (colored) next main 1.167 (colored)

Sync with HEAD.

Revision 1.154.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:48 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.154.2.3: +15 -7 lines
Diff to previous 1.154.2.3 (colored) to branchpoint 1.154 (colored)

sync with head.

Revision 1.176 / (download) - annotate - [select for diffs], Wed Aug 11 19:14:26 2010 UTC (13 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.175: +4 -3 lines
Diff to previous 1.175 (colored)

look for DDC data in both EDID and edid properties so we can use firmware
provided data on my XVR-100

Revision 1.173.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:08 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.173: +12 -5 lines
Diff to previous 1.173 (colored)

sync with head

Revision 1.166.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:52 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.166: +42 -11 lines
Diff to previous 1.166 (colored)

Sync with HEAD.

Revision 1.175 / (download) - annotate - [select for diffs], Sun Apr 4 23:38:55 2010 UTC (13 years, 10 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base1
Changes since 1.174: +4 -4 lines
Diff to previous 1.174 (colored)

Avoid use of LOOKUP_BOOTINFO, since LOOKUP_BOOTINFO causes panic
when BTINFO_XXX is not passed from ofwboot.

This makes -current kernel bootable with old ofwboot.

Revision 1.174 / (download) - annotate - [select for diffs], Fri Apr 2 18:34:16 2010 UTC (13 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.173: +12 -5 lines
Diff to previous 1.173 (colored)

Add a bootinfo node to allow the loader to override the boot device

Revision 1.154.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:01 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.154.2.2: +159 -25 lines
Diff to previous 1.154.2.2 (colored) to branchpoint 1.154 (colored)

sync with head

Revision 1.173 / (download) - annotate - [select for diffs], Thu Mar 11 03:54:56 2010 UTC (13 years, 11 months ago) by mrg
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.172: +5 -4 lines
Diff to previous 1.172 (colored)

various aprint_* fixes.

Revision 1.172 / (download) - annotate - [select for diffs], Sat Mar 6 08:08:29 2010 UTC (13 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored)

clean up a bunch of MULTIPROCESSOR:

- always include ci_ipi_evcnt[] in cpuinfo
- #define sparc_ncpus 1 for !MULTIPROCESSOR
- make struct pmap::pm_list an pm_ctx always be an array, and simplify
  several functions and lookups to always be the same

tested on U60 and SB2500 before and after with one and two cpus in an
MP kernel, and UP kernels, and i can't find anything besides noise for
benchmark issues.  (infact, i can't really tell the difference between
GENERIC and GENERIC.MP on these systems...)

Revision 1.171 / (download) - annotate - [select for diffs], Mon Mar 1 01:14:58 2010 UTC (13 years, 11 months ago) by macallan
Branch: MAIN
Changes since 1.170: +2 -5 lines
Diff to previous 1.170 (colored)

Don't call frame-buffer-adr since it doesn't work as expected by the code
that got cargo culted over from macppc. While there shut up some leftover
debug printf.

Revision 1.170 / (download) - annotate - [select for diffs], Sun Feb 28 13:59:05 2010 UTC (13 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.169: +5 -4 lines
Diff to previous 1.169 (colored)

Interpret the "reg" property of i2c nodes more liberal, and depending
on the cell size in use.
I have been unable to find any documents about the i2c bindings for OF,
so this is all pretty much voodoo.

Revision 1.169 / (download) - annotate - [select for diffs], Sun Feb 28 11:43:40 2010 UTC (13 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.168: +27 -2 lines
Diff to previous 1.168 (colored)

Add support for direct configuration of i2c devices

Revision 1.168 / (download) - annotate - [select for diffs], Mon Feb 22 00:16:31 2010 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.167: +2 -62 lines
Diff to previous 1.167 (colored)

- store the maximum [id]cache size / line size for each cpu

- remove patch_kernel() since it isn't necessary and has been patching
  the wrong thing in general.

- implement USIII versions of blast_icache(), dcache_flush_page() and
  cache_flush_phys().  use the newly recorded cache size/line sizes.

- in winfixsave, flush the D$ with the right size index and ops.  this
  kills one of the wrong tag->inval patches.

- for blast_dcache(), use the newly recorded dcache_size/line_size.

- for blast_icache(), use the newly recorded cache size/line sizes.
  for the USIII verison, disable the I$ while writing to ASI_ICACHE_TAG.


these changes removed several hard coded cache sizes values, some very
wrong kernel patching, and seem to make the current failure modes for
USIII less common, but not gone.

Revision 1.167 / (download) - annotate - [select for diffs], Mon Feb 15 07:56:51 2010 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.166: +62 -2 lines
Diff to previous 1.166 (colored)

introduce a new patch_kernel() and call it from the end of bootstrap().
use it to patch up TLB flush instructions that don't match for USI/II
and later.  we can also hopefully use this to make GENERIC.MP minimally
expensive on single CPU machines as well.

this is the last piece needed to get GENERIC/GENERIC.MP to boot on the
USIII* machines.

idea and some initial code from openbsd.

Revision 1.166 / (download) - annotate - [select for diffs], Thu Jan 21 15:58:32 2010 UTC (14 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.165: +4 -2 lines
Diff to previous 1.165 (colored)

Copy the "shared-pins" property over to device_props as well.

Revision 1.165 / (download) - annotate - [select for diffs], Thu Jan 21 11:43:20 2010 UTC (14 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.164: +17 -12 lines
Diff to previous 1.164 (colored)

Make sure to not provide the global ethernet address for add on
interfaces w/o FCode (the respective driver will know what to do).

Revision 1.164 / (download) - annotate - [select for diffs], Wed Jan 20 15:45:52 2010 UTC (14 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.163: +34 -5 lines
Diff to previous 1.163 (colored)

Add the mac address as device property "mac-address" to all devices that
look like a network interface.
Also add a boolean "without-seeprom" to all apparently on-board network
interface (which usually have no eeprom of their own on Suns), this
latter can be used to enable driver hacks.

Revision 1.163 / (download) - annotate - [select for diffs], Sun Jan 10 13:52:06 2010 UTC (14 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.162: +83 -8 lines
Diff to previous 1.162 (colored)

Better support for FC-AL controllers/boot disks:
 - on FC-AL disks, use wwn instead of target index to match a particular drive
 - use the new device_register_post_config() to match "sd" device against
   the bootpath after they have gained their wwn device property
 - supply firmwares notion of port and node wwn for FC controllers
   as device properties (the builtin ones don't see to have a separate nvram)

Revision 1.162 / (download) - annotate - [select for diffs], Sat Dec 5 01:11:18 2009 UTC (14 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.161: +15 -15 lines
Diff to previous 1.161 (colored)

Refactor device_register code slightly in preparation for further changes.
No functional changes.

Revision 1.160.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:38 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.160: +3 -2 lines
Diff to previous 1.160 (colored) next main 1.161 (colored)

Sync with HEAD.

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

Revision 1.154.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:58 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.154.2.1: +46 -8 lines
Diff to previous 1.154.2.1 (colored) to branchpoint 1.154 (colored)

sync with head.

Revision 1.156.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:26 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.156.2.1: +3 -2 lines
Diff to previous 1.156.2.1 (colored) to branchpoint 1.156 (colored) next main 1.157 (colored)

Sync with HEAD.

Revision 1.161 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:03 2009 UTC (15 years ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base
Changes since 1.160: +3 -2 lines
Diff to previous 1.160 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.156.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:51 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.156: +26 -8 lines
Diff to previous 1.156 (colored)

Sync with HEAD.

Revision 1.151.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:32 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.151.6.2: +43 -6 lines
Diff to previous 1.151.6.2 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

Sync with HEAD.

Revision 1.160 / (download) - annotate - [select for diffs], Sat Dec 13 20:48:10 2008 UTC (15 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.159: +5 -3 lines
Diff to previous 1.159 (colored)

look for "portid" as well as "upa-portid".

Revision 1.155.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:29 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.155: +42 -7 lines
Diff to previous 1.155 (colored) next main 1.156 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.156.4.1 / (download) - annotate - [select for diffs], Thu Dec 4 02:10:47 2008 UTC (15 years, 2 months ago) by snj
Branch: 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, 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, 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
Changes since 1.156: +20 -4 lines
Diff to previous 1.156 (colored) next main 1.157 (colored)

Pull up following revision(s) (requested by martin in ticket #157):
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.159
Fix "target" calculation (for the sake of matching OF path names) for
atapi cdrom drives - we need to add an offset if the whole atabus is
the second ata bus on the controller since firmware adds 2 to the
target in this case. Avoids a bogus match of cd0 if booting from wd0 on
a U5/U10 (both connected to the same internal ide controller).
Problem reported by Urban Boquist and Greg Oster.

Revision 1.159 / (download) - annotate - [select for diffs], Mon Dec 1 00:09:47 2008 UTC (15 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.158: +20 -4 lines
Diff to previous 1.158 (colored)

Fix "target" calculation (for the sake of matching OF path names) for
atapi cdrom drives - we need to add an offset if the whole atabus is
the second ata bus on the controller since firmware adds 2 to the
target in this case. Avoids a bogus match of cd0 if booting from wd0 on
a U5/U10 (both connected to the same internal ide controller).
Problem reported by Urban Boquist and Greg Oster.

Revision 1.158 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:36 2008 UTC (15 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.157: +3 -3 lines
Diff to previous 1.157 (colored)

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

Revision 1.157 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:06 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.156: +4 -4 lines
Diff to previous 1.156 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.156 / (download) - annotate - [select for diffs], Tue Oct 21 06:07:14 2008 UTC (15 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.155: +21 -2 lines
Diff to previous 1.155 (colored)

If output-device contains a video mode specifier ( as in
screen:r1152x900x76 ) cut it off and pass it to the console driver. This
way radeonfb has a fighting chance to setup a mode similar or identical to
the firmware's.

Revision 1.135.4.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:18 2008 UTC (15 years, 8 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.135: +6 -3 lines
Diff to previous 1.135 (colored) next main 1.136 (colored)

Sync with netbsd-4.

Revision 1.151.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:44 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.151.6.1: +14 -6 lines
Diff to previous 1.151.6.1 (colored) to branchpoint 1.151 (colored)

Sync with HEAD.

Revision 1.135.2.2 / (download) - annotate - [select for diffs], Sun May 25 19:06:08 2008 UTC (15 years, 9 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.135.2.1: +2 -1 lines
Diff to previous 1.135.2.1 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored)

Pull up following revision(s) (requested by jdc in ticket #1152):
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.155
Treat ledma the same way as sbus and dma when looking for the boot path.
Original Ultra 1's with sbus -> ledma -> le can now network boot again.
(From martin@).

Revision 1.153.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:51 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.153: +16 -8 lines
Diff to previous 1.153 (colored) next main 1.154 (colored)

sync with head.

Revision 1.154.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:15 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.154: +4 -3 lines
Diff to previous 1.154 (colored)

sync with head.

Revision 1.155 / (download) - annotate - [select for diffs], Tue May 6 21:07:57 2008 UTC (15 years, 9 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: haad-dm
Changes since 1.154: +4 -3 lines
Diff to previous 1.154 (colored)

Treat ledma the same way as sbus and dma when looking for the boot path.
Original Ultra 1's with sbus -> ledma -> le can now network boot again.
(From martin@).

Revision 1.154 / (download) - annotate - [select for diffs], Mon Apr 21 21:00:23 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.153: +14 -7 lines
Diff to previous 1.153 (colored)

Be more precise when matching the boot device - with ata disks and
atapibus cdrom drives both using the same "target/lun" space, we could
confuse cdrom@0,0 for disk@0,0. Now match the complete string (we still
don't care how firmware calls a device, just rely on it being consistent).

Problem noticed by Jonathan A. Kollasch.

Revision 1.151.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:26 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.151: +11 -2 lines
Diff to previous 1.151 (colored)

Sync with HEAD.

Revision 1.151.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:05 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.151: +11 -2 lines
Diff to previous 1.151 (colored) next main 1.152 (colored)

sync with head.

Revision 1.140.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:23 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.140.2.2: +65 -80 lines
Diff to previous 1.140.2.2 (colored) to branchpoint 1.140 (colored) next main 1.141 (colored)

sync with HEAD

Revision 1.103.2.10 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:28 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.9: +11 -2 lines
Diff to previous 1.103.2.9 (colored) next main 1.104 (colored)

sync with head.

Revision 1.153 / (download) - annotate - [select for diffs], Fri Mar 14 15:40:22 2008 UTC (15 years, 11 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.152: +3 -2 lines
Diff to previous 1.152 (colored)

#include "opt_multiprocessor.h"

Revision 1.152 / (download) - annotate - [select for diffs], Fri Mar 14 09:44:22 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.151: +10 -2 lines
Diff to previous 1.151 (colored)

If a cd(4) is attaching on ata instead of scsi, the controller is
the grandparent, not the parent.

Revision 1.103.2.9 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:25 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.8: +2 -28 lines
Diff to previous 1.103.2.8 (colored)

sync with head.

Revision 1.142.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:06 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.142.2.1: +78 -81 lines
Diff to previous 1.142.2.1 (colored) to branchpoint 1.142 (colored) next main 1.143 (colored)

Sync with HEAD.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Feb 12 17:30:58 2008 UTC (16 years ago) by joerg
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.150: +2 -28 lines
Diff to previous 1.150 (colored)

Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.

Revision 1.103.2.8 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.7: +8 -7 lines
Diff to previous 1.103.2.7 (colored)

sync with head.

Revision 1.150 / (download) - annotate - [select for diffs], Mon Feb 11 04:14:18 2008 UTC (16 years ago) by mrg
Branch: MAIN
Changes since 1.149: +8 -7 lines
Diff to previous 1.149 (colored)

be more explicit about needing version 1.9 of ofwboot for new kernels.

Revision 1.135.2.1 / (download) - annotate - [select for diffs], Sat Feb 2 23:23:24 2008 UTC (16 years ago) by riz
Branch: netbsd-4
Changes since 1.135: +4 -2 lines
Diff to previous 1.135 (colored)

Pull up following revision(s) (requested by martin in ticket #1030):
	sys/arch/sparc64/sparc64/autoconf.c: revision 1.147
Fix unusued variable warning (depending on options). Noticed by
Adrian Portelli on port-sparc64.

Revision 1.103.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:39:32 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.6: +72 -50 lines
Diff to previous 1.103.2.6 (colored)

sync with head

Revision 1.146.4.3 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:45 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.146.4.2: +48 -47 lines
Diff to previous 1.146.4.2 (colored) to branchpoint 1.146 (colored) next main 1.147 (colored)

Sync with HEAD

Revision 1.149 / (download) - annotate - [select for diffs], Tue Jan 15 21:02:27 2008 UTC (16 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.148: +50 -49 lines
Diff to previous 1.148 (colored)

work around yet another PGX32/Raptor firmware bug
from Peter Bex

Revision 1.140.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:05 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.140.2.1: +160 -5 lines
Diff to previous 1.140.2.1 (colored) to branchpoint 1.140 (colored)

sync with HEAD

Revision 1.146.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:27 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.146.4.1: +20 -1 lines
Diff to previous 1.146.4.1 (colored) to branchpoint 1.146 (colored)

Sync with HEAD

Revision 1.148 / (download) - annotate - [select for diffs], Thu Jan 3 21:34:58 2008 UTC (16 years, 1 month ago) by jdc
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.147: +22 -3 lines
Diff to previous 1.147 (colored)

Print the "banner-name" property (up to the first '(' character), if
it is present, as well as the "name" property.

Revision 1.146.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:50:30 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.146: +4 -2 lines
Diff to previous 1.146 (colored)

Sync with HEAD

Revision 1.147 / (download) - annotate - [select for diffs], Mon Dec 31 14:10:15 2007 UTC (16 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.146: +4 -2 lines
Diff to previous 1.146 (colored)

Fix unusued variable warning (depending on options). Noticed by
Adrian Portelli on port-sparc64.

Revision 1.138.8.5 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:19 2007 UTC (16 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.138.8.4: +4 -4 lines
Diff to previous 1.138.8.4 (colored) to branchpoint 1.138 (colored) next main 1.139 (colored)

Sync with HEAD.

Revision 1.142.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:58 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.142: +138 -4 lines
Diff to previous 1.142 (colored)

Sync with HEAD.

Revision 1.145.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:28 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.145: +4 -4 lines
Diff to previous 1.145 (colored) next main 1.146 (colored)

Sync with head.

Revision 1.103.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:26 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.5: +138 -4 lines
Diff to previous 1.103.2.5 (colored)

sync with head

Revision 1.146 / (download) - annotate - [select for diffs], Wed Dec 5 12:31:28 2007 UTC (16 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.145: +4 -4 lines
Diff to previous 1.145 (colored)

Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro.

Revision 1.137.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:39:30 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.137.2.2: +136 -2 lines
Diff to previous 1.137.2.2 (colored) to branchpoint 1.137 (colored) next main 1.138 (colored)

Sync with HEAD.

Revision 1.138.8.4 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:18 2007 UTC (16 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.138.8.3: +4 -4 lines
Diff to previous 1.138.8.3 (colored) to branchpoint 1.138 (colored)

Sync with HEAD.

Revision 1.145 / (download) - annotate - [select for diffs], Wed Nov 28 22:54:46 2007 UTC (16 years, 2 months ago) by he
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.144: +4 -4 lines
Diff to previous 1.144 (colored)

Allow this to build both for sparc64 and for the GENERIC_SUN4U sparc kernel.

Revision 1.138.8.3 / (download) - annotate - [select for diffs], Wed Nov 21 21:53:33 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.138.8.2: +136 -2 lines
Diff to previous 1.138.8.2 (colored) to branchpoint 1.138 (colored)

Sync with HEAD.

Revision 1.141.2.1 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:23 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.141: +136 -2 lines
Diff to previous 1.141 (colored) next main 1.142 (colored)

Sync with HEAD

Revision 1.144 / (download) - annotate - [select for diffs], Tue Nov 20 17:06:18 2007 UTC (16 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.143: +7 -2 lines
Diff to previous 1.143 (colored)

don't bother looking for console-specific properties on devices that aren't
PCI_CLASS_DISPLAY

Revision 1.143 / (download) - annotate - [select for diffs], Mon Nov 19 02:52:56 2007 UTC (16 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.142: +131 -2 lines
Diff to previous 1.142 (colored)

do as macppc does and pass a bunch of parameters to PCI console framebuffers
With this we no longer need machine-dependent code in framebuffer console
drivers and we can use genfb at pci for otherwise unsupported graphics
chips as long as there's firmware support.

Revision 1.140.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:22:47 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.140: +9 -6 lines
Diff to previous 1.140 (colored)

sync with HEAD

Revision 1.103.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:39 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.4: +9 -6 lines
Diff to previous 1.103.2.4 (colored)

sync with head.

Revision 1.142 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:30 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.137.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:32 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.137.2.1: +9 -6 lines
Diff to previous 1.137.2.1 (colored) to branchpoint 1.137 (colored)

Sync with head.

Revision 1.140.4.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:34:29 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.140: +9 -6 lines
Diff to previous 1.140 (colored) next main 1.141 (colored)

sync with head.

Revision 1.137.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:24 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.137.10.1: +9 -6 lines
Diff to previous 1.137.10.1 (colored) to branchpoint 1.137 (colored) next main 1.138 (colored)

Sync with HEAD

Revision 1.138.8.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:43 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.138.8.1: +9 -6 lines
Diff to previous 1.138.8.1 (colored) to branchpoint 1.138 (colored)

Sync with HEAD.

Revision 1.141 / (download) - annotate - [select for diffs], Mon Oct 1 14:17:34 2007 UTC (16 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.140: +9 -6 lines
Diff to previous 1.140 (colored)

Turn a few printf into DPRINTF

Revision 1.103.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:19 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.3: +8 -84 lines
Diff to previous 1.103.2.3 (colored)

sync with head.

Revision 1.138.8.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:02:31 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored)

Sync with HEAD.

Revision 1.138.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:46 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

Sync with HEAD.

Revision 1.140 / (download) - annotate - [select for diffs], Tue Aug 14 11:10:55 2007 UTC (16 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap, matt-armv6
Changes since 1.139: +2 -6 lines
Diff to previous 1.139 (colored)

Backout the md_tf part of the previous change - it was wrong and should
not be needed, needs more investigation.

Revision 1.139 / (download) - annotate - [select for diffs], Tue Aug 14 10:42:01 2007 UTC (16 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.138: +6 -2 lines
Diff to previous 1.138 (colored)

Initialize lwp0.l_md.md_tf - it was NULL before. Spotted by tnn.
While there, g/c the unused md_pcbpaddr.

Revision 1.137.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:04 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.137: +6 -82 lines
Diff to previous 1.137 (colored)

Sync with head.

Revision 1.137.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:02:37 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.137: +6 -82 lines
Diff to previous 1.137 (colored) next main 1.138 (colored)

Sync with head.

Revision 1.137.10.1 / (download) - annotate - [select for diffs], Tue Jun 26 18:13:42 2007 UTC (16 years, 8 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.137: +6 -82 lines
Diff to previous 1.137 (colored)

Sync with HEAD.

Revision 1.138 / (download) - annotate - [select for diffs], Sun Jun 24 01:43:34 2007 UTC (16 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.137: +6 -82 lines
Diff to previous 1.137 (colored)

Extract common code from i386, xen, and sparc64, creating
config_handle_wedges() and read_disk_sectors().  On x86, handle_wedges()
is a thin wrapper for config_handle_wedges().  Share opendisk()
across architectures.

Add kernel code in support of specifying a root partition by wedge
name.  E.g., root specifications "wedge:wd0a", "wedge:David's Root
Volume" are possible.  (Patches for config(1) coming soon.)

In support of moving disks between architectures (esp. i386 <->
evbmips), I've written a routine convertdisklabel() that ensures
that the raw partition is at RAW_DISK by following these steps:

        0 If we have read a disklabel that has a RAW_PART with
          p_offset == 0 and p_size != 0, then use that raw partition.

        1 If we have read a disklabel that has both partitions 'c'
          and 'd', and RAW_PART has p_offset != 0 or p_size == 0,
          but the other partition is suitable for a raw partition
          (p_offset == 0, p_size != 0), then swap the two partitions
          and use the new raw partition.

        2 If the architecture's raw partition is 'd', and if there
          is no partition 'd', but there is a partition 'c' that
          is suitable for a raw partition, then copy partition 'c'
          to partition 'd'.

        3 Determine the drive's last sector, using either the
          d_secperunit the drive reported, or by guessing (0x1fffffff).
          If we cannot read the drive's last sector, then fail.

        4 If we have read a disklabel that has no partition slot
          RAW_PART, then create a partition RAW_PART.  Make it span
          the whole drive.

        5 If there are fewer than MAXPARTITIONS partitions,
          then "slide" the unsuitable raw partition RAW_PART, and
          subsequent partitions, into partition slots RAW_PART+1
          and subsequent slots.  Create a raw partition at RAW_PART.
          Make it span the whole drive.

The convertdisklabel() procedure can probably stand to be simplified,
but it ought to deal with all but an extraordinarily broken disklabel,
now.

i386: compiled and tested, sparc64: compiled, evbmips: compiled.

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:48 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.136: +4 -4 lines
Diff to previous 1.136 (colored) next main 1.137 (colored)

Sync with HEAD.

Revision 1.137 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:50 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.136: +4 -4 lines
Diff to previous 1.136 (colored)

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

Revision 1.103.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:25 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.2: +2 -5 lines
Diff to previous 1.103.2.2 (colored)

sync with head.

Revision 1.118.2.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:11 2007 UTC (17 years ago) by ad
Branch: newlock2
Changes since 1.118.2.1: +2 -5 lines
Diff to previous 1.118.2.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored)

Sync with head.

Revision 1.136 / (download) - annotate - [select for diffs], Wed Jan 24 13:08:14 2007 UTC (17 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.135: +2 -5 lines
Diff to previous 1.135 (colored)

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

Revision 1.103.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:05 2006 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103.2.1: +260 -584 lines
Diff to previous 1.103.2.1 (colored)

sync with head.

Revision 1.119.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:36 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.119.2.1: +8 -9 lines
Diff to previous 1.119.2.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored)

sync with head.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:33 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.118: +185 -592 lines
Diff to previous 1.118 (colored)

Sync with head.

Revision 1.135 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:39 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-base-1, 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, matt-nb4-arm-base, matt-nb4-arm
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.134: +6 -6 lines
Diff to previous 1.134 (colored)

__unused removal on arguments; approved by core.

Revision 1.134 / (download) - annotate - [select for diffs], Thu Oct 26 00:19:44 2006 UTC (17 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.133: +4 -5 lines
Diff to previous 1.133 (colored)

Take into accout that SCSI controllers may attach to other things than
pci or sbus, like esp at dma.
So now my U1 can find its boot device again.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:11 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.119: +185 -592 lines
Diff to previous 1.119 (colored)

sync with head

Revision 1.133 / (download) - annotate - [select for diffs], Thu Oct 19 21:09:46 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.132: +2 -14 lines
Diff to previous 1.132 (colored)

Remove obsolete (and partially accidently commited) kgdb parts

Revision 1.132 / (download) - annotate - [select for diffs], Sun Oct 15 19:22:59 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.131: +6 -4 lines
Diff to previous 1.131 (colored)

Sprinkle some __unused

Revision 1.131 / (download) - annotate - [select for diffs], Tue Oct 10 12:41:56 2006 UTC (17 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.130: +6 -9 lines
Diff to previous 1.130 (colored)

Print ofboottarget and ofbootpartition on DEBUG even if they are not set.

Revision 1.130 / (download) - annotate - [select for diffs], Mon Oct 9 22:16:33 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.129: +9 -5 lines
Diff to previous 1.129 (colored)

Ooops, stupid typo prevented recognizing wd* as boot device
(and stupid me tested on a machine with RAID 1 autoconfigured as root).
While there, make -Wextra ready and add another debug message.

Revision 1.129 / (download) - annotate - [select for diffs], Mon Oct 9 07:36:09 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.128: +4 -2 lines
Diff to previous 1.128 (colored)

More debug output for matching the boot device.

Revision 1.128 / (download) - annotate - [select for diffs], Sat Oct 7 18:14:42 2006 UTC (17 years, 4 months ago) by rjs
Branch: MAIN
Changes since 1.127: +2 -3 lines
Diff to previous 1.127 (colored)

Allow kernel to build with KGDB enabled.

Revision 1.127 / (download) - annotate - [select for diffs], Thu Oct 5 22:41:31 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.126: +3 -2 lines
Diff to previous 1.126 (colored)

After detecting wedges, close the disk vnode - otherwise things like
root on raid 1 will not be happy - fixes PR kern/34696.

Revision 1.126 / (download) - annotate - [select for diffs], Tue Oct 3 21:04:47 2006 UTC (17 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.125: +10 -6 lines
Diff to previous 1.125 (colored)

make get_ncpus() set sparc_ncpus = 1 in the !MULTIPROCESSOR case.

Revision 1.125 / (download) - annotate - [select for diffs], Sun Oct 1 10:15:24 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.124: +4 -3 lines
Diff to previous 1.124 (colored)

Oops, now *realy* do print the non-truncated firmware boot path

Revision 1.124 / (download) - annotate - [select for diffs], Sun Oct 1 10:04:13 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

Print the raw bootpath value

Revision 1.123 / (download) - annotate - [select for diffs], Sun Oct 1 10:02:28 2006 UTC (17 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.122: +29 -11 lines
Diff to previous 1.122 (colored)

Use more device_ accessor macros

Revision 1.122 / (download) - annotate - [select for diffs], Tue Sep 26 19:06:46 2006 UTC (17 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.121: +9 -6 lines
Diff to previous 1.121 (colored)

Minor cosmetics and error checking for probably impossible corner
cases.

Revision 1.121 / (download) - annotate - [select for diffs], Tue Sep 26 16:11:02 2006 UTC (17 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.120: +3 -2 lines
Diff to previous 1.120 (colored)

device_setofnode(): Release the number object after storing it in the
device properties dictionary.  The dictionary also retains the object,
so if we don't release it, the initial reference leaks.

Revision 1.120 / (download) - annotate - [select for diffs], Tue Sep 26 09:45:57 2006 UTC (17 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.119: +150 -577 lines
Diff to previous 1.119 (colored)

Rework boot device matching to get rid of lots of special case code
and tables to map fimware names to driver names. Based on a suggestion
from Eduardo (quite some time ago).
Each device (on busses we can handle and care about) gets a device property
storing the devices OpenFirmware package handle. To match the boot device,
the phandle of the chosen bootpath is compared against this property,
plus some additional string matching for disk/cd devices (where OF only
provides a node for the device class, not each instance).

Revision 1.113.2.3 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:18 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.113.2.2: +8 -3 lines
Diff to previous 1.113.2.2 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored)

sync with head.

Revision 1.119 / (download) - annotate - [select for diffs], Tue Sep 12 09:51:38 2006 UTC (17 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.118: +3 -2 lines
Diff to previous 1.118 (colored)

We need to call setroot() even if we don't know about the boot device.

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:47 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.107: +140 -96 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

sync with head

Revision 1.118 / (download) - annotate - [select for diffs], Thu Sep 7 12:26:37 2006 UTC (17 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.117: +7 -3 lines
Diff to previous 1.117 (colored)

If we have not found our booted_device, tell the user and do not crash.
This seems more sensible than a simple KASSERT.

Revision 1.113.2.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:32 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.113.2.1: +81 -2 lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored)

sync with head.

Revision 1.117 / (download) - annotate - [select for diffs], Sun Aug 27 05:37:40 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Changes since 1.116: +8 -4 lines
Diff to previous 1.116 (colored)

This is why we should not copy buggy code... You get to fix bugs multiple
times: Wedges don't have partitions, so don't use MAKEDISKDEV

Revision 1.116 / (download) - annotate - [select for diffs], Mon Aug 14 12:11:26 2006 UTC (17 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.115: +77 -2 lines
Diff to previous 1.115 (colored)

Allow booting from wedges.

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:47 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.103: +154 -111 lines
Diff to previous 1.103 (colored)

sync with head.

Revision 1.107.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:02 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.107: +57 -96 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

Sync with head.

Revision 1.113.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:49 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.113: +4 -4 lines
Diff to previous 1.113 (colored) next main 1.114 (colored)

sync with head - hopefully this will work

Revision 1.113.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:30 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.113: +4 -4 lines
Diff to previous 1.113 (colored)

sync with head.

Revision 1.113.6.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:10 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.113: +4 -4 lines
Diff to previous 1.113 (colored) next main 1.114 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:48 2006 UTC (17 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Use device_cfdata().

Revision 1.114 / (download) - annotate - [select for diffs], Tue Mar 28 17:38:27 2006 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.113: +3 -3 lines
Diff to previous 1.113 (colored)

Use device_unit().

Revision 1.113 / (download) - annotate - [select for diffs], Fri Mar 3 10:32:01 2006 UTC (17 years, 11 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

"device_is_a() == 0" means device_is_not_a, and that's_not_what_we_want.
[hi thropej!]

Revision 1.106.2.3 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:05 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.106.2.2: +25 -42 lines
Diff to previous 1.106.2.2 (colored) next main 1.107 (colored)

sync with head.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Feb 26 05:36:15 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Changes since 1.111: +12 -16 lines
Diff to previous 1.111 (colored)

Use device_is_a().

Revision 1.111 / (download) - annotate - [select for diffs], Sat Feb 25 00:58:35 2006 UTC (18 years ago) by wiz
Branch: MAIN
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Feb 23 05:37:48 2006 UTC (18 years ago) by thorpej
Branch: MAIN
Changes since 1.109: +6 -6 lines
Diff to previous 1.109 (colored)

Use device_parent().

Revision 1.109 / (download) - annotate - [select for diffs], Mon Feb 20 19:00:27 2006 UTC (18 years ago) by cdi
Branch: MAIN
Changes since 1.108: +10 -23 lines
Diff to previous 1.108 (colored)

Use ANSI-style function definitions and declarations.

Revision 1.106.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:50 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.106.2.1: +33 -55 lines
Diff to previous 1.106.2.1 (colored)

sync with head.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Feb 11 17:57:32 2006 UTC (18 years ago) by cdi
Branch: MAIN
Changes since 1.107: +33 -55 lines
Diff to previous 1.107 (colored)

ANSIfication: u_intN_t -> uintN_t, use ANSI function declarations/definitions
instead of K&R ones.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:37 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.106: +104 -24 lines
Diff to previous 1.106 (colored)

sync with head.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jan 27 18:37:49 2006 UTC (18 years ago) by cdi
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.106: +104 -24 lines
Diff to previous 1.106 (colored)

Alter sparc64 bootstrap, catch up to ofwboot v1.9:

 - Accept bootinfo structure passed down from ofwboot v1.9
 - Drop kernel re-mapping code
 - Use permanent 4MB mappings provided by the loader instead
 - Change kernel entry address to point directly at the code instead of pointing
   at the trap table's first slot. This allows the bootloader to detect
   those kernels which are aware of the new boot scheme
 - Due to the changes in kernel mapping code, alter secondary CPU bootstrap
   code to use trampoline just like FreeBSD does (some FreeBSD code is used
   here as well)

Revision 1.106 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:37 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

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

Revision 1.105 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:14 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

merge ktrace-lwp.

Revision 1.76.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:33 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.76.2.6: +37 -34 lines
Diff to previous 1.76.2.6 (colored) next main 1.77 (colored)

Sync with HEAD. Here we go again...

Revision 1.104 / (download) - annotate - [select for diffs], Sun Aug 14 19:12:02 2005 UTC (18 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.103: +5 -3 lines
Diff to previous 1.103 (colored)

match isp as a PCI device called "SUNW,isptwo".  from Eric Benoit.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jun 16 04:17:50 2005 UTC (18 years, 8 months ago) by briggs
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.102: +5 -5 lines
Diff to previous 1.102 (colored)

Rename 'ncpus' to 'sparc_ncpus' to avoid shadow warnings in m.i. code.
Also sprinkle an __UNVOLATILE() for sparc.
n.b. sparc64 'cpus' should probably be renamed to 'cpu_info_list' to
     match i386 et al.

Revision 1.102 / (download) - annotate - [select for diffs], Tue May 31 00:53:02 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.101: +30 -30 lines
Diff to previous 1.101 (colored)

- sprinkle const
- avoid shadowed variables

Revision 1.98.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:24 2005 UTC (18 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.98: +9 -6 lines
Diff to previous 1.98 (colored) next main 1.99 (colored)

sync with -current

Revision 1.101 / (download) - annotate - [select for diffs], Thu Apr 28 06:22:41 2005 UTC (18 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.100: +3 -2 lines
Diff to previous 1.100 (colored)

Match a device_type of scsi-2 as SCSI (as found in a Netra 1405).

Revision 1.98.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:14 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.98: +8 -6 lines
Diff to previous 1.98 (colored) next main 1.99 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.76.2.6 / (download) - annotate - [select for diffs], Tue Mar 8 13:53:10 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.76.2.5: +4 -4 lines
Diff to previous 1.76.2.5 (colored)

Sync with HEAD.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Mar 7 22:10:14 2005 UTC (18 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.99: +4 -4 lines
Diff to previous 1.99 (colored)

Make it compile for 32bit kernels. XXX - does OF realy return pointers to
64 bit entities here?

Revision 1.76.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:39:11 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.76.2.4: +6 -4 lines
Diff to previous 1.76.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.99 / (download) - annotate - [select for diffs], Fri Feb 25 19:16:45 2005 UTC (19 years ago) by martin
Branch: MAIN
Changes since 1.98: +6 -4 lines
Diff to previous 1.98 (colored)

Nuke options RASTERCONSOLE for sparc64

Revision 1.76.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:55 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.76.2.3: +2 -4 lines
Diff to previous 1.76.2.3 (colored)

Sync with HEAD.

Revision 1.98 / (download) - annotate - [select for diffs], Sat Oct 23 17:12:23 2004 UTC (19 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.97: +2 -4 lines
Diff to previous 1.97 (colored)

Centralize the declaration of booted_device and booted_partition.

Revision 1.76.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:22:56 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.76.2.2: +2 -2 lines
Diff to previous 1.76.2.2 (colored)

Fix the sync with head I botched.

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:41:17 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.76.2.1: +0 -0 lines
Diff to previous 1.76.2.1 (colored)

Sync with HEAD.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:34 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.76: +83 -195 lines
Diff to previous 1.76 (colored)

Sync with HEAD

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Sun May 9 08:46:21 2004 UTC (19 years, 9 months ago) by jdc
Branch: netbsd-2-0
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-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
Changes since 1.96: +7 -3 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Pull up revision 1.97 (requested by petrov in ticket #268)

Recognize tlp and ethernet as bootpath.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Mar 30 21:26:40 2004 UTC (19 years, 10 months ago) by petrov
Branch: MAIN
Changes since 1.96: +7 -3 lines
Diff to previous 1.96 (colored)

Recognize tlp and ethernet as bootpath.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Mar 23 00:17:12 2004 UTC (19 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.95: +28 -3 lines
Diff to previous 1.95 (colored)

Replace intrcnts by evcnts. XXX - needs slight tweaking for MULTIPROCESSOR.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Mar 21 14:10:08 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.94: +7 -278 lines
Diff to previous 1.94 (colored)

Switch to the sparc prom library.

Revision 1.94 / (download) - annotate - [select for diffs], Fri Mar 19 15:22:43 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.93: +2 -14 lines
Diff to previous 1.93 (colored)

Drop optionsnode, fbnode and stdinnnode.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Mar 17 17:04:59 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.92: +18 -18 lines
Diff to previous 1.92 (colored)

Rename PROM_getprop*() => prom_getprop*().

Revision 1.92 / (download) - annotate - [select for diffs], Wed Mar 17 15:22:57 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.91: +9 -6 lines
Diff to previous 1.91 (colored)

Pass the buffer size to PROM_getpropstringA(), as in sparc.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Mar 17 14:35:53 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.90: +4 -3 lines
Diff to previous 1.90 (colored)

Print the host Id in mainbus_attach() instead of clock_attach().

Revision 1.90 / (download) - annotate - [select for diffs], Tue Mar 16 23:05:45 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.89: +39 -6 lines
Diff to previous 1.89 (colored)

For now, implement prom_getoption() in autoconf.c.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Mar 16 13:14:34 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.88: +86 -2 lines
Diff to previous 1.88 (colored)

For now, implement prom_getidprom() and prom_getether() in autoconf.c

Revision 1.88 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:18 2004 UTC (20 years ago) by wiz
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jan 6 09:38:19 2004 UTC (20 years, 1 month ago) by petrov
Branch: MAIN
Changes since 1.86: +25 -5 lines
Diff to previous 1.86 (colored)

Spinup secondary cpus. Based on codes sent to me by Dennis Chernoivanov
and Chuck Silvers.

Revision 1.86 / (download) - annotate - [select for diffs], Sun Dec 14 05:16:30 2003 UTC (20 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.85: +2 -3 lines
Diff to previous 1.85 (colored)

No need to include wdvar.h anymore.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Nov 9 16:41:52 2003 UTC (20 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.84: +6 -6 lines
Diff to previous 1.84 (colored)

bzero/bcopy -> memset/memcpy

Revision 1.84 / (download) - annotate - [select for diffs], Tue Oct 21 08:26:31 2003 UTC (20 years, 4 months ago) by petrov
Branch: MAIN
Changes since 1.83: +5 -5 lines
Diff to previous 1.83 (colored)

don't use NULL for an int initialization.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Oct 9 17:55:44 2003 UTC (20 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.82: +4 -2 lines
Diff to previous 1.82 (colored)

After pciide split, add cmdide and aceride to bus_class_tab[], per Martin
Husemann and Takeshi Nakayama requests.
XXX others IDE controller drivers needs to be added too, or a better
way of handling it has to be found.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Aug 27 15:59:55 2003 UTC (20 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.81: +9 -9 lines
Diff to previous 1.81 (colored)

change PROM_getprop() from taking a "void **" for the storage, to a
"void *", and do the extra de-reference directly in the function.  this
avoids having to cast dozens of different types to "void **", which sets
of GCC3's strict-aliasing.  testing by martin@

Revision 1.81 / (download) - annotate - [select for diffs], Mon Aug 25 17:50:27 2003 UTC (20 years, 6 months ago) by uwe
Branch: MAIN
Changes since 1.80: +2 -3 lines
Diff to previous 1.80 (colored)

Undo previous as it broke things.

There are some scattered implicit RASTERCONSOLE dependencies,
so there should be a better way.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Aug 24 17:32:03 2003 UTC (20 years, 6 months ago) by uwe
Branch: MAIN
Changes since 1.79: +3 -2 lines
Diff to previous 1.79 (colored)

#include "opt_rcons.h"

Revision 1.79 / (download) - annotate - [select for diffs], Thu Aug 7 22:24:34 2003 UTC (20 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.78: +3 -2 lines
Diff to previous 1.78 (colored)

Add "esiop" driver to PCI bus table, so mapping OF boot device pathes
to autoconfig device nodes works when booting from a esiop attached drive
(instead of the old siop)

Revision 1.78 / (download) - annotate - [select for diffs], Tue Jul 29 23:31:32 2003 UTC (20 years, 6 months ago) by petrov
Branch: MAIN
Changes since 1.77: +2 -6 lines
Diff to previous 1.77 (colored)

Remove autoconf_nzs, seems no-one uses it now.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jul 15 03:36:07 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.76: +4 -1 lines
Diff to previous 1.76 (colored)

__KERNEL_RCSID()

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jun 18 08:58:41 2003 UTC (20 years, 8 months ago) by drochner
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.75: +1 -2 lines
Diff to previous 1.75 (colored)

don't #include <sys/dkstat.h> where it is (appearently) unused

Revision 1.75 / (download) - annotate - [select for diffs], Sun May 18 22:11:31 2003 UTC (20 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.74: +3 -16 lines
Diff to previous 1.74 (colored)

Make kernels with options KGDB at least compile.
Still needs some work to make it working.

Revision 1.74 / (download) - annotate - [select for diffs], Sat May 17 01:38:39 2003 UTC (20 years, 9 months ago) by nakayama
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Avoid strict-alias warnings in gcc 3.3.

Revision 1.73 / (download) - annotate - [select for diffs], Sat May 10 13:35:10 2003 UTC (20 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.72: +2 -6 lines
Diff to previous 1.72 (colored)

We are always using ELF on sparc64, so nuke bogus test for DB_ELF_SYMBOLS.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:20 2003 UTC (20 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.71: +8 -6 lines
Diff to previous 1.71 (colored)

Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.54.4.8 / (download) - annotate - [select for diffs], Tue Jan 7 21:23:32 2003 UTC (21 years, 1 month ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.54.4.7: +8 -5 lines
Diff to previous 1.54.4.7 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Jan 4 17:00:27 2003 UTC (21 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.70: +8 -5 lines
Diff to previous 1.70 (colored)

use "booted_device" when calling setroot(), so that raidframe autoconfigured
root works...  now with a "/boot" partition holding /ofwboot & /netbsd i can
have a raidframe root without hard coding root at in my kernel.

Revision 1.54.4.7 / (download) - annotate - [select for diffs], Fri Jan 3 16:57:13 2003 UTC (21 years, 1 month ago) by thorpej
Branch: nathanw_sa
Changes since 1.54.4.6: +4 -4 lines
Diff to previous 1.54.4.6 (colored) to branchpoint 1.54 (colored)

Sync with HEAD.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jan 1 02:22:57 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

Use aprint_normal() for cfprint routines.

Revision 1.54.4.6 / (download) - annotate - [select for diffs], Sun Dec 29 19:41:07 2002 UTC (21 years, 1 month ago) by thorpej
Branch: nathanw_sa
Changes since 1.54.4.5: +4 -4 lines
Diff to previous 1.54.4.5 (colored) to branchpoint 1.54 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Dec 22 02:17:26 2002 UTC (21 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.68: +4 -4 lines
Diff to previous 1.68 (colored)

change what 'hw.model' reports to be more inline with other netbsd ports, as
well as reporting the actual machine model & cpu, rather than first configured
CPU.  changes for two machines are:

old:
	hw.model = TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
	hw.model = SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU

new:
	hw.model = SUNW,SPARCstation-20 (TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU)
	hw.model = SUNW,Ultra-1 (SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU)

as per discussion on port-sparc & port-sparc64.

Revision 1.57.4.3 / (download) - annotate - [select for diffs], Fri Nov 15 00:37:43 2002 UTC (21 years, 3 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.57.4.2: +8 -3 lines
Diff to previous 1.57.4.2 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Pull up revision 1.68 (requested by mrg in ticket #959):
redo the previous:  it seems that the 2nd prom address value is ignored/useless
(it seems to be always zero), and that the channel & drive are encoded into the
first value as "channel * 2 + drive", so, look for this.

Revision 1.57.4.2 / (download) - annotate - [select for diffs], Fri Nov 15 00:32:33 2002 UTC (21 years, 3 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.57.4.1: +3 -2 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored)

Pull up revision 1.67 (requested by mrg in ticket #959):
match channel & disk when trying to determine if this IDE disk is the boot device.
now we can boot from any IDE disk on the system.

Revision 1.54.4.5 / (download) - annotate - [select for diffs], Mon Nov 11 22:04:52 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.54.4.4: +8 -2 lines
Diff to previous 1.54.4.4 (colored) to branchpoint 1.54 (colored)

Catch up to -current

Revision 1.68 / (download) - annotate - [select for diffs], Sun Nov 3 01:54:45 2002 UTC (21 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.67: +8 -3 lines
Diff to previous 1.67 (colored)

redo the previous:  it seems that the 2nd prom address value is ignored/useless
(it seems to be always zero), and that the channel & drive are encoded into the
first value as "channel * 2 + drive", so, look for this.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Nov 2 13:49:15 2002 UTC (21 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored)

match channel & disk when trying to determine if this IDE disk is the boot device.
now we can boot from any IDE disk on the system.

Revision 1.54.4.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:40:07 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.54.4.3: +31 -57 lines
Diff to previous 1.54.4.3 (colored) to branchpoint 1.54 (colored)

Catch up to -current.

Revision 1.48.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:36:38 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.48.2.3: +31 -57 lines
Diff to previous 1.48.2.3 (colored) next main 1.49 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.66 / (download) - annotate - [select for diffs], Wed Oct 2 16:02:20 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Oct 1 18:40:09 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.64: +3 -4 lines
Diff to previous 1.64 (colored)

Use CFATTACH_DECL().

Revision 1.64 / (download) - annotate - [select for diffs], Sun Sep 29 04:12:02 2002 UTC (21 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.63: +22 -47 lines
Diff to previous 1.63 (colored)

remove some vestigial FPU and cache code that's not need on ultrasparcs.
misc tidiness.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Sep 27 20:36:15 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Declare all cfattach structures const.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:50 2002 UTC (21 years, 5 months ago) by provos
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:25 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

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.60 / (download) - annotate - [select for diffs], Wed Sep 25 22:21:22 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored)

Don't include <sys/map.h>.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Sep 24 17:18:45 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored)

Fix some const warnings.

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Mon Jul 15 01:21:45 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.57.2.1: +1359 -0 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

catch up with -current.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:42:14 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.48.2.2: +114 -38 lines
Diff to previous 1.48.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.54.4.3 / (download) - annotate - [select for diffs], Thu Jun 20 03:41:26 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.54.4.2: +114 -38 lines
Diff to previous 1.54.4.2 (colored) to branchpoint 1.54 (colored)

Catch up to -current.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Wed Jun 5 04:07:28 2002 UTC (21 years, 8 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Changes since 1.57: +114 -38 lines
Diff to previous 1.57 (colored)

Pull up revision 1.58 (requested by eeh in ticket #155):
Make the code that matches boot devices much more flexible so it handles
device classes as well as funny names for matching.  This should allow
us to properly recognize we're booted from a SCSI disk on a PCI controller.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jun 4 14:44:34 2002 UTC (21 years, 8 months ago) by eeh
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.57: +114 -38 lines
Diff to previous 1.57 (colored)

Make the code that matches boot devices much more flexible so it handles
device classes as well as funny names for matching.  This should allow
us to properly recognize we're booted from a SCSI disk on a PCI controller.

Revision 1.57.2.1, Thu May 16 01:01:41 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.57: +0 -1283 lines
FILE REMOVED

file autoconf.c was added on branch gehenna-devsw on 2002-07-15 01:21:45 +0000

Revision 1.57 / (download) - annotate - [select for diffs], Thu May 16 01:01:41 2002 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.56: +1 -2 lines
Diff to previous 1.56 (colored)

* Add "pcitag_t *pba_bridgetag" to pci_attach_args.  This is set to
  NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.

Revision 1.56 / (download) - annotate - [select for diffs], Mon May 6 22:20:57 2002 UTC (21 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

Recognize `ofpci' as a PCI bus.

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Tue Mar 26 17:16:33 2002 UTC (21 years, 11 months ago) by eeh
Branch: eeh-devprop
Changes since 1.55: +69 -12 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Implement dev_mdgetprop().

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:49:24 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.48.2.1: +26 -43 lines
Diff to previous 1.48.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.54.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:28:00 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.54.4.1: +1283 -0 lines
Diff to previous 1.54.4.1 (colored) to branchpoint 1.54 (colored)

Catch up to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Dec 2 22:54:27 2001 UTC (22 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base
Branch point for: eeh-devprop
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (colored)

Convert to new ata/atapi attach structs.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Thu Oct 11 00:01:55 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.51.2.1: +11 -29 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.54.4.1, Fri Oct 5 21:52:43 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.54: +0 -1282 lines
FILE REMOVED

file autoconf.c was added on branch nathanw_sa on 2002-01-08 00:28:00 +0000

Revision 1.54 / (download) - annotate - [select for diffs], Fri Oct 5 21:52:43 2001 UTC (22 years, 4 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Branch point for: nathanw_sa
Changes since 1.53: +10 -29 lines
Diff to previous 1.53 (colored)

Make OF_interpret() handle input and output arguments.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Oct 5 15:28:28 2001 UTC (22 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

include <machine/bsd_openprom.h> to make this compile with RASTERCONSOLE

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:42:30 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.51: +13 -13 lines
Diff to previous 1.51 (colored)

Catch up with -current.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Sep 26 20:53:12 2001 UTC (22 years, 5 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-devvp-base2
Changes since 1.51: +13 -13 lines
Diff to previous 1.51 (colored)

getprop* -> PROM_getprop*

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:28 2001 UTC (22 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.48: +79 -91 lines
Diff to previous 1.48 (colored)

update to -current

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jul 24 19:32:11 2001 UTC (22 years, 7 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.50: +32 -81 lines
Diff to previous 1.50 (colored)

Garbage collect.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jul 23 03:45:38 2001 UTC (22 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored)

Fix bootpath checks on machines with simbas.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 19 23:40:36 2001 UTC (22 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.48: +47 -11 lines
Diff to previous 1.48 (colored)

Add 'ide' to the IPL table and fix things so we don't rely on the PROM
mapping things in for us.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:36:10 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.43: +13 -34 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Catch up to -current.

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

add missing   #include "opt_kgdb.h"

Revision 1.47 / (download) - annotate - [select for diffs], Fri May 18 23:32:48 2001 UTC (22 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.46: +4 -1 lines
Diff to previous 1.46 (colored)

notice siop boot devices.

Revision 1.46 / (download) - annotate - [select for diffs], Fri May 18 21:53:26 2001 UTC (22 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.45: +2 -29 lines
Diff to previous 1.45 (colored)

kill dead code.

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 10 23:11:53 2001 UTC (22 years, 9 months ago) by petrov
Branch: MAIN
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

john heasley patch <heas@shrubbery.net>, PR port-sparc/12885
added PROM name translations for hme and fas

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 25 17:53:24 2001 UTC (22 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored)

Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Wed Mar 14 09:01:43 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22.2.3: +3 -5 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Make it compile again.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Sun Feb 11 19:12:33 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22.2.2: +7 -6 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Feb 11 00:27:06 2001 UTC (23 years ago) by eeh
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored)

Save the machine model string in case someone needs it (like slowlaris).

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Mon Jan 22 18:25:15 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22.2.1: +8 -6 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

first cut at converting to thorpej_scsipi

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jan 22 13:56:59 2001 UTC (23 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.41: +4 -5 lines
Diff to previous 1.41 (colored)

Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:26:50 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22: +205 -137 lines
Diff to previous 1.22 (colored)

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.41 / (download) - annotate - [select for diffs], Wed Oct 4 23:05:08 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.40: +11 -5 lines
Diff to previous 1.40 (colored)

bootpath_build(): implement slighly more clever algorith to find boot
flags in the bootpath: only treat the rest as boot flags if the '-'
follows whitespace (space or tab)

This should fix the "boot disk4 netbsd-20001004-RFHS8036" lossage
Hubert Feyer pointed out in private e-mail.

Tested by: jdolecek (userland version)
Reviewed by: eeh

Revision 1.40 / (download) - annotate - [select for diffs], Wed Sep 27 18:16:01 2000 UTC (23 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored)

Fix for prev (define fl).

Revision 1.39 / (download) - annotate - [select for diffs], Sun Sep 24 12:32:39 2000 UTC (23 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.38: +13 -22 lines
Diff to previous 1.38 (colored)

add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Sun Aug 13 09:09:30 2000 UTC (23 years, 6 months ago) by jdolecek
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.31.2.2: +1 -5 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

pullup from trunk (approved by thorpej):
retire RB_DFLTROOT, it's no longer used

revisions pulled up:
arch/i386/stand/lib/netbsd_opts.c	1.3
arch/i386/stand/biosboot/main.c		1.23
arch/i386/stand/dosboot/main.c		1.15
arch/i386/stand/netboot/main.c		1.6
arch/arc/arc/machdep.c			1.42
arch/bebox/stand/boot/boot.c		1.11
arch/hpcmips/hpcmips/machdep.c		1.32
arch/newsmips/newsmips/machdep.c	1.45
arch/pc532/stand/boot/boot.c		1.2
arch/pmax/pmax/machdep.c		1.178
arch/prep/stand/boot/boot.c		1.2
arch/sparc/sparc/autoconf.c		1.141
arch/sparc64/sparc64/autoconf.c		1.38
arch/x68k/stand/loadbsd/loadbsd.c	1.5
arch/mvme68k/stand/libsa/parse_args.c	1.6
compat/osf1/osf1_cvt.c			1.9
sys/reboot.h				1.17

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Mon Jul 31 02:07:46 2000 UTC (23 years, 6 months ago) by mrg
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.31.2.1: +3 -2 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

pull up 1.37 (approved by thorpej)
>For now, alias `network' to `hme'.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jul 29 20:06:29 2000 UTC (23 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.37: +1 -5 lines
Diff to previous 1.37 (colored)

g/c RB_DFLTROOT

I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 20 16:29:03 2000 UTC (23 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

For now, alias `network' to `hme'.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Jul 18 16:23:24 2000 UTC (23 years, 7 months ago) by mrg
Branch: netbsd-1-5
Changes since 1.31: +66 -18 lines
Diff to previous 1.31 (colored)

pullup the contents of -current arch/sparc64.  this gives us significant
ultrasparc PCI support (ultra5, ultra10, AXi, and E250 tested so far),
plus many other small fixes.  netbooting is now supported.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 7 12:44:47 2000 UTC (23 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: mrg-merge-1-5-top
Changes since 1.35: +39 -7 lines
Diff to previous 1.35 (colored)

check that this *entry* is BUSCLASS_NONE (not the current device) in
bus_compatible().  fixes boot device detection on sbus.  while i'm here,
sprinkle DPRINTF()s in the boot device detection code.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 3 14:38:05 2000 UTC (23 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.34: +21 -13 lines
Diff to previous 1.34 (colored)

- add a bus class check to the conversion of prom names to NetBSD driver
names, as we need to convert `pci' to both `psycho' and `simba'.  add
a member to dev_compat_table[] for this, using BUSCLASS_NONE for when
we don't care (all other cases, currently).  add `ide' -> `pciide' and
`disk' -> `wd' mappings here, also.
- "psycho" is a BUSCLASS_MAINBUS device; it has UPA attachment semantics.


this fixes bootpath detection for IDE disks.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 29 07:37:57 2000 UTC (23 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jun 24 20:48:39 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

With these changes the kernel seems almost stable again.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jun 24 04:42:55 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.31: +8 -1 lines
Diff to previous 1.31 (colored)

Add PROM symbols to 32-bit kernels too.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:04:28 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.30: +2 -14 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 19 23:30:34 2000 UTC (23 years, 8 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.30: +2 -14 lines
Diff to previous 1.30 (colored)

Have separate data and text segments, make text read-only.

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 19 05:26:18 2000 UTC (23 years, 9 months ago) by eeh
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.29: +7 -1 lines
Diff to previous 1.29 (colored)

Fix the sparc64 console.

Unlike the other Sun machines, UltraSPARCs can have consoles run on different
chips than zs, so we need to support them.  So, here we go:

	Add a new PROM console driver with a major number and everything.
	This is the default driver if nothing else attaches.  It does not
	use the keyboard driver since the PROM translates keystrokes itself.
	(Unfortunately it also swallows L1-A).

	Have the keyboard driver take over the console when it attaches on a
	serial port.  When a serial port detects a keyboard and attaches the
	keyboard driver, it needs to provide a set of consdev vectors.  They
	keyboard driver will use those to send I/O to the keyboard and mouse.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Apr 12 11:40:12 2000 UTC (23 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.28: +2 -3 lines
Diff to previous 1.28 (colored)

Ignore unknown devices on mainbus.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Apr 12 00:47:10 2000 UTC (23 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

deja vu: add "struct device *booted_device;" so raidframe links.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 16 02:37:00 2000 UTC (23 years, 11 months ago) by eeh
Branch: MAIN
Changes since 1.26: +11 -2 lines
Diff to previous 1.26 (colored)

Revamp interrupts again:

	Fix a bug causing interrmittent panics in interrupt dispatch.
	Use interrupt vectors for softints.
	Add a new send_softint interface.
	Improved D$ flushing.
	Improve traptrace and other debugging enhancements.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 16 03:10:58 2000 UTC (24 years, 1 month ago) by eeh
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

The bootpath element must point to the appropriate bus node to work correctly.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 14 14:57:27 2000 UTC (24 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.24: +104 -111 lines
Diff to previous 1.24 (colored)

Remove old-style boot device recognition.
Sync device_register() et. al. with sparc/sparc/autoconf.c

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:58 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.22: +31 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up to last week's -current.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Nov 21 11:47:51 1999 UTC (24 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

Avoid unused symbol warnings when not using DDB.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:39:28 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.22: +29 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with -current

Revision 1.23 / (download) - annotate - [select for diffs], Mon Nov 8 05:05:26 1999 UTC (24 years, 3 months ago) by eeh
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.22: +29 -4 lines
Diff to previous 1.22 (colored)

Fix boot device detection code.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 17 20:07:15 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)

Centralize the declaration and clearing of `cold'.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Sep 15 18:10:42 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Aug 23 22:29:40 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

Garbage-collect reference to <sys/dmap.h>.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:02:34 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.13: +44 -263 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync w/ -current.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 7 20:16:13 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

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.18 / (download) - annotate - [select for diffs], Fri Jun 4 13:55:37 1999 UTC (24 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.17: +41 -52 lines
Diff to previous 1.17 (colored)

GC dead code.  add support for PCI and IDE boot device detection, plus hme ethernet.
should probably deal with be and qe, etc.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 30 19:13:34 1999 UTC (24 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

Add code to support using %tick as the system clock if no "counter-timer" node
is found.

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 23 02:45:20 1999 UTC (24 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

Start putting in hooks for non-zs console devices.

Revision 1.15 / (download) - annotate - [select for diffs], Sat May 22 20:33:55 1999 UTC (24 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

Well, looks like the MI allocsys() broke the dvmamap, so instead of using a
single map move it to the bus controller driver so each bus can handle its own
IOMMU without conflicts.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 25 16:18:46 1999 UTC (24 years, 10 months ago) by eeh
Branch: MAIN
Changes since 1.13: +1 -209 lines
Diff to previous 1.13 (colored)

Garbage collect some old stuff.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 18 03:23:53 1999 UTC (24 years, 11 months ago) by eeh
Branch: 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, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.12: +5 -96 lines
Diff to previous 1.12 (colored)

Some devices don't have a `device-type' property we can use to allocate
an IPL.  Check for those by name.  Give the rest a default IPL of 2.
(Added `SUNW,CS4231' to the list.)

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 31 09:21:18 1999 UTC (25 years ago) by mrg
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

retire _LP64; use compiler provided __arch64__, but still defined _LP64 where we used to anyway.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 9 23:23:47 1999 UTC (25 years, 1 month ago) by eeh
Branch: MAIN
Changes since 1.10: +252 -10 lines
Diff to previous 1.10 (colored)

New style bootpath propagation to match the sparc port.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 4 20:22:37 1998 UTC (25 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Pass the symbol table size, like a.out.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 6 18:58:09 1998 UTC (25 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.8: +17 -1 lines
Diff to previous 1.8 (colored)

Move the "XXX re-zero proc0 user area" to the end of configure(), before
interrupts are enabled.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 5 23:57:26 1998 UTC (25 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.7: +10 -7 lines
Diff to previous 1.7 (colored)

It slices.  It dices.  It does everything except exec a sparc32_compat init.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 5 17:43:18 1998 UTC (25 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.6: +2 -10 lines
Diff to previous 1.6 (colored)

Use auto-generated `dev_name2blk[]'.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 5 16:23:08 1998 UTC (25 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.5: +22 -40 lines
Diff to previous 1.5 (colored)

Nuke temporary `getpropA()'.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 2 05:51:38 1998 UTC (25 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.4: +40 -21 lines
Diff to previous 1.4 (colored)

Periodic update: now starts probing devices.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 30 15:32:17 1998 UTC (25 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Some more 64-bit cleanup.  Now everything compiles.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:45 1998 UTC (25 years, 6 months ago) by eeh
Branch: MAIN
CVS Tags: PMAP32
Changes since 1.2: +5 -6 lines
Diff to previous 1.2 (colored)

Merge paddr_t changes into the main branch.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Aug 2 00:06:49 1998 UTC (25 years, 6 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.2.2.1: +5 -5 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Cleanup work:

	Sync up with sys/dev/sbus
	get cgsix to work right

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:03:54 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:41 1998 UTC (25 years, 7 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

defopt DDB.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Jun 20 04:58:52 1998 UTC (25 years, 8 months ago) by eeh
Branch: eeh
CVS Tags: eeh-19980609
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import of sparc64.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 20 04:58:52 1998 UTC (25 years, 8 months ago) by eeh
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>