Home | History | Annotate | only in /src/sys/arch/zaurus/conf
History log of /src/sys/arch/zaurus/conf
RevisionDateAuthorComments
 1.1 29-Jan-2012  tsutsui branches: 1.1.4; 1.1.6;
Add PXA25x based Zaurus SL-C700/750/760/860 support.

All porting work was done by TOYOKURA Atsushi, with
several minor adjustments for integration by me and nonaka@.

His SL-C700 first running NetBSD/zaurus was demonstrated on
NetBSD booth at Open Source Canference 2011 Tokyo/Fall:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-tokyofall

Note GENERIC kernel works on SL-C750/760/860 (and C1000/3x00) but for now
SL-C700 requires its own kernel with special KERNEL_BASE_PHYS address
due to zbsdmod.o loader restriction (probably caused its small 32MB RAM).
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 29-Jan-2012  yamt file C700 was added on branch yamt-pagecache on 2012-04-17 00:07:12 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 29-Jan-2012  mrg file C700 was added on branch jmcneill-usbmp on 2012-02-18 07:33:48 +0000
 1.97 02-Apr-2024  charlotte Mention DKWEDGE_METHOD_TOS in several kernel config files
 1.96 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.95 09-Feb-2023  abs Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
"Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work
 1.94 09-Feb-2023  abs Ensure GENERIC.local is always at the end of GENERIC

Where a GENERIC config had an existing inclusion of GENERIC.local,
ensure it is always at the end of the file, with a consistent
comment:

# Pull in optional local configuration
cinclude "arch/landisk/conf/GENERIC.local"

This allows GENERIC.local to correctly override all options

(This pass does not affect any GENERIC which did not already have
an include of GENERIC.local)
 1.93 29-Sep-2022  riastradh branches: 1.93.4;
swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with. Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702
 1.92 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.91 20-Jan-2021  nia remove compat_ossaudio from kernel modules

this is only useful with compat_linux and gets autoloaded when
compat_linux is loaded, so there's no reason to bake it into kernels
any more.
 1.90 25-Mar-2020  jdolecek branches: 1.90.4;
remove 'file-system SMBFS' and 'pseudo-device nsmb' from all kernel configs
to prepare for their eventual removal
 1.89 13-Nov-2019  tsutsui Make zaurus kernels use symbol tables loaded by the bootloader.

Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).

Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:
https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.88 02-Nov-2019  tsutsui Put back options WSDISPLAY_COMPAT_RAWKBD. It's required by Xorg server.

Should be pulled up to netbsd-9.
 1.87 21-Aug-2019  msaitoh Fix typo (s/contoller/controller/).
 1.86 26-Jul-2019  martin branches: 1.86.2;
comment out WSDISPLAY_COMPAT_RAWKBD for now, it does not compile
 1.85 29-Mar-2019  christos bye ddb and we fit again.
 1.84 07-Feb-2019  rin Add commented-out modern USB NICs for users easily finding them out.
 1.83 07-Feb-2019  rin Comment out ure(4) and its PHY drivers for now to unbreak build.
 1.82 07-Feb-2019  rin Oops, revert previous.
Combinations between NICs and PHYs are unpredictable...
 1.81 07-Feb-2019  rin Fix kernel size overflow caused by addition of ure(4) and PHY drivers.

Modern USB NICs are useful due to availability in the market, although
they cannot exhibit full performance with ohci(4). Also, some of them
support RX/TX offloading, which can be useful even with ohci(4).

Therefore, rather add modern NICs in usbdevices.config.

Instead, remove PHY drivers that cannot be used with zaurus.

Now, all kernels fits within 5 MiB = 5120 KiB:
- GENERIC 5105K ( 15K free)
- C700 5098K ( 22K free)
- INSTALL 4991K (129K free)
- INSTALL_C700 4681K (439K free)
 1.80 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.79 23-Oct-2018  jdolecek remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
 1.78 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.77 07-Jun-2018  thorpej branches: 1.77.2;
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.
 1.76 15-May-2018  thorpej Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
 1.75 14-Sep-2017  mrg branches: 1.75.2;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.74 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.73 03-Apr-2017  sevan branches: 1.73.6;
Drop NOPORTALGO option which was introduce in r1.69.No other reference exists in src or
history in CVS. The introductory commit was related to sound so assuming it
crept in by mistake.
 1.72 26-Feb-2017  rin Add DKWEDGE_METHOD_RDB option, which is enabled for x86, commented out for
other platforms by default.
 1.71 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.70 13-Dec-2016  christos branches: 1.70.2;
wildcard speaker attachments, now that we can handle many of them.
 1.69 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.68 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.67 26-Sep-2015  maxv branches: 1.67.2;
Remove KMEMSTATS. Normally it's ok now.
 1.66 05-Feb-2015  nonaka Added drvctl, putter and PUFFS.
 1.65 16-Nov-2014  manu branches: 1.65.2;
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
 1.64 12-Nov-2014  manu Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels

This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
 1.63 19-Sep-2014  christos Disable BSDLABEL and MBR DKWEDGE methods again since sysinst does not work
with wedges.
 1.62 24-Aug-2014  jnemeth Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
 1.61 23-Aug-2014  dholland Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.60 18-Aug-2014  christos - Enable Wedge support for MBR/BSDLABEL where it was commented out.
- Add apple partition support where it was missing
- Add comments where missing
 1.59 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.58 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.57 03-Aug-2014  martin branches: 1.57.2;
Add COMPAT_NETBSD32, following the switch to eabi by default.
 1.56 27-Apr-2013  christos branches: 1.56.8;
the bogus number police
 1.55 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.54 05-Jun-2012  abs branches: 1.54.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.53 07-Apr-2012  nonaka bump up SYMTAB_SPACE.
 1.52 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.51 29-Jan-2012  tsutsui branches: 1.51.2;
Add PXA25x based Zaurus SL-C700/750/760/860 support.

All porting work was done by TOYOKURA Atsushi, with
several minor adjustments for integration by me and nonaka@.

His SL-C700 first running NetBSD/zaurus was demonstrated on
NetBSD booth at Open Source Canference 2011 Tokyo/Fall:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-tokyofall

Note GENERIC kernel works on SL-C750/760/860 (and C1000/3x00) but for now
SL-C700 requires its own kernel with special KERNEL_BASE_PHYS address
due to zbsdmod.o loader restriction (probably caused its small 32MB RAM).
 1.50 25-Jan-2012  tsutsui - TAB/space cleanup
- add a comment
 1.49 25-Jan-2012  tsutsui Reorganlization zlcd(4) and ztp(4) device attachments from nonaka@:
- ztp depends on zssp so attach ztp at zssp rather than pxaip
- split LCD backlight controls from zlcd(4) into new lcdctl device
to share it among forthcoming SL-C7x0 variants
 1.48 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.47 22-Nov-2011  tls branches: 1.47.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.46 19-Nov-2011  nonaka enable kloader(4).
 1.45 15-Jul-2011  nonaka branches: 1.45.2;
cinclude GENERIC.local
 1.44 30-Jun-2011  wiz dependant -> dependent
 1.43 19-Jun-2011  nonaka more support SL-C1000.
 1.42 20-May-2011  nonaka branches: 1.42.2;
Uncommented out "file-system CD9660".
 1.41 20-May-2011  tsutsui Add (commented out) options MODULAR. Just works fine as other arm ports.

