Commit Graph

260 Commits

Author SHA1 Message Date
wiz 4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
bouyer 063f96f3c2 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.
2011-03-06 17:08:10 +00:00
tsutsui e1901f8e74 Remove trailing spaces. 2011-03-06 14:58:42 +00:00
matt 7641af9757 Merge forward from matt-nb5-mips64.
Adapt to new interrupt/spl framework.
Add LP64 support.
2011-02-20 07:52:42 +00:00
hannken afdfce8e3b Remove unused count from pseudo-device md. 2010-11-23 11:13:52 +00:00
tsutsui 0df969c624 Include files.ieee1394. 2010-11-02 15:50:09 +00:00
mrg 309c6e11b7 enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
2010-05-08 22:16:25 +00:00
pooka 835e533be4 Remove unused count (invariably "4") from pseudo-device fss. 2010-04-16 13:48:27 +00:00
he 26717af9ee Can't negate a now non-existent file system (PORTALFS was removed). 2009-12-07 08:50:01 +00:00
pooka 70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
joerg f5b0fec0e0 Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
2009-03-06 20:31:46 +00:00
jym 92ae85d18e 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.
2009-02-06 18:50:26 +00:00
mrg c6a4afa995 add COMPAT_50 to all the configs with COMPAT_40. 2009-01-24 05:06:05 +00:00
ad 6ba528b5bc Remove softdep, pass 1. We are focused on improving journalling.
Proposed on tech-kern@.
2008-11-24 11:41:07 +00:00
tsutsui 0fe756618b It looks the ARC BIOS has another limit which prevents loading
a kernel larger than 8MB (it is not emulated by gxemul BTW),
so disable several devices in GENERIC and shrink RAMDISK kernel again
by sprinkled "no" keywords etc.
2008-11-20 13:57:09 +00:00
ad 0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
tsutsui e534d5e65b Enable more PCI devices. 2008-09-15 04:42:58 +00:00
tsutsui 837dff7f8c Enable options TMPFS. 2008-09-15 04:08:55 +00:00
tsutsui 3a125a98e1 Add CPUFLAGS to optimize for mips3 since no mips1 machines on this port. 2008-08-30 03:14:44 +00:00
tls fca9d633b9 Add accept filters to GENERIC kernels where they exist. 2008-08-10 15:31:20 +00:00
simonb 0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
drochner bb33f35f20 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.
2008-02-20 21:43:33 +00:00
tsutsui 6d8f3f878b Make RAMDISK config to just include GENERIC and have md_root stuff again.
We have had the native bootloader and we no longer have size restriction.
2008-02-02 04:25:54 +00:00
joerg 6e869e402d Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
  They call a backend function cpu_in_cksum after possibly
  computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
  The default implementation is moderate fast on most platforms
  and provides a 32bit accumulator with 16bit addends for L32 platforms
  and a 64bit accumulator with 32bit addends for L64 platforms.
  It handles edge cases like very large mbuf chains (could happen with
  native IPv6 in the future) and provides a good base for new native
  implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.
2008-01-25 21:12:10 +00:00
ad 2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
xtraeme 4ba09b41c3 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.
2007-11-04 14:34:19 +00:00
garbled d974db0ada 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.
2007-10-17 19:52:51 +00:00
tsutsui c445dff46f Add (commented out) options RAID_AUTOCONFIG. 2007-08-22 12:43:00 +00:00
adrianp 475217d719 Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
2007-08-06 21:26:53 +00:00
tsutsui 6a8a584d1a Remove leftover netns stuff. 2007-07-07 05:13:14 +00:00
tsutsui a6d1baeba9 Add options COMPAT_40. 2007-06-26 12:12:58 +00:00
martin c2534a819b Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
2007-06-04 08:55:18 +00:00
macallan d4ddadbf9d include files.wsfb 2007-04-10 02:19:03 +00:00
tsutsui 52db0b4730 Add ld(4) and some RAID devices (to debug EISA stuff with mlx(4)). 2007-03-04 03:03:46 +00:00
wiz 6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
jmmv 7a13fe4abf Remove tmpfs's experimental status. OK'ed by core@. 2006-11-11 18:47:08 +00:00
manu f309b668fd - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
2006-09-27 21:42:04 +00:00
gdamore 17d511c8a9 Convert arc to timecounters, using common mips3 timecounters. We have not
converted the platform to use the MIPS3 cp0 for the hardclock interrupt yet,
but that should be done as well.  In the meantime, there are no functional
changes.
2006-09-09 00:47:54 +00:00
gdamore 57933cb8b6 Convert to MI todr framework. 2006-09-03 18:12:48 +00:00
christos e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui 6ff205ce76 Remove obsolete #options VERIFIED_EXEC, found by grep(1). 2006-08-26 07:59:21 +00:00
christos b300b74469 Disable SYSTRACE by default on all kernels (discussed with core) 2006-08-12 15:29:52 +00:00
tsutsui 84180e1158 - reorganize bootinfo structures and fix bootinfo handling in bootloader
(mostly based on pmax)
- pass symbol info from bootloader to kernel via bootinfo
  (currently bootinfo is allocated in the bootloader and
   copied by kernel later; maybe we should rethink about this)
- use passed bootinfo to initialize ksyms(4) in kernel
- remove options SYMTAB_SPACE from kernel config files
- bump bootloader version
2006-07-22 18:15:05 +00:00
he 22e14a460c Add 8k more SYMTAB_SPACE so that it fits again. 2006-07-09 16:52:54 +00:00
liamjfoy aeee5deab9 Add CARP to GENERIC kernel configs. CARP is not enabled by default.
ok: christos
2006-06-28 15:19:27 +00:00
tsutsui 82f68c0092 Rename arc_trap.c to interrupt.c, which derived from ancient pica_trap.c
but currently contains only interrupt stuff. Ok'ed by soda.
2006-06-25 16:11:41 +00:00
tsutsui 2a8a21a021 Misc minor cleanup for arc interrupt handlers:
- always enable options MIPS3_ENABLE_CLOCK_INTR and just clear the compare
  register in cpu_intr() to make CLKF_BASE() works
  properly
- prepare only possible number of cpu_inttab
- use macro for interrupt priority number passed to arc_set_intr()
  to avoid confusion
- merge arc_hardware_intr() into cpu_intr()
- check independent timer interrupt first in cpu_intr()
- tweak MIPS_SR_INT_IE before calling hardclock timer handlers so that
  spllowersoftclock(9) will be invoked properly in hardclock(9)
- reenable interrupt for timer in cpu_intr() rather than each timer handlers

okay'ed by soda.

Note the real fix is to make CLKF_BASE() check all independent
interrupt sources including jazz and isa devices.
2006-06-24 03:50:38 +00:00
tsutsui 8ce1487a46 Move arcsisabr.c from arc/isa to arc/dti because it's DescStation specific. 2006-06-12 15:04:40 +00:00
tsutsui f6e0502337 - use CPUFLAGS rather than CFLAGS/AFLAGS
- specify "-march=r4000 -mabi=32" rather than -mips2
2006-06-11 05:03:20 +00:00
tsutsui 78354f8518 Add bmtphy at mii, found on 3Com 3C982-TXM:
> bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 7
2006-04-15 12:58:26 +00:00