The NetBSD Project

CVS log for src/sys/arch/x86/x86/x86_autoconf.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.87 / (download) - annotate - [select for diffs], Sat Mar 19 13:51:35 2022 UTC (2 years ago) by hannken
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.86: +6 -4 lines
Diff to previous 1.86 (colored) to selected 1.35.8.2 (colored)

Fix locking after opendisk(), VOP_IOCTL() needs an unlocked vnode,
vn_rdwr() needs flag IO_NODELOCKED.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Feb 12 03:24:35 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored) to selected 1.35.8.2 (colored)

sys: Fix various abuse of struct device internals.

Will help to make struct device opaque later.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Oct 7 12:52:27 2021 UTC (2 years, 5 months ago) by msaitoh
Branch: MAIN
Changes since 1.84: +10 -10 lines
Diff to previous 1.84 (colored) to selected 1.35.8.2 (colored)

KNF. No functional change.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Jul 9 22:45:54 2020 UTC (3 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored) to selected 1.35.8.2 (colored)

Adapt to proplib api changes

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jul 7 16:14:23 2020 UTC (3 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.82: +9 -9 lines
Diff to previous 1.82 (colored) to selected 1.35.8.2 (colored)

whitelist -> permitlist

Revision 1.82 / (download) - annotate - [select for diffs], Sat May 2 16:44:36 2020 UTC (3 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.81: +10 -2 lines
Diff to previous 1.81 (colored) to selected 1.35.8.2 (colored)

Introduce Xen PVH support in GENERIC.
This is compiled in with
options XENPVHVM
x86 changes:
- add Xen section and xen pvh entry points to locore.S. Set vm_guest
  to VM_GUEST_XENPVH in this entry point.
  Most of the boot procedure (especially page table setup and switch to
  paged mode) is shared with native.
- change some x86_delay() to delay_func(), which points to x86_delay() for
  native/HVM, and xen_delay() for PVH

Xen changes:
- remove Xen bits from init_x86_64_ksyms() and init386_ksyms()
  and move to xen_init_ksyms(), used for both PV and PVH
- set ISA no-legacy-devices property for PVH
- factor out code from Xen's cpu_bootconf() to xen_bootconf()
  in xen_machdep.c
- set up a specific pvh_consinit() which starts with printk()
  (which uses a simple hypercall that is available early) and switch to
  xencons when we can use pmap_kenter_pa().

Revision 1.81 / (download) - annotate - [select for diffs], Tue Apr 28 15:43:34 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.80: +3 -2 lines
Diff to previous 1.80 (colored) to selected 1.35.8.2 (colored)

Add xbd to the list of valid disks.
Remove hardcoded root on xbd0 for Xen PVHVM, now that the x86 findroot()
knowns about xbd disks.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) to selected 1.35.8.2 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.79.6.1 / (download) - annotate - [select for diffs], Thu Apr 16 09:45:57 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) next main 1.80 (colored) to selected 1.35.8.2 (colored)