This will be mandatory because zbsdmod.o loader has size (5MB) restriction.
 1.40 20-May-2011  tsutsui Remove unnecessary count arguments from some pseudo-devices.
 1.39 20-May-2011  tsutsui Move pseudo-device bpfilter to proper place.
 1.38 20-May-2011  tsutsui Enable cd* at atapibus? for some USB CD/DVD drives.
 1.37 20-May-2011  tsutsui Comment out options COMPAT_09, COMAPT_10, COMPAT_11, and COMPAT_12.
(no NetBSD/arm32 binary release before 1.3)
 1.36 14-May-2011  nonaka Use PXA250 compat. rtc.
 1.35 05-May-2011  nonaka Reduce kernel size.
Tested on SL-C1000.

Fix PR/44898.
 1.34 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.33 13-Feb-2011  tsutsui Add options PXA2X0_LCD_WRITETHROUGH that improves console speed.
Tested on SL-C1000.
 1.32 13-Feb-2011  nonaka support FFUARTCONSOLE.
 1.31 23-Nov-2010  hannken branches: 1.31.2; 1.31.4;
Remove unused count from pseudo-device md.
 1.30 18-Mar-2010  dholland grammar patrol
 1.29 13-Dec-2009  nonaka branches: 1.29.2; 1.29.4;
comment out KLOADER.
 1.28 05-Dec-2009  pooka Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.27 05-Dec-2009  nonaka enable WSDISPLAY_COMPAT_RAWKBD option.
 1.26 28-Nov-2009  nonaka pxartc(4) must set the device address.
 1.25 09-Aug-2009  kiyohara Fix matching by improper driver.
see http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html

And remove some white-spaces.
 1.24 21-Apr-2009  nonaka Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
 1.23 13-Mar-2009  nonaka zaudio(4) works now.
 1.22 11-Mar-2009  nonaka Added kloader support.
 1.21 28-Jan-2009  nonaka branches: 1.21.2;
Added SCSI bus and devices.
 1.20 28-Jan-2009  nonaka cosmetic
 1.19 28-Jan-2009  nonaka -kernel output is set to green.
-symbol is contained.
 1.18 28-Jan-2009  nonaka Pass address and intr to pxadmac.
 1.17 28-Jan-2009  nonaka GENERIC is replaced by GENERIC.HOSTUSB.
 1.16 24-Jan-2009  mrg add COMPAT_50 to all the configs with COMPAT_40.
 1.15 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.14 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.13 10-Aug-2008  tls branches: 1.13.2;
Add accept filters to GENERIC kernels where they exist.
 1.12 31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.11 31-Dec-2007  ad branches: 1.11.6; 1.11.10; 1.11.12; 1.11.16;
Remove systrace. Ok core@.
 1.10 04-Nov-2007  xtraeme branches: 1.10.2; 1.10.8;
Remove System V semaphores and share memory options to set the limits:
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.

They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.
 1.9 17-Oct-2007  garbled 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.
 1.8 21-Aug-2007  kiyohara branches: 1.8.2; 1.8.6;
Add slhci at pcmcia.
And reorder.
 1.7 29-Jul-2007  nonaka branches: 1.7.2; 1.7.4;
Added support to detect AC adapter and charge battery.
 1.6 26-Jun-2007  nonaka branches: 1.6.2; 1.6.4;
Add options COMPAT_40.
 1.5 16-Mar-2007  ober branches: 1.5.4;
Updating GENERIC to include bpfilter to allow dhclient to work.
Also enable LFS which appears to work well so far.
 1.4 14-Mar-2007  drochner branches: 1.4.2;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.3 25-Feb-2007  nonaka branches: 1.3.4; 1.3.6;
Add PXA2x0 RTC driver.
 1.2 17-Dec-2006  peter branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1 16-Dec-2006  ober Zaurus Port from OpenBSD by Nonaka Kimihiro
OK gimpy
 1.2.8.2 24-Mar-2007  yamt sync with head.
 1.2.8.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.2.6.2 12-Jan-2007  ad Sync with head.
 1.2.6.1 17-Dec-2006  ad file GENERIC was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.2.4.6 21-Jan-2008  yamt sync with head
 1.2.4.5 15-Nov-2007  yamt sync with head.
 1.2.4.4 03-Sep-2007  yamt sync with head.
 1.2.4.3 26-Feb-2007  yamt sync with head.
 1.2.4.2 30-Dec-2006  yamt sync with head.
 1.2.4.1 17-Dec-2006  yamt file GENERIC was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
 1.2.2.2 18-Dec-2006  yamt sync with head.
 1.2.2.1 17-Dec-2006  yamt file GENERIC was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
 1.3.6.1 11-Jul-2007  mjf Sync with head.
 1.3.4.5 03-Dec-2007  ad Sync with HEAD.
 1.3.4.4 09-Oct-2007  ad Sync with head.
 1.3.4.3 20-Aug-2007  ad Sync with HEAD.
 1.3.4.2 15-Jul-2007  ad Sync with head.
 1.3.4.1 10-Apr-2007  ad Sync with head.
 1.4.2.1 18-Mar-2007  reinoud First attempt to bring branch in sync with HEAD
 1.5.4.2 03-Oct-2007  garbled Sync with HEAD
 1.5.4.1 26-Jun-2007  garbled Sync with HEAD.
 1.6.4.2 03-Sep-2007  skrll Sync with HEAD.
 1.6.4.1 15-Aug-2007  skrll Sync with HEAD.
 1.6.2.1 07-Aug-2007  matt Sync with HEAD.
 1.7.4.2 04-Nov-2007  jmcneill Sync with HEAD.
 1.7.4.1 03-Sep-2007  jmcneill Sync with HEAD.
 1.7.2.3 28-Feb-2008  rjs Sync with HEAD.
 1.7.2.2 26-Dec-2007  rjs Sync with HEAD.
 1.7.2.1 01-Nov-2007  rjs Sync with HEAD.
 1.8.6.1 13-Nov-2007  bouyer Sync with HEAD
 1.8.2.2 09-Jan-2008  matt sync with HEAD
 1.8.2.1 06-Nov-2007  matt sync with HEAD
 1.10.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.10.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.11.16.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.11.16.1 19-Oct-2008  haad Sync with HEAD.
 1.11.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.11.10.4 11-Aug-2010  yamt sync with head.
 1.11.10.3 11-Mar-2010  yamt sync with head
 1.11.10.2 19-Aug-2009  yamt sync with head.
 1.11.10.1 04-May-2009  yamt sync with head.
 1.11.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.11.6.1 28-Sep-2008  mjf Sync with HEAD.
 1.13.2.3 28-Apr-2009  skrll Sync with HEAD.
 1.13.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.13.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.21.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.29.4.4 31-May-2011  rmind sync with head
 1.29.4.3 21-Apr-2011  rmind sync with head
 1.29.4.2 05-Mar-2011  rmind sync with head
 1.29.4.1 30-May-2010  rmind sync with head
 1.29.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.31.4.2 17-Feb-2011  bouyer Sync with HEAD
 1.31.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.31.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.42.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.45.2.3 22-May-2014  yamt 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")
 1.45.2.2 30-Oct-2012  yamt sync with head
 1.45.2.1 17-Apr-2012  yamt sync with head
 1.47.2.3 29-Apr-2012  mrg sync to latest -current.
 1.47.2.2 11-Mar-2012  mrg sync to latest -current
 1.47.2.1 18-Feb-2012  mrg merge to -current.
 1.51.2.2 15-Aug-2012  sborrill Pull up the following revisions(s) (requested by martin in ticket #502):
sys/arch/cobalt/conf/GENERIC: patch
sys/arch/i386/conf/GENERIC: patch
sys/arch/i386/conf/XEN3_DOM0: patch
sys/arch/i386/conf/XEN3_DOMU: patch
sys/arch/mvmeppc/conf/GENERIC: patch
sys/arch/shark/conf/GENERIC: patch
sys/arch/sparc64/conf/GENERIC: patch
sys/arch/sparc64/conf/GENERIC.DEBUG: patch
sys/arch/zaurus/conf/GENERIC: patch

Switch off DIAGNOSTIC and/or DEBUG on release kernels.
Enable DIAGNOSTIC in DEBUG kernels to allow for option
being switched off in GENERIC.
 1.51.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.54.2.4 03-Dec-2017  jdolecek update from HEAD
 1.54.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.54.2.2 23-Jun-2013  tls resync from head
 1.54.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.56.8.1 10-Aug-2014  tls Rebase.
 1.57.2.4 15-May-2015  snj Pull up following revision(s) (requested by jnemeth in ticket #762):
share/man/man4/options.4: revision 1.442
sys/arch/amd64/conf/ALL: revision 1.18
sys/arch/amd64/conf/GENERIC: revision 1.396
sys/arch/dreamcast/conf/GENERIC: revision 1.119
sys/arch/epoc32/conf/GENERIC: revision 1.6
sys/arch/evbarm/conf/BCM5301X: revision 1.24
sys/arch/evbarm/conf/BCM56340: revision 1.9
sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
sys/arch/evbarm/conf/std.beagle: revision 1.13
sys/arch/evbarm/conf/std.kobo: revision 1.2
sys/arch/evbarm/conf/std.netwalker: revision 1.10
sys/arch/evbppc/conf/P2020DS: revision 1.25
sys/arch/evbppc/conf/RB800: revision 1.30
sys/arch/evbppc/conf/TWRP1025: revision 1.18
sys/arch/hp300/conf/GENERIC: revision 1.187
sys/arch/hpcsh/conf/GENERIC: revision 1.104
sys/arch/i386/conf/GENERIC: revision 1.1111
sys/arch/i386/conf/MONOLITHIC: revision 1.17
sys/arch/landisk/conf/GENERIC: revision 1.43
sys/arch/luna68k/conf/GENERIC: revision 1.117
sys/arch/macppc/conf/GENERIC: revision 1.316
sys/arch/macppc/conf/GENERIC_601: revision 1.5
sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
sys/arch/news68k/conf/GENERIC: revision 1.123
sys/arch/sandpoint/conf/GENERIC: revision 1.85
sys/arch/shark/conf/GENERIC: revision 1.119
sys/arch/sparc/conf/GENERIC: revision 1.246
sys/arch/sparc64/conf/GENERIC: revision 1.174
sys/arch/sun3/conf/GENERIC3X: revision 1.125
sys/arch/sun3/conf/GENERIC: revision 1.169
sys/arch/x68k/conf/GENERIC: revision 1.177
sys/arch/zaurus/conf/GENERIC: revision 1.62
sys/conf/files: revision 1.1099
sys/kern/kern_module.c: revisions 1.98, 1.99
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)
 1.57.2.3 18-Nov-2014  snj Pull up following revision(s) (requested by manu in ticket #251):
sys/arch/acorn26/conf/GENERIC: revision 1.81
sys/arch/acorn32/conf/GENERIC: revision 1.116
sys/arch/alpha/conf/GENERIC: revision 1.362
sys/arch/amd64/conf/ALL: revision 1.23
sys/arch/amd64/conf/GENERIC: revision 1.404
sys/arch/amd64/conf/XEN3_DOM0: revision 1.112
sys/arch/amd64/conf/XEN3_DOMU: revision 1.60
sys/arch/amiga/conf/GENERIC.in: revision 1.129
sys/arch/amiga/conf/GENERIC: revision 1.311
sys/arch/amigappc/conf/GENERIC: revision 1.24
sys/arch/arc/conf/GENERIC: revision 1.184
sys/arch/bebox/conf/GENERIC: revision 1.145
sys/arch/cats/conf/GENERIC: revision 1.155
sys/arch/cesfic/conf/GENERIC: revision 1.65
sys/arch/cobalt/conf/GENERIC: revision 1.147
sys/arch/dreamcast/conf/GENERIC: revision 1.121
sys/arch/emips/conf/GENERIC: revision 1.15
sys/arch/epoc32/conf/GENERIC: revision 1.8
sys/arch/ews4800mips/conf/GENERIC: revision 1.51
sys/arch/hp300/conf/GENERIC: revision 1.190
sys/arch/hpcmips/conf/GENERIC: revision 1.229
sys/arch/hpcsh/conf/GENERIC: revision 1.106
sys/arch/hppa/conf/GENERIC: revision 1.6
sys/arch/i386/conf/ALL: revision 1.389
sys/arch/i386/conf/GENERIC: revision 1.1118
sys/arch/i386/conf/XEN3_DOM0: revision 1.93
sys/arch/i386/conf/XEN3_DOMU: revision 1.65
sys/arch/ibmnws/conf/GENERIC: revision 1.46
sys/arch/iyonix/conf/GENERIC: revision 1.88
sys/arch/landisk/conf/GENERIC: revision 1.45
sys/arch/luna68k/conf/GENERIC: revision 1.119
sys/arch/mac68k/conf/GENERIC: revision 1.220
sys/arch/macppc/conf/GENERIC: revision 1.320
sys/arch/macppc/conf/MAMBO: revision 1.24
sys/arch/macppc/conf/POWERMAC_G5: revision 1.25
sys/arch/mipsco/conf/GENERIC: revision 1.88
sys/arch/mmeye/conf/GENERIC: revision 1.120
sys/arch/mvme68k/conf/GENERIC: revision 1.94
sys/arch/mvmeppc/conf/GENERIC: revision 1.24
sys/arch/netwinder/conf/GENERIC: revision 1.126
sys/arch/news68k/conf/GENERIC: revision 1.125
sys/arch/newsmips/conf/GENERIC: revision 1.129
sys/arch/next68k/conf/GENERIC: revision 1.139
sys/arch/ofppc/conf/GENERIC: revision 1.157
sys/arch/pmax/conf/GENERIC64: revision 1.21
sys/arch/pmax/conf/GENERIC: revision 1.185
sys/arch/prep/conf/GENERIC: revision 1.174
sys/arch/rs6000/conf/GENERIC: revision 1.33
sys/arch/sandpoint/conf/GENERIC: revision 1.88
sys/arch/sbmips/conf/GENERIC: revision 1.101
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.28
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.104
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.106
sys/arch/shark/conf/GENERIC: revision 1.121
sys/arch/sparc/conf/GENERIC: revision 1.248
sys/arch/sparc/conf/TADPOLE3GX: revision 1.65
sys/arch/sparc64/conf/GENERIC: revision 1.177
sys/arch/sparc64/conf/NONPLUS64: revision 1.44
sys/arch/sun2/conf/GENERIC: revision 1.94
sys/arch/sun3/conf/GENERIC: revision 1.171
sys/arch/vax/conf/GENERIC: revision 1.193
sys/arch/vax/conf/VAX780: revision 1.19
sys/arch/x68k/conf/GENERIC: revision 1.179
sys/arch/zaurus/conf/GENERIC: revision 1.65
sys/ufs/files.ufs: revision 1.38
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
 1.57.2.2 14-Nov-2014  martin Pull up following revision(s) (requested by manu in ticket #232):
sys/arch/next68k/conf/GENERIC: revision 1.138
sys/arch/cobalt/conf/GENERIC: revision 1.146
sys/arch/mvme68k/conf/GENERIC: revision 1.93
sys/arch/vax/conf/VAX780: revision 1.18
sys/arch/newsmips/conf/GENERIC: revision 1.128
sys/arch/luna68k/conf/GENERIC: revision 1.118
sys/arch/sbmips/conf/GENERIC: revision 1.100
sys/arch/pmax/conf/GENERIC: revision 1.184
sys/arch/alpha/conf/GENERIC: revision 1.361
sys/arch/sparc64/conf/GENERIC: revision 1.176
sys/arch/sun3/conf/GENERIC: revision 1.170
sys/arch/shark/conf/GENERIC: revision 1.120
sys/arch/landisk/conf/GENERIC: revision 1.44
sys/arch/bebox/conf/GENERIC: revision 1.144
sys/arch/sparc64/conf/NONPLUS64: revision 1.43
sys/arch/sandpoint/conf/GENERIC: revision 1.87
sys/arch/emips/conf/GENERIC: revision 1.14
sys/arch/amd64/conf/XEN3_DOM0: revision 1.111
sys/arch/dreamcast/conf/GENERIC: revision 1.120
sys/arch/cesfic/conf/GENERIC: revision 1.64
sys/arch/mmeye/conf/GENERIC: revision 1.119
sys/arch/epoc32/conf/GENERIC: revision 1.7
sys/arch/x68k/conf/GENERIC: revision 1.178
sys/arch/iyonix/conf/GENERIC: revision 1.87
sys/arch/sun2/conf/GENERIC: revision 1.93
sys/arch/ews4800mips/conf/GENERIC: revision 1.50
sys/arch/amd64/conf/XEN3_DOMU: revision 1.59
sys/arch/acorn26/conf/GENERIC: revision 1.80
sys/arch/acorn32/conf/GENERIC: revision 1.115
sys/arch/macppc/conf/POWERMAC_G5: revision 1.24
sys/arch/i386/conf/GENERIC: revision 1.1117
sys/arch/arc/conf/GENERIC: revision 1.183
sys/arch/cats/conf/GENERIC: revision 1.154
sys/arch/amiga/conf/GENERIC.in: revision 1.128
sys/arch/zaurus/conf/GENERIC: revision 1.64
sys/arch/netwinder/conf/GENERIC: revision 1.125
sys/arch/hppa/conf/GENERIC: revision 1.5
sys/arch/mvmeppc/conf/GENERIC: revision 1.23
sys/arch/macppc/conf/GENERIC: revision 1.319
sys/arch/amiga/conf/GENERIC: revision 1.310
sys/arch/pmax/conf/GENERIC64: revision 1.20
sys/arch/macppc/conf/MAMBO: revision 1.23
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.27
sys/arch/amigappc/conf/GENERIC: revision 1.23
sys/arch/amd64/conf/GENERIC: revision 1.403
sys/arch/ofppc/conf/GENERIC: revision 1.156
sys/arch/mac68k/conf/GENERIC: revision 1.219
sys/arch/i386/conf/XEN3_DOMU: revision 1.64
sys/arch/mipsco/conf/GENERIC: revision 1.87
sys/arch/hp300/conf/GENERIC: revision 1.189
sys/arch/vax/conf/GENERIC: revision 1.192
sys/arch/news68k/conf/GENERIC: revision 1.124
sys/arch/ibmnws/conf/GENERIC: revision 1.45
sys/arch/hpcsh/conf/GENERIC: revision 1.105
sys/arch/sparc/conf/TADPOLE3GX: revision 1.64
sys/arch/i386/conf/XEN3_DOM0: revision 1.92
sys/arch/sparc/conf/GENERIC: revision 1.247
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.105
sys/arch/prep/conf/GENERIC: revision 1.173
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.103
sys/arch/rs6000/conf/GENERIC: revision 1.32
sys/arch/hpcmips/conf/GENERIC: revision 1.228
Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr
Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
 1.57.2.1 10-Oct-2014  snj Apply patch (requested by bouyer/martin in ticket #116):
Disable DIAGNOSTIC and/or DEBUG.
 1.65.2.4 28-Aug-2017  skrll Sync with HEAD
 1.65.2.3 05-Feb-2017  skrll Sync with HEAD
 1.65.2.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.65.2.1 06-Apr-2015  skrll Sync with HEAD
 1.67.2.3 26-Apr-2017  pgoyette Sync with HEAD
 1.67.2.2 20-Mar-2017  pgoyette Sync with HEAD
 1.67.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.70.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.73.6.4 16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1446):

sys/arch/zaurus/conf/GENERIC: revision 1.89
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12
sys/arch/zaurus/conf/INSTALL: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.45
sys/arch/zaurus/conf/GENERIC: revision 1.85

Yes, we need to load symbols, but we don't need the whole DDB infrastructure
for that.

bye ddb and we fit again.

Make zaurus kernels use symbol tables loaded by the bootloader.
Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).

Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:

https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.73.6.3 18-Apr-2018  martin Requested by skrll in ticket #60:
sys/arch/amd64/conf/GENERIC
sys/arch/amd64/conf/XEN3_DOM0
sys/arch/amd64/conf/XEN3_DOMU
sys/arch/cobalt/conf/GENERIC
sys/arch/evbarm/conf/BEAGLEBONE
sys/arch/evbarm/conf/BEAGLEBOARD
sys/arch/evbarm/conf/BEAGLEBOARDXM
sys/arch/evbarm/conf/GENERIC.common
sys/arch/i386/conf/GENERIC
sys/arch/i386/conf/XEN3_DOM0
sys/arch/i386/conf/XEN3_DOMU
sys/arch/mvmeppc/conf/GENERIC
sys/arch/shark/conf/GENERIC
sys/arch/sparc64/conf/GENERIC
sys/arch/zaurus/conf/GENERIC

Remove option DIAGNOSTIC.
 1.73.6.2 29-Aug-2017  martin Requested by skrll in ticket #60:
sys/arch/amd64/conf/GENERIC
sys/arch/amd64/conf/XEN3_DOM0
sys/arch/amd64/conf/XEN3_DOMU
sys/arch/cobalt/conf/GENERIC
sys/arch/evbarm/conf/BEAGLEBONE
sys/arch/evbarm/conf/BEAGLEBOARD
sys/arch/evbarm/conf/BEAGLEBOARDXM
sys/arch/evbarm/conf/GENERIC.common
sys/arch/i386/conf/GENERIC
sys/arch/i386/conf/XEN3_DOM0
sys/arch/i386/conf/XEN3_DOMU
sys/arch/mvmeppc/conf/GENERIC
sys/arch/shark/conf/GENERIC
sys/arch/sparc64/conf/GENERIC
sys/arch/zaurus/conf/GENERIC


Re-enable option DIAGNOSTIC for now, will remove it again later.
 1.73.6.1 05-Jul-2017  martin Remove options DIAGNOSTIC/DEBUG and PAX debug options.
Requested by snj in #60.
 1.75.2.4 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.75.2.3 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.75.2.2 25-Jun-2018  pgoyette Sync with HEAD
 1.75.2.1 21-May-2018  pgoyette Sync with HEAD
 1.77.2.3 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.77.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.77.2.1 10-Jun-2019  christos Sync with HEAD
 1.86.2.3 21-Nov-2019  martin In preparation for the upcoming release, turn off DIAGNOSTIC in most
kernel configs, modules and libc.
 1.86.2.2 16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #431):

sys/arch/zaurus/conf/GENERIC: revision 1.89
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12
sys/arch/zaurus/conf/INSTALL: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.45

Make zaurus kernels use symbol tables loaded by the bootloader.

Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).
Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:

https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.86.2.1 04-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #396):

sys/arch/zaurus/conf/GENERIC: revision 1.88

Put back options WSDISPLAY_COMPAT_RAWKBD. It's required by Xorg server.

Should be pulled up to netbsd-9.
 1.90.4.1 03-Apr-2021  thorpej Sync with HEAD.
 1.93.4.1 09-Oct-2023  snj Apply patch (requested by martin in ticket #401):
Disable DIAGNOSTIC/DEBUG.
 1.6 28-Jan-2009  nonaka GENERIC is replaced by GENERIC.HOSTUSB.
 1.5 24-Jan-2009  mrg add COMPAT_50 to all the configs with COMPAT_40.
 1.4 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.3 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.2 31-Jul-2008  simonb branches: 1.2.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.1 31-Mar-2008  chris branches: 1.1.2; 1.1.6; 1.1.8; 1.1.12;
Add GENERIC.HOSTUSB kernel for zaurus.

This allows a Zaurus to act as a USB host, rather than client device.

Tested on a C3000 with USB NIC. I've added most usb devices to the kernel
as I'd expect USB devices just work.

Eventually this will disappear once switching from host to device
controller mode is supported.
 1.1.12.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.12.1 19-Oct-2008  haad Sync with HEAD.
 1.1.8.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.6.1 04-May-2009  yamt sync with head.
 1.1.2.4 17-Jan-2009  mjf Sync with HEAD.
 1.1.2.3 28-Sep-2008  mjf Sync with HEAD.
 1.1.2.2 03-Apr-2008  mjf Sync with HEAD.
 1.1.2.1 31-Mar-2008  mjf file GENERIC.HOSTUSB was added on branch mjf-devfs2 on 2008-04-03 12:42:31 +0000
 1.2.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.2.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.41 21-Jan-2021  nia remove "no options" for compat_ossaudio now it's disabled by default
 1.40 13-Nov-2019  tsutsui branches: 1.40.8;
Make zaurus kernels use symbol tables loaded by the bootloader.

Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).

Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:
https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.39 07-Feb-2019  rin branches: 1.39.4;
Oops, revert previous.
Combinations between NICs and PHYs are unpredictable...
 1.38 07-Feb-2019  rin Fix kernel size overflow caused by addition of ure(4) and PHY drivers.

Modern USB NICs are useful due to availability in the market, although
they cannot exhibit full performance with ohci(4). Also, some of them
support RX/TX offloading, which can be useful even with ohci(4).

Therefore, rather add modern NICs in usbdevices.config.

Instead, remove PHY drivers that cannot be used with zaurus.

Now, all kernels fits within 5 MiB = 5120 KiB:
- GENERIC 5105K ( 15K free)
- C700 5098K ( 22K free)
- INSTALL 4991K (129K free)
- INSTALL_C700 4681K (439K free)
 1.37 07-Jun-2018  thorpej branches: 1.37.2;
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.
 1.36 15-May-2018  thorpej Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
 1.35 28-Jan-2018  rin branches: 1.35.2;
Shrink ramdisk to fit INSTALL kernel within 5MB:
- drop shutdown
- replace disklabel, fsck_ffs, and newfs with stripped-down versions
 1.34 20-Dec-2017  rin Disable compat stuffs that are accidentally accidentally added to rev 1.33.
Now INSTALL kernel fits within 5MB again.
 1.33 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.32 08-Feb-2017  rin branches: 1.32.6;
Shrink the ramdisk of INSTALL kernel for zaurus in order to fit within 5MB.

Now free spaces of the main kernel and ramdisk are about 62KB and 215KB for
INSTALL, respectively.

OK christos
 1.31 30-Jan-2017  nonaka reduce install kernel size.
 1.30 13-Dec-2016  christos branches: 1.30.2;
wildcard speaker attachments, now that we can handle many of them.
 1.29 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.28 12-Aug-2016  nonaka remove some phy(4) from zaurus INSTALL kernel.

avoid kernel size limit...
 1.27 16-Feb-2016  nonaka branches: 1.27.2;
Reduced INSTALL kernel size.
 1.26 19-Jul-2015  martin Backout previous, it does not work.
 1.25 17-Jul-2015  martin Provide a bit more space for the ram disk image
 1.24 17-Aug-2014  joerg branches: 1.24.2;
Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.23 16-Aug-2014  apb Add "no options COMPAT_70" to all kernel configuration files that
already had "no options COMPAT_60".
 1.22 04-Aug-2014  martin Adapt to increased ramdisk size
 1.21 01-Mar-2014  joerg branches: 1.21.2;
Typo
 1.20 13-Sep-2013  christos disable more stuff.
 1.19 28-Jun-2013  he branches: 1.19.2;
Bump the INSTALL ramdisk by 100k so that the contents fits again.
Approved by nonaka@
 1.18 17-Oct-2012  apb Add "no options COMPAT_60" to all kernel configuration files
that already had "no options COMPAT_50".
 1.17 17-Aug-2012  abs branches: 1.17.2;
Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
 1.16 17-Aug-2012  abs Ensure all WSDISPLAY_COMPAT_USL entries have same comment
 1.15 07-Apr-2012  nonaka bump up ramdisk size.
 1.14 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.13 02-Feb-2012  tsutsui branches: 1.13.2;
Try to shrink INSTALL kernel a bit.
Loading INSTALL kernel on SL-C1000 running Zaurus Linux still sometimes
fails (due to its size), but at least it works on maintenance kernel.
 1.12 25-Jan-2012  tsutsui Reorganlization zlcd(4) and ztp(4) device attachments from nonaka@:
- ztp depends on zssp so attach ztp at zssp rather than pxaip
- split LCD backlight controls from zlcd(4) into new lcdctl device
to share it among forthcoming SL-C7x0 variants
 1.11 19-Nov-2011  nonaka branches: 1.11.4;
disable kloader(4).
 1.10 19-Jun-2011  nonaka branches: 1.10.2;
more support SL-C1000.
 1.9 20-May-2011  tsutsui branches: 1.9.2;
Shrink ramdisk size to 2048KB.
 1.8 20-May-2011  tsutsui Shrink INSTALL kerenl more:
- disable KERNFS (install ramdisk uses /sbin/dmesg directly)
- disable mice, audio, uk(4), and wsfont(4)
 1.7 05-May-2011  nonaka Reduce kernel size.
Tested on SL-C1000.

Fix PR/44898.
 1.6 21-Dec-2009  nonaka branches: 1.6.4; 1.6.6;
comment out KLOADER.
 1.5 11-Mar-2009  nonaka Added kloader support.
 1.4 06-Feb-2009  jym branches: 1.4.2;
Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
 1.3 10-Apr-2008  nonaka branches: 1.3.4; 1.3.12;
- zaurus uses MBR
- Added fdisk to ramdisk
- increase ramdisk size
 1.2 01-Apr-2008  chris Increase the Zaurus INSTALL memory disk size to match the size of the
ramdisk created by the distrib files.
 1.1 17-Dec-2006  peter branches: 1.1.2; 1.1.4; 1.1.6; 1.1.50;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1.50.2 02-Jun-2008  mjf Sync with HEAD.
 1.1.50.1 03-Apr-2008  mjf Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 17-Dec-2006  ad file INSTALL was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 17-Dec-2006  yamt file INSTALL was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
 1.1.2.2 18-Dec-2006  yamt sync with head.
 1.1.2.1 17-Dec-2006  yamt file INSTALL was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
 1.3.12.2 28-Apr-2009  skrll Sync with HEAD.
 1.3.12.1 03-Mar-2009  skrll Sync with HEAD.
 1.3.4.2 11-Mar-2010  yamt sync with head
 1.3.4.1 04-May-2009  yamt sync with head.
 1.4.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.4.1 31-May-2011  rmind sync with head
 1.9.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.10.2.3 22-May-2014  yamt 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")
 1.10.2.2 30-Oct-2012  yamt sync with head
 1.10.2.1 17-Apr-2012  yamt sync with head
 1.11.4.3 29-Apr-2012  mrg sync to latest -current.
 1.11.4.2 11-Mar-2012  mrg sync to latest -current
 1.11.4.1 18-Feb-2012  mrg merge to -current.
 1.13.2.1 16-Aug-2012  riz Since DIAGNOSTIC is removed from GENERIC on the netbsd-6 branch, comment
out "no options DIAGNOSTIC" to allow this kernel to build.

Fix for ticket #502 (originally requested by martin).
 1.17.2.3 03-Dec-2017  jdolecek update from HEAD
 1.17.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.2.1 18-May-2014  rmind sync with head
 1.21.2.1 10-Aug-2014  tls Rebase.
 1.24.2.5 28-Aug-2017  skrll Sync with HEAD
 1.24.2.4 05-Feb-2017  skrll Sync with HEAD
 1.24.2.3 05-Oct-2016  skrll Sync with HEAD
 1.24.2.2 19-Mar-2016  skrll Sync with HEAD
 1.24.2.1 22-Sep-2015  skrll Sync with HEAD
 1.27.2.2 20-Mar-2017  pgoyette Sync with HEAD
 1.27.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.30.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.32.6.1 16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1446):