More #ifndef XEN -> #ifndef XENPV

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:12 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.77.2.1: +3 -6 lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored) to selected 1.35.8.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.79 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:34 2019 UTC (4 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.78: +3 -6 lines
Diff to previous 1.78 (colored) to selected 1.35.8.2 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.75.8.1 / (download) - annotate - [select for diffs], Wed Jun 12 10:17:32 2019 UTC (4 years, 9 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.75: +12 -2 lines
Diff to previous 1.75 (colored) next main 1.76 (colored) to selected 1.35.8.2 (colored)

Pull up following revision(s) (requested by nonaka in ticket #1280):

	sys/arch/x86/x86/consinit.c: revision 1.29
	sys/dev/hyperv/vmbusvar.h: revision 1.2
	sys/dev/hyperv/genfb_vmbusvar.h: revision 1.1
	sys/arch/x86/x86/x86_autoconf.c: revision 1.78
	sys/arch/x86/x86/identcpu.c: revision 1.91
	sys/arch/x86/x86/hyperv.c: revision 1.2
	sys/arch/x86/x86/hyperv.c: revision 1.3
	sys/arch/x86/x86/hyperv.c: revision 1.4
	sys/arch/i386/conf/GENERIC: revision 1.1207
	sys/dev/wscons/wsconsio.h: revision 1.123
	sys/arch/x86/x86/hypervvar.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.528
	sys/dev/hyperv/files.hyperv: revision 1.2
	sys/arch/x86/include/autoconf.h: revision 1.6
	sys/dev/hyperv/hyperv_common.c: revision 1.2
	sys/arch/xen/x86/autoconf.c: revision 1.23
	sys/arch/x86/pci/pci_machdep.c: revision 1.86
	sys/dev/hyperv/hvkbd.c: revision 1.1
	sys/dev/hyperv/hypervvar.h: revision 1.2
	sys/dev/acpi/vmbus_acpi.c: revision 1.2
	sys/dev/hyperv/vmbus.c: revision 1.3
	sys/dev/hyperv/hvkbdvar.h: revision 1.1
	sys/dev/hyperv/genfb_vmbus.c: revision 1.1

Added drivers for Hyper-V Synthetic Keyboard and Video device.

Avoid undefined reference to `hyperv_guid_video' without vmbus(4).

Avoid undefined reference to `hyperv_is_gen1' without hyperv(4).

Use efi_probe().

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:54 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.77: +12 -2 lines
Diff to previous 1.77 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Fri May 24 14:28:48 2019 UTC (4 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: phil-wifi-20190609, 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
Changes since 1.77: +12 -2 lines
Diff to previous 1.77 (colored) to selected 1.35.8.2 (colored)

Added drivers for Hyper-V Synthetic Keyboard and Video device.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:47 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.76: +34 -2 lines
Diff to previous 1.76 (colored) next main 1.77 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 7 13:35:31 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.76: +34 -2 lines
Diff to previous 1.76 (colored) to selected 1.35.8.2 (colored)

In device_register(), if the device is an "iic" child of "imcsmb",
attach a I2C_PROP_INDIRECT_DEVICE_WHITELIST property that limits
the allowed devices to "spdmem" and "sdtemp".  Also set the
I2C_PROP_INDIRECT_PROBE_STRATEGY property to I2C_PROBE_STRATEGY_NONE,
since that controller can't issue any of the "quick" commands.

XXX It would be nice to be able to do this in the imcsmb driver
itself, but the way autoconfiguration works makes that infeasible.

Revision 1.65.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:51 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.65.2.3: +28 -11 lines
Diff to previous 1.65.2.3 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored) to selected 1.35.8.2 (colored)

update from HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Thu Nov 9 01:02:56 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.75: +16 -9 lines
Diff to previous 1.75 (colored) to selected 1.35.8.2 (colored)

add a "booted_method" string to aid in debugging double boot matches.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:06 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.74: +4 -2 lines
Diff to previous 1.74 (colored) next main 1.75 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:37 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.72.2.1: +7 -5 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.75 / (download) - annotate - [select for diffs], Wed Sep 21 00:00:07 2016 UTC (7 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.74: +4 -2 lines
Diff to previous 1.74 (colored) to selected 1.35.8.2 (colored)

Set hw.acpi.sleep.vbios when a non-HW accelerated VGA driver attaches.
If the VGA_POST option is present in the kernel the default value is 2,
otherwise 1. PR kern/50781

Reviewed by:    agc, mrg

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:04 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.72: +14 -5 lines
Diff to previous 1.72 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Sun May 10 22:21:38 2015 UTC (8 years, 10 months ago) by mlelstv
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, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.73: +5 -3 lines
Diff to previous 1.73 (colored) to selected 1.35.8.2 (colored)

Don't report EINVAL errors when searching the bootwedge, this error
is most likely the result of reading beyond the end of the wrong disk.

Revision 1.73 / (download) - annotate - [select for diffs], Sun May 10 22:18:58 2015 UTC (8 years, 10 months ago) by mlelstv
Branch: MAIN
Changes since 1.72: +9 -2 lines
Diff to previous 1.72 (colored) to selected 1.35.8.2 (colored)

If BTINFO_ROOTDEVICE is set but isn't a device name, then treat it
as a root specification. This allows strings like wedge:wedgename.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Thu Oct 30 12:14:37 2014 UTC (9 years, 4 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-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.71: +2 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.35.8.2 (colored)

Pull up following revision(s) (requested by maxv in ticket #165):
	sys/arch/newsmips/stand/boot/netif_news.c: revision 1.9
	sys/arch/mvme68k/stand/installboot/installboot.c: revision 1.19
	sys/arch/arm/arm32/pmap.c: revision 1.300
	sys/arch/amiga/dev/siop2.c: revision 1.43
	sys/arch/amiga/amiga/disksubr.c: revision 1.62
	sys/arch/news68k/news68k/bus_space.c: revision 1.13
	sys/arch/amiga/dev/siop.c: revision 1.69
	sys/arch/x86/x86/x86_autoconf.c: revision 1.72
Remove dead code in various places under arch/.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Sep 21 16:52:26 2014 UTC (9 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.71: +2 -3 lines
Diff to previous 1.71 (colored) to selected 1.35.8.2 (colored)

remove stray continue.

Revision 1.65.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.65.2.2: +104 -81 lines
Diff to previous 1.65.2.2 (colored) to branchpoint 1.65 (colored) to selected 1.35.8.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:11 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.70: +13 -12 lines
Diff to previous 1.70 (colored) next main 1.71 (colored) to selected 1.35.8.2 (colored)

Rebase.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jun 10 22:01:40 2014 UTC (9 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.70: +13 -12 lines
Diff to previous 1.70 (colored) to selected 1.35.8.2 (colored)

centralize the double match warning.

Revision 1.62.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:14 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.62.2.2: +101 -76 lines
Diff to previous 1.62.2.2 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.35.8.2 (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.68.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:30 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.68: +95 -73 lines
Diff to previous 1.68 (colored) next main 1.69 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.70 / (download) - annotate - [select for diffs], Thu Apr 3 15:21:52 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: tls-earlyentropy
Changes since 1.69: +12 -5 lines
Diff to previous 1.69 (colored) to selected 1.35.8.2 (colored)

- prevent matchbiosdisks from being called twice. This could happen
  via raid autoconf calling cpu_rootconf() once and then init main
  calling cpu_rootconf() a second time.
- separate booted_device setup into cpu_bootconf(), a new optional function.
  This function can be called before raid autoconfiguration to determine
  the booted device. This needs to be done before raid autoconfiguration,
  otherwise if we are using wedges, the raid will autoconfigure wedges,
  and we'll be unable to open the underlying devices later to determine
  the booted device.
- fix a debugging comment.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Apr 2 02:14:08 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.68: +86 -71 lines
Diff to previous 1.68 (colored) to selected 1.35.8.2 (colored)

- tidy up debugging

Revision 1.62.8.4 / (download) - annotate - [select for diffs], Thu Nov 7 20:35:16 2013 UTC (10 years, 4 months ago) by snj
Branch: netbsd-6
Changes since 1.62.8.3: +8 -5 lines
Diff to previous 1.62.8.3 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.35.8.2 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #977):
	sys/arch/x86/x86/x86_autoconf.c: revision 1.67
If we have both wedge and partition info, use the partition info in the
wedge case too. From mlelstv.
XXX: pullup-6

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:14 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.65.2.1: +9 -6 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored) to selected 1.35.8.2 (colored)

resync from head

Revision 1.68 / (download) - annotate - [select for diffs], Thu May 16 19:06:45 2013 UTC (10 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored) to selected 1.35.8.2 (colored)

Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Apr 28 14:32:55 2013 UTC (10 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.66: +8 -5 lines
Diff to previous 1.66 (colored) to selected 1.35.8.2 (colored)

If we have both wedge and partition info, use the partition info in the
wedge case too. From mlelstv.
XXX: pullup-6

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:05 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) to selected 1.35.8.2 (colored)

resync with head

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:00 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.62.2.1: +3 -3 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Sat Dec 29 21:57:13 2012 UTC (11 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) to selected 1.35.8.2 (colored)

don't leak a vnode on error

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:35 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.62: +26 -28 lines
Diff to previous 1.62 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.62.8.3 / (download) - annotate - [select for diffs], Wed Aug 8 15:51:08 2012 UTC (11 years, 7 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.62.8.2: +3 -3 lines
Diff to previous 1.62.8.2 (colored) to branchpoint 1.62 (colored) to selected 1.35.8.2 (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.65 / (download) - annotate - [select for diffs], Sun Jul 29 18:05:47 2012 UTC (11 years, 8 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) to selected 1.35.8.2 (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.62.8.2 / (download) - annotate - [select for diffs], Fri Jul 20 23:57:38 2012 UTC (11 years, 8 months ago) by riz
Branch: netbsd-6
Changes since 1.62.8.1: +11 -5 lines
Diff to previous 1.62.8.1 (colored) to branchpoint 1.62 (colored) to selected 1.35.8.2 (colored)

Pull up following revision(s) (requested by mhitch in ticket #429):
	sys/arch/x86/x86/x86_autoconf.c: revision 1.64
fix the comparison to determine if a biosdev is a cdrom (from mhitch)

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jul 13 16:31:49 2012 UTC (11 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.63: +11 -5 lines
Diff to previous 1.63 (colored) to selected 1.35.8.2 (colored)

fix the comparison to determine if a biosdev is a cdrom (from mhitch)

Revision 1.62.8.1 / (download) - annotate - [select for diffs], Thu Jul 5 18:12:47 2012 UTC (11 years, 8 months ago) by riz
Branch: netbsd-6
Changes since 1.62: +17 -25 lines
Diff to previous 1.62 (colored) to selected 1.35.8.2 (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.63 / (download) - annotate - [select for diffs], Sun Jun 10 17:05:18 2012 UTC (11 years, 9 months ago) by mlelstv
Branch: MAIN
Changes since 1.62: +17 -25 lines
Diff to previous 1.62 (colored) to selected 1.35.8.2 (colored)

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

Revision 1.62 / (download) - annotate - [select for diffs], Tue Oct 18 23:43:36 2011 UTC (12 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.61: +11 -261 lines
Diff to previous 1.61 (colored) to selected 1.35.8.2 (colored)

Factor device_isa_register() and device_pci_register() out of
device_register() and stick the new routines into isa_machdep.c and
pci_machdep.c, respectively.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Sep 19 10:03:32 2011 UTC (12 years, 6 months ago) by gsutre
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.35.8.2 (colored)

PR/38356: Minoura Makoto: Use the device's unit (instead of autoconf's)
to match the bootinfo root device.

Fixes multiboot(8) root= option as well as GRUB knetbsd --root option.

Revision 1.35.8.5 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:31 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35.8.4: +6 -5 lines
Diff to previous 1.35.8.4 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jul 2 13:09:31 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.59: +6 -5 lines
Diff to previous 1.59 (colored) to selected 1.35.8.2 (colored)

insert some (uintptr_t) between some casts involving pointer to int.
(they already had casts for the pointer.)

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:10 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.53: +69 -8 lines
Diff to previous 1.53 (colored) next main 1.54 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:33 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.50.2.1: +11 -1 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.35.8.4 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:54 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.35.8.3: +71 -11 lines
Diff to previous 1.35.8.3 (colored) to branchpoint 1.35 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 8 02:57:00 2011 UTC (13 years ago) by macallan
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.58: +13 -3 lines
Diff to previous 1.58 (colored) to selected 1.35.8.2 (colored)

if we know the framebuffer's virtual address pass it to the fb driver

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:32 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.50: +74 -10 lines
Diff to previous 1.50 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.53.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:10 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.53.4.2: +3 -3 lines
Diff to previous 1.53.4.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Tue Feb 22 06:33:33 2011 UTC (13 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.35.8.2 (colored)

vga_posth should be inside NPCI > 0; from Jarle Greipsland in PR 43449.

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:06 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.53.4.1: +41 -7 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Sat Feb 12 19:20:44 2011 UTC (13 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.56: +22 -7 lines
Diff to previous 1.56 (colored) to selected 1.35.8.2 (colored)

x86 genfb: when switching back to the console, if vga_post is present use it
to reset the video mode. gives us a chance of survival if the X server
crashes or the video driver fails to restore the console properly.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Feb 9 15:02:00 2011 UTC (13 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored) to selected 1.35.8.2 (colored)

Fix build when GENFB is not there.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Feb 9 13:24:24 2011 UTC (13 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.54: +19 -2 lines
Diff to previous 1.54 (colored) to selected 1.35.8.2 (colored)

if genfb is attached, hook into db_trap_callback to switch in and out of
polling mode as necessary

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:45 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.53: +19 -2 lines
Diff to previous 1.53 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Tue Feb 8 10:52:56 2011 UTC (13 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.53: +19 -2 lines
Diff to previous 1.53 (colored) to selected 1.35.8.2 (colored)

add a 'setmode' callback to genfb and use it to setup write-combining
MTRRs on x86 whenever switching to WSDISPLAYIO_MODE_EMUL

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jan 10 21:26:38 2011 UTC (13 years, 2 months ago) by jakllsch
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.52: +4 -5 lines
Diff to previous 1.52 (colored) to selected 1.35.8.2 (colored)

When we fail to read a block computing the matching hash,
it's nice to know what device and why.

Also, drop comment that hasn't been valid since 1.12.

Revision 1.35.8.3 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:20 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35.8.2: +51 -13 lines
Diff to previous 1.35.8.2 (colored) to branchpoint 1.35 (colored)

Sync with HEAD

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:43 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49.2.1: +14 -0 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD (-D20101022).

Revision 1.34.4.6 / (download) - annotate - [select for diffs], Sat Oct 9 03:31:58 2010 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.4.5: +16 -2 lines
Diff to previous 1.34.4.5 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Sat Aug 21 17:27:20 2010 UTC (13 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231
Changes since 1.51: +4 -2 lines
Diff to previous 1.51 (colored) to selected 1.35.8.2 (colored)

I guess people still attach com & lpt to isa, so don't skip legacy devices.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 21 17:10:03 2010 UTC (13 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.50: +14 -2 lines
Diff to previous 1.50 (colored) to selected 1.35.8.2 (colored)

If ACPI is active and the FADT reports no legacy devices present, set
the 'no-legacy-devices' property to true on isa0.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:40:00 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.35.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:46 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.35.8.2 (colored)

sync to netbsd-5

Revision 1.34.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:09 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.4.4: +68 -31 lines
Diff to previous 1.34.4.4 (colored) to branchpoint 1.34 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Wed Feb 24 22:37:55 2010 UTC (14 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored) to selected 1.35.8.2 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Sun Feb 14 13:35:44 2010 UTC (14 years, 1 month ago) by bouyer
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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.35.8.2 (colored)

Pull up following revision(s) (requested by hubertf in ticket #1290):
	sys/kern/kern_ksyms.c: revision 1.53
	sys/dev/pci/agp_via.c: revision 1.18
	sys/netipsec/key.c: revision 1.63
	sys/arch/x86/x86/x86_autoconf.c: revision 1.49
	sys/kern/init_main.c: revision 1.415
	sys/kern/cnmagic.c: revision 1.11
	sys/netipsec/ipsec.c: revision 1.47
	sys/arch/x86/x86/pmap.c: revision 1.100
	sys/netkey/key.c: revision 1.176
Replace more printfs with aprint_normal / aprint_verbose
Makes "boot -z" go mostly silent for me.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jan 31 00:43:37 2010 UTC (14 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored) to selected 1.35.8.2 (colored)

Replace more printfs with aprint_normal / aprint_verbose
Makes "boot -z" go mostly silent for me.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 8 19:43:26 2010 UTC (14 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored) to selected 1.35.8.2 (colored)

Expand PMF_FN_* macros.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Nov 25 19:46:19 2009 UTC (14 years, 4 months ago) by tron
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.46: +6 -2 lines
Diff to previous 1.46 (colored) to selected 1.35.8.2 (colored)

Fix build of kernels without PCI support like "GENERIC_TINY".

Revision 1.46 / (download) - annotate - [select for diffs], Fri Nov 6 23:10:22 2009 UTC (14 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.45: +29 -9 lines
Diff to previous 1.45 (colored) to selected 1.35.8.2 (colored)

Use deviter(9) instead of accessing alldevs directly.

Revision 1.35.8.2 / (download) - annotate - [selected], Sun Nov 1 13:58:19 2009 UTC (14 years, 4 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35.8.1: +85 -21 lines
Diff to previous 1.35.8.1 (colored) to branchpoint 1.35 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 21 13:23:43 2009 UTC (14 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.44: +33 -20 lines
Diff to previous 1.44 (colored) to selected 1.35.8.2 (colored)

set is_console even if we don't have any fb_info so other console drivers
than genfb have a chance of working.
Tested with radeonfb which works fine with an RV280
TODO: figure out how to deal with more than one PCI_CLASS_DISPLAY device in
      a halfway sane manner

Revision 1.34.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:44 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.4.3: +50 -3 lines
Diff to previous 1.34.4.3 (colored) to branchpoint 1.34 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 24 23:48:57 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (colored) to selected 1.35.8.2 (colored)

Don't reference genfb unless NGENFB > 0

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 24 11:35:27 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.42: +28 -4 lines
Diff to previous 1.42 (colored) to selected 1.35.8.2 (colored)

PR# port-i386/41929: genfb and machdep.acpi_vbios_reset=2 interaction

When acpi_vbios_reset=2, invoke vga_post_call followed by vga_post_set_mode
in the genfb pmf resume handler.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Aug 24 11:04:29 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.41: +24 -3 lines
Diff to previous 1.41 (colored) to selected 1.35.8.2 (colored)

Paranoia; restore the genfb colour map on resume.

Revision 1.34.4.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:52 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.4.2: +6 -2 lines
Diff to previous 1.34.4.2 (colored) to branchpoint 1.34 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 3 20:15:14 2009 UTC (14 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7
Changes since 1.40: +6 -2 lines
Diff to previous 1.40 (colored) to selected 1.35.8.2 (colored)

Only define x86_genfb_set_mapreg() and found_console when NPCI > 0
Fixes PR/41451

Revision 1.34.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:17 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.4.1: +3 -3 lines
Diff to previous 1.34.4.1 (colored) to branchpoint 1.34 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:45 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35: +73 -9 lines
Diff to previous 1.35 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

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

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 4 12:48:26 2009 UTC (14 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.35.8.2 (colored)

struct cfdata * -> cfdata_t

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:11 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34: +101 -8 lines
Diff to previous 1.34 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Fri May 1 09:20:02 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3
Changes since 1.38: +8 -8 lines
Diff to previous 1.38 (colored) to selected 1.35.8.2 (colored)

struct device * -> device_t

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:37 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.35: +66 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 17 11:16:10 2009 UTC (15 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base
Changes since 1.37: +8 -2 lines
Diff to previous 1.37 (colored) to selected 1.35.8.2 (colored)

x86_genfb_console_screen is only available if NWSDISPLAY > 0 and
NGENFB > 0, spotted by Geoff Wing.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Feb 17 02:21:13 2009 UTC (15 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.36: +7 -2 lines
Diff to previous 1.36 (colored) to selected 1.35.8.2 (colored)

Set clear-screen and cursor-row so the transition from the early console
driver and genfb is seamless. While we're here, clear the screen when
we first attach in case the bootloader scribbled on it.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Feb 16 22:29:33 2009 UTC (15 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.35: +55 -2 lines
Diff to previous 1.35 (colored) to selected 1.35.8.2 (colored)

Kernel-side modifications for framebuffer console support on i386 and amd64.

* New BTINFO_FRAMEBUFFER kernel parameter to pass screen configuration
* Early attach support for framebuffer console
* Pass BTINFO_FRAMEBUFFER parameters to genfb in device_register
* Provide hooks to genfb to set VGA DAC palette in 8bpp mode

Revision 1.33.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:38 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.33.6.1: +29 -0 lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Wed Nov 5 20:34:12 2008 UTC (15 years, 4 months ago) by snj
Branch: netbsd-4
Changes since 1.24: +30 -1 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.35.8.2 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #1220):
	sys/arch/x86/x86/x86_autoconf.c: revision 1.35 via patch
If no booted_device is found in find_root(), also check CD-ROM boot
with strategy bootloader does.  This allows one CD system with cd9660
root file system and mfs (like a restorecd for cobalt) using GENERIC.
No objection on port-i386, and no bad side effect on usual harddisk boot
or installation of GENERIC with miniroot module.

Revision 1.34.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:08 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.34: +31 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 14 15:48:44 2008 UTC (15 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.34: +31 -2 lines
Diff to previous 1.34 (colored) to selected 1.35.8.2 (colored)

If no booted_device is found in find_root(), also check CD-ROM boot
with strategy bootloader does.  This allows one CD system with cd9660
root file system and mfs (like a restorecd for cobalt) using GENERIC.

No objection on port-i386, and no bad side effect on usual harddisk boot
or installation of GENERIC with miniroot module.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:52 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.33: +15 -13 lines
Diff to previous 1.33 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 16 16:06:52 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42-X, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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
Branch point for: yamt-nfs-mp, haad-dm
Changes since 1.33: +15 -13 lines
Diff to previous 1.33 (colored) to selected 1.35.8.2 (colored)

- use aprint_*_dev and device_xname
- use POSIX integer types

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:28 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.29.2.2: +3 -46 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.35.8.2 (colored)

sync with HEAD

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:29 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.4: +3 -46 lines
Diff to previous 1.4.2.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:17 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.30.2.1: +3 -46 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Feb 12 18:22:39 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.32: +2 -40 lines
Diff to previous 1.32 (colored) to selected 1.35.8.2 (colored)

Garbage collect the remaining parts of COMPAT_OLDBOOT. The boot loader
support has been removed at least 4 years ago and NetBSD 1.3 is ancient.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Feb 12 17:30:58 2008 UTC (16 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.31: +6 -11 lines
Diff to previous 1.31 (colored) to selected 1.35.8.2 (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.29.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:01 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.29.2.1: +6 -6 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) to selected 1.35.8.2 (colored)

sync with HEAD

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:15 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:03 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.3: +6 -6 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.25.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:23 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.25.2.2: +6 -6 lines
Diff to previous 1.25.2.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.26.8.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:35:58 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.26.8.1: +6 -6 lines
Diff to previous 1.26.8.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:26 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored) to selected 1.35.8.2 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:56 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.35.8.2 (colored)

sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:18 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.35.8.2 (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.25.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:48 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.25.2.1: +8 -14 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) to selected 1.35.8.2 (colored)

Sync with head.

Revision 1.25.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:57 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.25.10.1: +8 -14 lines
Diff to previous 1.25.10.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:49 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.26: +8 -14 lines
Diff to previous 1.26 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:29 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.2: +11 -116 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:19:54 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.26: +8 -14 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 27 14:41:03 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.35.8.2 (colored)

Fix typo in rev 1.26: alldev -> alldevs.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 27 14:39:19 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.35.8.2 (colored)

Fix the $NetBSD$ tag in __KERNEL_RCSID().

Revision 1.27 / (download) - annotate - [select for diffs], Mon Aug 27 14:35:09 2007 UTC (16 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.26: +7 -13 lines
Diff to previous 1.26 (colored) to selected 1.35.8.2 (colored)

Use TAILQ_FOREACH().

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:18 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.25: +3 -102 lines
Diff to previous 1.25 (colored) to selected 1.35.8.2 (colored)

Sync with head.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:26 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.25: +3 -102 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.35.8.2 (colored)

Sync with head.

Revision 1.25.10.1 / (download) - annotate - [select for diffs], Tue Jun 26 18:13:54 2007 UTC (16 years, 9 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.25: +3 -102 lines
Diff to previous 1.25 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jun 24 01:43:34 2007 UTC (16 years, 9 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.25: +3 -102 lines
Diff to previous 1.25 (colored) to selected 1.35.8.2 (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.24.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:47 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:09 2007 UTC (17 years 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.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.35.8.2 (colored)

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

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.1: +125 -76 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:39 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.35.8.2 (colored)

Sync with head.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:16 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 6 02:29:08 2006 UTC (17 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, netbsd-4
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.35.8.2 (colored)

handle_wedges: fix a typo.  (NOCREAD -> NOCRED)

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 5 22:43:35 2006 UTC (17 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored) to selected 1.35.8.2 (colored)

I can not test this right now, but the equivalent change was needed on
sparc64 to make root on raid shutdown cleanly: after using opendisk()
and querying wedges, we need to VOP_CLOSE() the resulting vnode.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:49 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.5: +160 -92 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.35.8.2 (colored)

sync with head

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:37 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.13.2.2: +124 -76 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 27 04:31:55 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.21: +8 -5 lines
Diff to previous 1.21 (colored) to selected 1.35.8.2 (colored)

Fix previous thinko.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Aug 27 04:16:33 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.35.8.2 (colored)

Fix reversed test

Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 27 04:11:45 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored) to selected 1.35.8.2 (colored)

Wedges don't have partitions.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 13 00:56:37 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored) to selected 1.35.8.2 (colored)

Fix missing initialization of tmpvn; thanks gcc.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 12 21:45:22 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.17: +115 -75 lines
Diff to previous 1.17 (colored) to selected 1.35.8.2 (colored)

- Check if a disk has wedges, and use the wedge device corresponding to the
  root partition, instead of punting. This makes booting work
  with traditional disklabel disks and wedge autoconfiguration.
- factor out disk opening code.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 12 19:55:42 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) to selected 1.35.8.2 (colored)

add dk.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:06 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +44 -24 lines
Diff to previous 1.4 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:31 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.7.2.1: +2 -1 lines
Diff to previous 1.7.2.1 (colored) next main 1.8 (colored) to selected 1.35.8.2 (colored)

Sync with head.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:48:25 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.13.6.1: +1 -0 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.35.8.2 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:57:19 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.13.2.1: +2 -1 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 14 21:57:13 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) to selected 1.35.8.2 (colored)

integrate kauth.

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:25 2006 UTC (17 years, 10 months ago) by christos
Branch: elad-kernelauth
Changes since 1.13.4.1: +2 -1 lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.35.8.2 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:09 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.7: +27 -60 lines
Diff to previous 1.7 (colored) to selected 1.35.8.2 (colored)

Sync with head.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:34:02 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.13: +9 -11 lines
Diff to previous 1.13 (colored) to selected 1.35.8.2 (colored)

sync with head - hopefully this will work

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:35 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.13: +9 -11 lines
Diff to previous 1.13 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:12 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.13: +9 -11 lines
Diff to previous 1.13 (colored) to selected 1.35.8.2 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:48 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.35.8.2 (colored)

Use device_cfdata().

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 28 17:38:28 2006 UTC (18 years ago) by thorpej
Branch: MAIN
Changes since 1.13: +7 -9 lines
Diff to previous 1.13 (colored) to selected 1.35.8.2 (colored)

Use device_unit().

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:07 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.5.2.1: +15 -16 lines
Diff to previous 1.5.2.1 (colored) next main 1.6 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 26 06:17:44 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored) to selected 1.35.8.2 (colored)

Fix typo.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 26 06:15:01 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.11: +7 -8 lines
Diff to previous 1.11 (colored) to selected 1.35.8.2 (colored)

Use device_is_a() more.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 26 06:12:59 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.35.8.2 (colored)

Use device_is_a().

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 23 05:37:49 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.35.8.2 (colored)

Use device_parent().

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 21 04:32:38 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored) to selected 1.35.8.2 (colored)

Use device_class() instead of accessing dv_class directly.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:54 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.5: +23 -1 lines
Diff to previous 1.5 (colored) to selected 1.35.8.2 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 4 11:24:42 2006 UTC (18 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.7: +4 -34 lines
Diff to previous 1.7 (colored) to selected 1.35.8.2 (colored)

Revert yesterday's change that attempted to fix the detection of the
boot device when using a Multiboot boot loader.  It couldn't work because
these boot loaders do not pass a checksum of the disk so matchbiosdisk()
cannot really find any matches.  I should have gone to sleep before
commiting...

Found by xtraeme@.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 3 23:33:30 2006 UTC (18 years, 1 month ago) by jmmv
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.6: +35 -5 lines
Diff to previous 1.6 (colored) to selected 1.35.8.2 (colored)

When booting an i386 kernel with Multiboot, properly detect the boot device
by looking it up in the x86_alldisks table (instead of trying to match it
to 'wd*' manually).

In order to do this, move the cpu_rootconf function from x86 common code
to amd64 and i386 specific one.  This way, i386 can do an extra step (call
the appropriate Multiboot code) in the appropriate place (after
x86_matchbiosdisks and before findroot()).

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 3 11:08:24 2006 UTC (18 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.5: +23 -1 lines
Diff to previous 1.5 (colored) to selected 1.35.8.2 (colored)

Implement support for 'The Multiboot Specification' so that i386 kernels
can be booted directly from Multiboot-compliant boot loaders (e.g. GRUB).
See the added multiboot(8) manual page for more information.

No objections in tech-kern@; only positive comments.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:47 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, rpaulo-netinet-merge-pcb
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored) to selected 1.35.8.2 (colored)

merge ktrace-lwp.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.2: +8 -8 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.4 / (download) - annotate - [select for diffs], Sun May 29 21:36:40 2005 UTC (18 years, 10 months ago) by christos
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
Branch point for: yamt-lazymbuf
Changes since 1.3: +8 -8 lines
Diff to previous 1.3 (colored) to selected 1.35.8.2 (colored)

avoid variable shadowing.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Nov 2 07:51:06 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.1: +595 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) to selected 1.35.8.2 (colored)

Sync with HEAD.

Revision 1.3.2.1, Tue Oct 26 01:09:25 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3: +0 -595 lines
FILE REMOVED

file x86_autoconf.c was added on branch ktrace-lwp on 2004-11-02 07:51:06 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 26 01:09:25 2004 UTC (19 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: ktrace-lwp
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.35.8.2 (colored)

Fix typo: labe -> label.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 23 17:20:59 2004 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +134 -15 lines
Diff to previous 1.1 (colored) to selected 1.35.8.2 (colored)

Use the new BTINFO_BOOTWEDGE bootinfo to discover the booted disk and
wedge.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 20 04:20:05 2004 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
Diff to selected 1.35.8.2 (colored)

Move boot device detection code from i386 and amd64 ports to x86_autoconf.c.
Rename i386_alldisks and x86_64_alldisks to x86_alldisks, adjust other
references to compensate.

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>