sys/arch/zaurus/conf/GENERIC: revision 1.89
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12
sys/arch/zaurus/conf/INSTALL: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.45
sys/arch/zaurus/conf/GENERIC: revision 1.85

Yes, we need to load symbols, but we don't need the whole DDB infrastructure
for that.

bye ddb and we fit again.

Make zaurus kernels use symbol tables loaded by the bootloader.
Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).

Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:

https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.35.2.2 25-Jun-2018  pgoyette Sync with HEAD
 1.35.2.1 21-May-2018  pgoyette Sync with HEAD
 1.37.2.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.37.2.1 10-Jun-2019  christos Sync with HEAD
 1.39.4.1 16-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #431):

sys/arch/zaurus/conf/GENERIC: revision 1.89
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.12
sys/arch/zaurus/conf/INSTALL: revision 1.40
sys/arch/zaurus/zaurus/machdep.c: revision 1.45

Make zaurus kernels use symbol tables loaded by the bootloader.

Now COPY_SYMTAB is no longer necessary and it saves ~500kbytes of
GENERIC, so re-enable options DDB (i.e. revert GENERIC rev 1.85).
Also fix zbsdmod.o (a kernel loader for Zaurus Linux) to load symbols
at a proper address as the MI sys/lib/libsa/loadfile_elf32.c does.

No particular comment on port-zaurus@:

https://mail-index.netbsd.org/port-zaurus/2019/11/11/msg000086.html

Note zbsdmod.c (derived from OpenBSD/zaurus) assumed that the loaded
kernels had "esym" variable at the top of its data section and
implicitly overwrote it with the address of loaded symbol tables.
OpenBSD/zaurus kernels used the esym value written by the zbsdmod.o
to initialize ksyms(4) on startup, but we will avoid such implicit
MD interface between the bootloader and kernels (though we don't
bother to add a symbol address value into bootinfo but just assume
symbols are loaded at end[] of a loaded kernel, as per the MI
libsa loadfile() implementation).

Worth to pullup to both netbsd-8 and netbsd-9.
 1.40.8.1 03-Apr-2021  thorpej Sync with HEAD.
 1.11 07-Feb-2019  rin Add commented-out modern USB NICs for users easily finding them out.
 1.10 07-Feb-2019  rin Comment out ure(4) and its PHY drivers for now to unbreak build.
 1.9 07-Feb-2019  rin Oops, revert previous.
Combinations between NICs and PHYs are unpredictable...
 1.8 07-Feb-2019  rin Fix kernel size overflow caused by addition of ure(4) and PHY drivers.

Modern USB NICs are useful due to availability in the market, although
they cannot exhibit full performance with ohci(4). Also, some of them
support RX/TX offloading, which can be useful even with ohci(4).

Therefore, rather add modern NICs in usbdevices.config.

Instead, remove PHY drivers that cannot be used with zaurus.

Now, all kernels fits within 5 MiB = 5120 KiB:
- GENERIC 5105K ( 15K free)
- C700 5098K ( 22K free)
- INSTALL 4991K (129K free)
- INSTALL_C700 4681K (439K free)
 1.7 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.6 23-Oct-2018  jdolecek remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
 1.5 26-Aug-2018  rin Disable mue(4) for INSTALL_C70 like other USB NICs.
Should fix build.
 1.4 07-Jun-2018  thorpej branches: 1.4.2;
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.
 1.3 15-May-2018  thorpej Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
 1.2 12-Aug-2016  nonaka branches: 1.2.14;
remove some phy(4) from zaurus INSTALL kernel.

avoid kernel size limit...
 1.1 02-Feb-2012  tsutsui branches: 1.1.4; 1.1.6; 1.1.10; 1.1.28;
Add INSTALL kernel config for SL-C700.
 1.1.28.1 05-Oct-2016  skrll Sync with HEAD
 1.1.10.1 03-Dec-2017  jdolecek update from HEAD
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 02-Feb-2012  yamt file INSTALL_C700 was added on branch yamt-pagecache on 2012-04-17 00:07:12 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 02-Feb-2012  mrg file INSTALL_C700 was added on branch jmcneill-usbmp on 2012-02-18 07:33:48 +0000
 1.2.14.4 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.2.14.3 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.2.14.2 25-Jun-2018  pgoyette Sync with HEAD
 1.2.14.1 21-May-2018  pgoyette Sync with HEAD
 1.4.2.1 10-Jun-2019  christos Sync with HEAD
 1.12 12-Jan-2020  tsutsui Revert "Compile with -O2 by default" change in previous rev 1.11.

COPTS is defined properly after sys/arch/arm/conf/Makefile.arm rev 1.53.
See discussion in source-changes-d@ for details:
https://mail-index.netbsd.org/source-changes-d/2020/01/thread1.html#011984
 1.11 03-Jan-2020  martin branches: 1.11.2;
Drop CTF sections from this size restricted kernel (especially as the
size check is on the total size of the binary, not any content/sections -
is this a bug?)
Compile with -O2 by default (to shrink the kernel to a usable size again
and unbreak the build)
 1.10 26-Oct-2019  tsutsui Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.9 25-Aug-2015  uebayasi branches: 1.9.10; 1.9.18; 1.9.22;
Print a message when creating a temporary ldscript.
 1.8 24-Aug-2015  uebayasi Define ${LINKSCRIPT} in one place.
 1.7 19-Aug-2015  uebayasi Use ${KERNLDSCRIPT} so it is added to ${SYSTEM_DEP}.
 1.6 15-Nov-2014  uebayasi branches: 1.6.2;
Use LINKSCRIPT.
 1.5 02-Mar-2014  joerg Don't overwrite MACHINE_ARCH if it is already set.
 1.4 20-Jan-2012  nonaka branches: 1.4.6; 1.4.10;
Kernel load address can be changed now.
 1.3 05-May-2011  nonaka branches: 1.3.4; 1.3.8;
Reduce kernel size.
Tested on SL-C1000.

Fix PR/44898.
 1.2 17-Dec-2006  peter branches: 1.2.2; 1.2.4; 1.2.6; 1.2.76; 1.2.82;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1 16-Dec-2006  ober Zaurus Port from OpenBSD by Nonaka Kimihiro
OK gimpy
 1.2.82.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.76.1 31-May-2011  rmind sync with head
 1.2.6.2 12-Jan-2007  ad Sync with head.
 1.2.6.1 17-Dec-2006  ad file Makefile.zaurus.inc was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.2.4.2 30-Dec-2006  yamt sync with head.
 1.2.4.1 17-Dec-2006  yamt file Makefile.zaurus.inc was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
 1.2.2.2 18-Dec-2006  yamt sync with head.
 1.2.2.1 17-Dec-2006  yamt file Makefile.zaurus.inc was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
 1.3.8.1 18-Feb-2012  mrg merge to -current.
 1.3.4.2 22-May-2014  yamt 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")
 1.3.4.1 17-Apr-2012  yamt sync with head
 1.4.10.1 18-May-2014  rmind sync with head
 1.4.6.2 03-Dec-2017  jdolecek update from HEAD
 1.4.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.2.1 22-Sep-2015  skrll Sync with HEAD
 1.9.22.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #391):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.9.18.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.9.10.1 03-Nov-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #1420):

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.
 1.11.2.1 17-Jan-2020  ad Sync with head.
 1.16 08-May-2019  isaki Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
 1.15 09-Mar-2018  christos branches: 1.15.2; 1.15.4;
revert previous; this was no typo.
 1.14 06-Mar-2018  christos fix typo (thanks gcc-6). There is no "pxaiis"
 1.13 11-Aug-2015  nonaka branches: 1.13.16;
armfpe is gone.
 1.12 23-Sep-2014  nonaka branches: 1.12.2;
Apply WM8731 support patch from TOYOKURA Atsushi, arranged by me.

- SL-C700: work fine
- SL-C750: attach failed
- SL-C860: not tested
 1.11 29-Jan-2012  tsutsui branches: 1.11.6;
Add PXA25x based Zaurus SL-C700/750/760/860 support.

All porting work was done by TOYOKURA Atsushi, with
several minor adjustments for integration by me and nonaka@.

His SL-C700 first running NetBSD/zaurus was demonstrated on
NetBSD booth at Open Source Canference 2011 Tokyo/Fall:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-tokyofall

Note GENERIC kernel works on SL-C750/760/860 (and C1000/3x00) but for now
SL-C700 requires its own kernel with special KERNEL_BASE_PHYS address
due to zbsdmod.o loader restriction (probably caused its small 32MB RAM).
 1.10 25-Jan-2012  tsutsui Reorganlization zlcd(4) and ztp(4) device attachments from nonaka@:
- ztp depends on zssp so attach ztp at zssp rather than pxaip
- split LCD backlight controls from zlcd(4) into new lcdctl device
to share it among forthcoming SL-C7x0 variants
 1.9 19-Jun-2011  nonaka branches: 1.9.2; 1.9.6;
more support SL-C1000.
 1.8 21-Apr-2009  nonaka branches: 1.8.10;
Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
 1.7 11-Mar-2009  nonaka Added kloader support.
 1.6 31-Mar-2008  chris branches: 1.6.4; 1.6.12; 1.6.18;
Add GPIO pins for USB cable type detection and glue for zusb devices for
config.
 1.5 20-Feb-2008  drochner branches: 1.5.6;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.4 17-Oct-2007  garbled 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.
 1.3 29-Jul-2007  nonaka branches: 1.3.2; 1.3.6;
Added support to detect AC adapter and charge battery.
 1.2 17-Dec-2006  peter branches: 1.2.2; 1.2.4; 1.2.6; 1.2.12; 1.2.20; 1.2.22; 1.2.24;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1 16-Dec-2006  ober Zaurus Port from OpenBSD by Nonaka Kimihiro
OK gimpy
 1.2.24.1 15-Aug-2007  skrll Sync with HEAD.
 1.2.22.1 07-Aug-2007  matt Sync with HEAD.
 1.2.20.1 03-Oct-2007  garbled Sync with HEAD
 1.2.12.1 20-Aug-2007  ad Sync with HEAD.
 1.2.6.2 12-Jan-2007  ad Sync with head.
 1.2.6.1 17-Dec-2006  ad file files.zaurus was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.2.4.4 27-Feb-2008  yamt sync with head.
 1.2.4.3 03-Sep-2007  yamt sync with head.
 1.2.4.2 30-Dec-2006  yamt sync with head.
 1.2.4.1 17-Dec-2006  yamt file files.zaurus was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
 1.2.2.2 18-Dec-2006  yamt sync with head.
 1.2.2.1 17-Dec-2006  yamt file files.zaurus was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
 1.3.6.2 23-Mar-2008  matt sync with HEAD
 1.3.6.1 06-Nov-2007  matt sync with HEAD
 1.3.2.1 28-Feb-2008  rjs Sync with HEAD.
 1.5.6.1 03-Apr-2008  mjf Sync with HEAD.
 1.6.18.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.12.1 28-Apr-2009  skrll Sync with HEAD.
 1.6.4.1 04-May-2009  yamt sync with head.
 1.8.10.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.9.6.1 18-Feb-2012  mrg merge to -current.
 1.9.2.1 17-Apr-2012  yamt sync with head
 1.11.6.1 03-Dec-2017  jdolecek update from HEAD
 1.12.2.1 22-Sep-2015  skrll Sync with HEAD
 1.13.16.1 15-Mar-2018  pgoyette Synch with HEAD
 1.15.4.1 05-May-2019  isaki Remove obsoleted au{,rate,vol}conv and mulaw attributes.
audio provides the equivalent of them inseparably.
 1.15.2.1 10-Jun-2019  christos Sync with HEAD
 1.2 20-Jan-2012  nonaka Kernel load address can be changed now.
 1.1 17-Dec-2006  peter branches: 1.1.2; 1.1.4; 1.1.6; 1.1.88; 1.1.92;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1.92.1 18-Feb-2012  mrg merge to -current.
 1.1.88.1 17-Apr-2012  yamt sync with head
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 17-Dec-2006  ad file ldscript was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 17-Dec-2006  yamt file ldscript was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
 1.1.2.2 18-Dec-2006  yamt sync with head.
 1.1.2.1 17-Dec-2006  yamt file ldscript was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
 1.13 11-Feb-2023  mlelstv Apply ldscript fixes for binutils-2.39. See PR 57223.
 1.12 03-Jan-2020  martin Drop CTF sections from this size restricted kernel (especially as the
size check is on the total size of the binary, not any content/sections -
is this a bug?)
Compile with -O2 by default (to shrink the kernel to a usable size again
and unbreak the build)
 1.11 23-Aug-2015  uebayasi branches: 1.11.18;
Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH.
 1.10 22-Aug-2015  uebayasi .rel/.rela should not be generated in kernels.
 1.9 22-Aug-2015  uebayasi According to matt@, .ARM.{extab,exidx} are no longer used.
 1.8 21-Aug-2015  uebayasi Simplify this by deciding load address at one place.
 1.7 20-Aug-2015  uebayasi Indent with 2 spaces.
 1.6 20-Aug-2015  uebayasi Kill trailing whitespaces.
 1.5 30-Jan-2014  matt branches: 1.5.6;
Put EHABI exception tables at the end of text.
provide __exidx_start and __exidx_end symbols.
 1.4 03-Oct-2013  christos delete eh_frame gunk, which hopefully will make the kernel small enough to boot.
 1.3 20-Jan-2012  nonaka branches: 1.3.6; 1.3.10;
Kernel load address can be changed now.
 1.2 17-Dec-2006  peter branches: 1.2.60; 1.2.64;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1 16-Dec-2006  ober Zaurus Port from OpenBSD by Nonaka Kimihiro
OK gimpy
 1.2.64.1 18-Feb-2012  mrg merge to -current.
 1.2.60.2 22-May-2014  yamt 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")
 1.2.60.1 17-Apr-2012  yamt sync with head
 1.3.10.1 18-May-2014  rmind sync with head
 1.3.6.2 03-Dec-2017  jdolecek update from HEAD
 1.3.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.6.1 22-Sep-2015  skrll Sync with HEAD
 1.11.18.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.12 29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.11 04-Apr-2020  jdolecek branches: 1.11.8;
mark nsmb major obsolete
 1.10 29-Jan-2020  maya remove urio(4), a driver for the Rio500 MP3 player.

At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
 1.9 28-Jan-2019  dholland branches: 1.9.6;
Systematize handling of removed drivers.

- Every driver that was removed and whose number hasn't already been
reused is now listed with a commented-out "obsolete" line.
- The format of these has been systematized. Future format changes can
probably be safely done with a script.
- This does not include a few cases of assignments that only lasted a
couple days, or stuff from before major reorgs. Some of these may
be included nonetheless, because there was a lot of ground to cover
and therefore not a lot of time to dig into history in detail.

Note that the obsolete listings do not mean the major numbers can
never be reused; that's up to portmasters and/or core. It does mean
that they won't be reused by accident, however, which in some cases
(depending on the driver, how widely used it was, its family of device
nodes, their default permissions, etc.) can be quite dangerous.

Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
 1.8 23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.7 23-Apr-2015  pgoyette branches: 1.7.16; 1.7.18;
Update device dependency information - the sysmon major device now depends on the sysmon module itself, not on the individual components.
 1.6 30-Jun-2011  wiz branches: 1.6.12; 1.6.30;
dependant -> dependent
 1.5 06-Mar-2010  plunky use a MI major number for uhso(4) driver
(requested by mrg)
 1.4 06-Mar-2010  plunky add major device for usho(4) driver
 1.3 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.2 31-Dec-2007  ad branches: 1.2.6; 1.2.10; 1.2.16; 1.2.18;
Remove systrace. Ok core@.
 1.1 16-Dec-2006  ober branches: 1.1.2; 1.1.4; 1.1.6; 1.1.26; 1.1.30; 1.1.36; 1.1.42;
Zaurus Port from OpenBSD by Nonaka Kimihiro
OK gimpy
 1.1.42.1 02-Jan-2008  bouyer Sync with HEAD
 1.1.36.1 18-Feb-2008  mjf Sync with HEAD.
 1.1.30.1 09-Jan-2008  matt sync with HEAD
 1.1.26.1 28-Feb-2008  rjs Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 16-Dec-2006  ad file majors.zaurus was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.1.4.3 21-Jan-2008  yamt sync with head
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 16-Dec-2006  yamt file majors.zaurus was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
 1.1.2.2 18-Dec-2006  yamt sync with head.
 1.1.2.1 16-Dec-2006  yamt file majors.zaurus was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
 1.2.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.2.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.10.1 04-May-2009  yamt sync with head.
 1.2.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.6.30.1 06-Jun-2015  skrll Sync with HEAD
 1.6.12.1 03-Dec-2017  jdolecek update from HEAD
 1.7.18.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.7.18.1 10-Jun-2019  christos Sync with HEAD
 1.7.16.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.9.6.1 29-Feb-2020  ad Sync with head.
 1.11.8.1 01-Aug-2021  thorpej Sync with HEAD.
 1.4 20-Jan-2012  nonaka Kernel load address can be changed now.
 1.3 27-Jan-2008  chris branches: 1.3.44; 1.3.48;
Add an arm/conf/std.arm file which contains common arm options, initially
just options CPU_IN_CKSUM.

Include std.arm in all arm platform std files.

This should reenable the asm in_cksum code for all arm platforms.

Also remove the now unused in_cksum_arm.S.
 1.2 17-Dec-2006  peter branches: 1.2.2; 1.2.4; 1.2.6; 1.2.26; 1.2.30; 1.2.36;
Update from the latest Zaurus source from NONAKA Kimihiro.

- LCD screen and keyboard are working now.
- Add bootstrap loader.
 1.1 16-Dec-2006  ober Zaurus Port from OpenBSD by Nonaka Kimihiro
OK gimpy
 1.2.36.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.30.1 23-Mar-2008  matt sync with HEAD
 1.2.26.1 28-Feb-2008  rjs Sync with HEAD.
 1.2.6.2 12-Jan-2007  ad Sync with head.
 1.2.6.1 17-Dec-2006  ad file std.zaurus was added on branch newlock2 on 2007-01-12 01:01:03 +0000
 1.2.4.3 04-Feb-2008  yamt sync with head.
 1.2.4.2 30-Dec-2006  yamt sync with head.
 1.2.4.1 17-Dec-2006  yamt file std.zaurus was added on branch yamt-lazymbuf on 2006-12-30 20:47:28 +0000
 1.2.2.2 18-Dec-2006  yamt sync with head.
 1.2.2.1 17-Dec-2006  yamt file std.zaurus was added on branch yamt-splraiseipl on 2006-12-18 11:42:09 +0000
 1.3.48.1 18-Feb-2012  mrg merge to -current.
 1.3.44.1 17-Apr-2012  yamt sync with head

RSS XML Feed