head 1.31; access; symbols netbsd-11-0-RC5:1.31 netbsd-11-0-RC4:1.31 netbsd-11-0-RC3:1.31 netbsd-11-0-RC2:1.31 netbsd-11-0-RC1:1.31 perseant-exfatfs-base-20250801:1.31 netbsd-11:1.31.0.4 netbsd-11-base:1.31 netbsd-10-1-RELEASE:1.29 perseant-exfatfs-base-20240630:1.31 perseant-exfatfs:1.31.0.2 perseant-exfatfs-base:1.31 netbsd-8-3-RELEASE:1.22 netbsd-9-4-RELEASE:1.27 netbsd-10-0-RELEASE:1.29 netbsd-10-0-RC6:1.29 netbsd-10-0-RC5:1.29 netbsd-10-0-RC4:1.29 netbsd-10-0-RC3:1.29 netbsd-10-0-RC2:1.29 thorpej-ifq:1.30.0.4 thorpej-ifq-base:1.30 thorpej-altq-separation:1.30.0.2 thorpej-altq-separation-base:1.30 netbsd-10-0-RC1:1.29 netbsd-10:1.29.0.4 netbsd-10-base:1.29 bouyer-sunxi-drm:1.29.0.2 bouyer-sunxi-drm-base:1.29 netbsd-9-3-RELEASE:1.27 thorpej-i2c-spi-conf2:1.27.0.24 thorpej-i2c-spi-conf2-base:1.27 thorpej-futex2:1.27.0.22 thorpej-futex2-base:1.27 thorpej-cfargs2:1.27.0.20 thorpej-cfargs2-base:1.27 cjep_sun2x-base1:1.27 cjep_sun2x:1.27.0.18 cjep_sun2x-base:1.27 cjep_staticlib_x-base1:1.27 netbsd-9-2-RELEASE:1.27 cjep_staticlib_x:1.27.0.16 cjep_staticlib_x-base:1.27 thorpej-i2c-spi-conf:1.27.0.14 thorpej-i2c-spi-conf-base:1.27 thorpej-cfargs:1.27.0.12 thorpej-cfargs-base:1.27 thorpej-futex:1.27.0.10 thorpej-futex-base:1.27 netbsd-9-1-RELEASE:1.27 bouyer-xenpvh-base2:1.27 phil-wifi-20200421:1.27 bouyer-xenpvh-base1:1.27 phil-wifi-20200411:1.27 bouyer-xenpvh:1.27.0.8 bouyer-xenpvh-base:1.27 is-mlppp:1.27.0.6 is-mlppp-base:1.27 phil-wifi-20200406:1.27 netbsd-8-2-RELEASE:1.22 ad-namecache-base3:1.27 netbsd-9-0-RELEASE:1.27 netbsd-9-0-RC2:1.27 ad-namecache-base2:1.27 ad-namecache-base1:1.27 ad-namecache:1.27.0.4 ad-namecache-base:1.27 netbsd-9-0-RC1:1.27 phil-wifi-20191119:1.27 netbsd-9:1.27.0.2 netbsd-9-base:1.27 phil-wifi-20190609:1.27 netbsd-8-1-RELEASE:1.22 netbsd-8-1-RC1:1.22 isaki-audio2:1.26.0.2 isaki-audio2-base:1.26 pgoyette-compat-merge-20190127:1.25.2.1 pgoyette-compat-20190127:1.26 pgoyette-compat-20190118:1.26 pgoyette-compat-1226:1.26 pgoyette-compat-1126:1.26 pgoyette-compat-1020:1.26 pgoyette-compat-0930:1.26 pgoyette-compat-0906:1.26 netbsd-7-2-RELEASE:1.14.4.1 pgoyette-compat-0728:1.25 netbsd-8-0-RELEASE:1.22 phil-wifi:1.25.0.4 phil-wifi-base:1.25 pgoyette-compat-0625:1.25 netbsd-8-0-RC2:1.22 pgoyette-compat-0521:1.25 pgoyette-compat-0502:1.25 pgoyette-compat-0422:1.25 netbsd-8-0-RC1:1.22 pgoyette-compat-0415:1.25 pgoyette-compat-0407:1.25 pgoyette-compat-0330:1.25 pgoyette-compat-0322:1.25 pgoyette-compat-0315:1.25 netbsd-7-1-2-RELEASE:1.14.4.1 pgoyette-compat:1.25.0.2 pgoyette-compat-base:1.25 netbsd-7-1-1-RELEASE:1.14.4.1 tls-maxphys-base-20171202:1.24 matt-nb8-mediatek:1.22.0.10 matt-nb8-mediatek-base:1.22 nick-nhusb-base-20170825:1.23 perseant-stdc-iso10646:1.22.0.8 perseant-stdc-iso10646-base:1.22 netbsd-8:1.22.0.6 netbsd-8-base:1.22 prg-localcount2-base3:1.22 prg-localcount2-base2:1.22 prg-localcount2-base1:1.22 prg-localcount2:1.22.0.4 prg-localcount2-base:1.22 pgoyette-localcount-20170426:1.22 bouyer-socketcan-base1:1.22 jdolecek-ncq:1.22.0.2 jdolecek-ncq-base:1.22 pgoyette-localcount-20170320:1.22 netbsd-7-1:1.14.4.1.0.6 netbsd-7-1-RELEASE:1.14.4.1 netbsd-7-1-RC2:1.14.4.1 nick-nhusb-base-20170204:1.21 netbsd-7-nhusb-base-20170116:1.14.4.1 bouyer-socketcan:1.21.0.4 bouyer-socketcan-base:1.21 pgoyette-localcount-20170107:1.21 netbsd-7-1-RC1:1.14.4.1 nick-nhusb-base-20161204:1.21 pgoyette-localcount-20161104:1.21 netbsd-7-0-2-RELEASE:1.14.4.1 nick-nhusb-base-20161004:1.21 localcount-20160914:1.21 netbsd-7-nhusb:1.14.4.1.0.4 netbsd-7-nhusb-base:1.14.4.1 pgoyette-localcount-20160806:1.21 pgoyette-localcount-20160726:1.21 pgoyette-localcount:1.21.0.2 pgoyette-localcount-base:1.21 nick-nhusb-base-20160907:1.21 nick-nhusb-base-20160529:1.21 netbsd-7-0-1-RELEASE:1.14.4.1 nick-nhusb-base-20160422:1.21 nick-nhusb-base-20160319:1.21 nick-nhusb-base-20151226:1.21 netbsd-7-0:1.14.4.1.0.2 netbsd-7-0-RELEASE:1.14.4.1 nick-nhusb-base-20150921:1.21 netbsd-7-0-RC3:1.14.4.1 netbsd-7-0-RC2:1.14.4.1 netbsd-7-0-RC1:1.14.4.1 nick-nhusb-base-20150606:1.20 nick-nhusb-base-20150406:1.20 nick-nhusb:1.18.0.2 nick-nhusb-base:1.18 netbsd-7:1.14.0.4 netbsd-7-base:1.14 yamt-pagecache-base9:1.14 yamt-pagecache-tag8:1.8.2.2 tls-earlyentropy:1.14.0.2 tls-earlyentropy-base:1.14 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.14 riastradh-drm2-base3:1.14 rmind-smpnet-nbase:1.14 riastradh-drm2-base2:1.12 riastradh-drm2-base1:1.12 riastradh-drm2:1.12.0.2 riastradh-drm2-base:1.12 rmind-smpnet:1.11.0.2 rmind-smpnet-base:1.14 khorben-n900:1.10.0.4 agc-symver:1.10.0.2 agc-symver-base:1.10 yamt-pagecache-base8:1.8 yamt-pagecache-base7:1.8 yamt-pagecache:1.8.0.2 yamt-pagecache-base6:1.8 tls-maxphys:1.7.0.2 tls-maxphys-base:1.14; locks; strict; comment @# @; 1.31 date 2024.01.29.18.27.12; author christos; state Exp; branches; next 1.30; commitid KXsF1U1D4DhafnWE; 1.30 date 2023.02.09.14.09.48; author abs; state Exp; branches; next 1.29; commitid TaTOPEdyZJGxcRcE; 1.29 date 2022.09.29.10.10.07; author riastradh; state Exp; branches; next 1.28; commitid I1zvTyF77D5Z9KVD; 1.28 date 2022.08.07.02.52.25; author simonb; state Exp; branches; next 1.27; commitid HXKRRXLciPDtrTOD; 1.27 date 2019.04.26.21.40.29; author sevan; state Exp; branches; next 1.26; commitid 6ehTybiQEayJbUkB; 1.26 date 2018.08.01.20.04.11; author maxv; state Exp; branches; next 1.25; commitid UbIHSaPqOzfNisMA; 1.25 date 2018.02.05.15.18.10; author maxv; state Exp; branches 1.25.2.1 1.25.4.1; next 1.24; commitid Q9pwWszEM6appGpA; 1.24 date 2017.09.14.07.58.40; author mrg; state Exp; branches; next 1.23; commitid ngZ6fHXwTqlZA87A; 1.23 date 2017.07.29.18.08.57; author maxv; state Exp; branches; next 1.22; commitid OtoNC1YDOrKHu91A; 1.22 date 2017.02.19.07.47.00; author rin; state Exp; branches; next 1.21; commitid ivCr5u3yfBMzbxGz; 1.21 date 2015.06.26.21.54.41; author matt; state Exp; branches 1.21.2.1 1.21.4.1; next 1.20; commitid 4EhICbMqLdiTiZqy; 1.20 date 2015.01.30.14.54.46; author nonaka; state Exp; branches; next 1.19; commitid RnDOp1zo3jFJH38y; 1.19 date 2014.12.26.11.56.14; author nonaka; state Exp; branches; next 1.18; commitid sgUvtqCkU0YfQx3y; 1.18 date 2014.08.24.07.59.22; author jnemeth; state Exp; branches 1.18.2.1; next 1.17; commitid SkWajjUme0wZtANx; 1.17 date 2014.08.23.20.26.57; author dholland; state Exp; branches; next 1.16; commitid Ef5fhfmsGe1uFwNx; 1.16 date 2014.08.17.21.17.43; author joerg; state Exp; branches; next 1.15; commitid 1Tn1qthIdwV09LMx; 1.15 date 2014.08.16.17.56.32; author apb; state Exp; branches; next 1.14; commitid gjT9TWtCibuK4CMx; 1.14 date 2014.03.06.23.30.28; author joerg; state Exp; branches 1.14.4.1; next 1.13; commitid wlpD3W0py0lmaHrx; 1.13 date 2014.03.06.19.55.37; author matt; state Exp; branches; next 1.12; commitid JRYzyzbHSDfHYFrx; 1.12 date 2013.06.30.21.38.56; author rmind; state Exp; branches; next 1.11; commitid WyqSRDp14EmayGVw; 1.11 date 2013.06.05.23.08.01; author christos; state Exp; branches 1.11.2.1; next 1.10; commitid MDKdYakvaqdHQtSw; 1.10 date 2013.03.02.02.42.13; author christos; state Exp; branches; next 1.9; 1.9 date 2013.03.01.18.25.38; author joerg; state Exp; branches; next 1.8; 1.8 date 2012.10.17.14.48.11; author apb; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 2012.08.17.20.11.39; author abs; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2012.07.24.22.37.08; author matt; state Exp; branches; next 1.5; 1.5 date 2012.07.22.23.46.10; author matt; state Exp; branches; next 1.4; 1.4 date 2012.07.18.19.39.54; author matt; state Exp; branches; next 1.3; 1.3 date 2012.07.18.16.59.41; author matt; state Exp; branches; next 1.2; 1.2 date 2012.07.17.01.36.12; author matt; state Exp; branches; next 1.1; 1.1 date 2012.07.15.08.44.56; author matt; state Exp; branches; next ; 1.25.2.1 date 2018.09.06.06.55.33; author pgoyette; state Exp; branches; next ; commitid HCi1bXD317XIK0RA; 1.25.4.1 date 2019.06.10.22.06.13; author christos; state Exp; branches; next ; commitid jtc8rnCzWiEEHGqB; 1.21.2.1 date 2017.03.20.06.57.14; author pgoyette; state Exp; branches; next ; commitid jjw7cAwgyKq7RfKz; 1.21.4.1 date 2017.04.21.16.53.26; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; 1.18.2.1 date 2015.04.06.15.17.56; author skrll; state Exp; branches; next 1.18.2.2; commitid pz01Zhy7RP6iGxgy; 1.18.2.2 date 2015.09.22.12.05.42; author skrll; state Exp; branches; next 1.18.2.3; commitid CpNWKp3ozVNTafCy; 1.18.2.3 date 2017.08.28.17.51.37; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; 1.14.4.1 date 2015.05.15.03.44.18; author snj; state Exp; branches; next ; commitid ro7V5s9WBO35Culy; 1.11.2.1 date 2013.08.28.23.59.16; author rmind; state Exp; branches; next 1.11.2.2; commitid cbp9Ov2uYijlqh3x; 1.11.2.2 date 2014.05.18.17.45.06; author rmind; state Exp; branches; next ; commitid mL5ZYSzpqK6QS2Bx; 1.8.2.1 date 2012.10.17.14.48.11; author yamt; state dead; branches; next 1.8.2.2; 1.8.2.2 date 2012.10.30.17.19.30; author yamt; state Exp; branches; next 1.8.2.3; 1.8.2.3 date 2014.05.22.11.39.45; author yamt; state Exp; branches; next ; commitid VUUXuyNWnt3AKwBx; 1.7.2.1 date 2012.11.20.03.01.19; author tls; state Exp; branches; next 1.7.2.2; 1.7.2.2 date 2013.06.23.06.20.05; author tls; state Exp; branches; next 1.7.2.3; commitid eVjr9caYRQbRGHUw; 1.7.2.3 date 2014.08.20.00.02.59; author tls; state Exp; branches; next 1.7.2.4; commitid jTnpym9Qu0o4R1Nx; 1.7.2.4 date 2017.12.03.11.36.11; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; desc @@ 1.31 log @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. @ text @# $NetBSD: TWRP1025,v 1.30 2023/02/09 14:09:48 abs Exp $ # # TWRP1025 -- everything that's currently supported # include "arch/evbppc/conf/std.mpc85xx" options INCLUDE_CONFIG_FILE # embed config file in kernel binary ident "TWRP1025-$Revision: 1.30 $" maxusers 32 makeoptions NEED_BINARY="yes" makeoptions NEED_UBOOTIMAGE="yes" #options UVMHIST #options UVMHIST_PRINT options P1025 options SYS_CLK=66666667 #options HZ=1000 #options INSECURE # disable kernel security levels #options NTP # NTP phase/frequency locked loop options KTRACE # system call tracing via ktrace(1) options MODULAR # new style module(7) framework options MODULAR_DEFAULT_AUTOLOAD options SYSVMSG # System V message queues options SYSVSEM # System V semaphores options SYSVSHM # System V shared memory options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN # Diagnostic/debugging support options options DIAGNOSTIC # cheap kernel consistency checks options DEBUG # expensive debugging checks/support #options SYSCALL_DEBUG # syscall debugging options DDB # in-kernel debugger options DDB_HISTORY_SIZE=512 # enable history editing in DDB options TRAP_PANICWAIT makeoptions COPY_SYMTAB=1 # size for embedded symbol table makeoptions DEBUG="-g" # compile full symbol table # Compatibility options include "conf/compat_netbsd13.config" #options COMPAT_386BSD_MBRPART # recognize old partition ID # Wedge support options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges # File systems file-system FFS # UFS file-system EXT2FS # second extended file system (linux) file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network File System client file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system TMPFS # efficient memory file system file-system KERNFS # /kern file-system NULLFS # loopback file system #file-system OVERLAY # overlay file system #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) file-system PROCFS # /proc #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system PTYFS # /dev/pts/N support # File system options options FFS_EI # FFS Endian Independent support #options FFS_NO_SNAPSHOT # No FFS snapshot support options QUOTA # legacy UFS quotas options QUOTA2 # new, in-filesystem UFS quotas #options UFS_DIRHASH # UFS Large Directory Hashing #options UFS_EXTATTR # Extended attribute support for UFS1 options WAPBL # File system journaling support #options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental #options DISKLABEL_EI # disklabel Endian Independent support options NFSSERVER # Network File System server options NFS_BOOT_DHCP # Support DHCP NFS root # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET_CSUM_COUNTERS options TCP_CSUM_COUNTERS options UDP_CSUM_COUNTERS options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options NETATALK # AppleTalk networking protocols #options PPP_BSDCOMP # BSD-Compress compression support for PPP #options PPP_DEFLATE # Deflate compression support for PPP #options PPP_FILTER # Active filter support for PPP (requires bpf) #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG # These options enable verbose messages for several subsystems. # Warning, these may compile large string tables into the kernel! options PCIVERBOSE # verbose PCI device autoconfig messages options MIIVERBOSE # verbose PHY autoconfig messages #options PCI_CONFIG_DUMP # verbosely dump PCI config space options SCSIVERBOSE # human readable SCSI error messages #options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices #options PCI_CONFIGURE_VERBOSE # Show PCI config information # wscons options #options WSEMUL_SUN # sun terminal emulation #options WSEMUL_VT100 # VT100 / VT220 emulation #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling # Kernel root file system and dump configuration. config netbsd root on ? type ? config netbsd-ld0a root on ld0a type ffs config netbsd-sd0a root on sd0a type ffs config nfsnetbsd root on tsec0 type nfs # # Device configuration # mainbus0 at root # Processor Local Bus cpunode* at mainbus? node ? gpio* at gpiobus? cpu* at cpunode? obio0 at cpunode? # On-chip Peripheral Bus #nandfcm* at obio0 cs ? # nand flash #nand* at nandfcm? #flash* at nand? # NOR Flash #options NOR_VERBOSE cfi0 at obio0 cs 0 nor* at cfi? flash* at nor? offset 0 size 0x4000000 e500wdog* at cpunode? # Watchdog timer ddrc* at cpunode? duart* at cpunode? com* at duart? port ? options CONSADDR="DUART1_BASE" mdio0 at cpunode? instance 1 tsec0 at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller tsec1 at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller atphy* at mii? ukphy* at mii? #options ETSEC_EVENT_COUNTERS diic* at cpunode? # i2c bus iic* at diic? #dsrtc* at iic1 addr 0x68 flags 1339 # RTC DS1339 pq3pcie* at cpunode? # PCI-Express controller pci* at pq3pcie? ppb* at pci? dev ? function ? # PCI-PCI bridges pci* at ppb? ahcisata* at pci? dev ? function ? atabus* at ahcisata? channel ? wd* at atabus? drive ? ehci* at cpunode? # usb usb* at ehci? uhub* at usb? uhub* at uhub? port ? umass* at uhub? port ? scsibus* at umass? channel ? sd* at scsibus? target ? lun ? #options SDHC_DEBUG #options SDMMC_DEBUG sdhc* at cpunode? # sdmmc sdmmc* at sdhc? # SD/MMC bus ld* at sdmmc? #siisata* at pci? dev ? function ? #atabus* at siisata? channel ? #jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers #ahcisata* at jmide? #atabus* at ahcisata? channel ? #viaide* at pci? dev ? function ? #atabus* at viaide? channel ? #wd* at atabus? drive ? #rtk* at pci? dev ? function ? #wm* at pci? dev ? function ? # Intel Ethernet #inphy* at mii? phy ? # Intel 82555 PHYs #iophy* at mii? phy ? # Intel 82553 PHYs #makphy* at mii? phy ? # Marvell PHYs #ukphy* at mii? phy ? # generic unknown PHYs pseudo-device loop # network loopback pseudo-device bpfilter # packet filter pseudo-device carp # Common Address Redundancy Protocol pseudo-device clockctl # user control of clock subsystem pseudo-device drvctl # user control of drive subsystem pseudo-device ksyms # /dev/ksyms pseudo-device pty # pseudo-terminals pseudo-device kttcp # kernel ttcp pseudo-device vlan # 802.1Q VLANs pseudo-device lockstat # lock profiling pseudo-device swwdog # software watchdog timer -- swwdog(4) include "dev/veriexec.config" # Pull in optional local configuration - always at end cinclude "arch/evbppc/conf/TWRP1025.local" @ 1.30 log @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 @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.29 2022/09/29 10:10:07 riastradh Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.29 $" a89 2 options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and # immutable) behave as system flags. @ 1.29 log @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 @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.28 2022/08/07 02:52:25 simonb Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.28 $" d229 1 @ 1.28 log @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. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.27 2019/04/26 21:40:29 sevan Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.27 $" d225 1 @ 1.27 log @Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs. On ports without a GENERIC kernel config enable in individul files, e.g evbmips. Omit on: atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k, mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource constraints or port infancy. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.26 2018/08/01 20:04:11 maxv Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.26 $" d82 2 d86 2 a87 2 #options DISKLABEL_EI # disklabel Endian Independent support options FFS_EI # FFS Endian Independent support d89 1 a89 2 options NFSSERVER # Network File System server #options FFS_NO_SNAPSHOT # No FFS snapshot support d92 2 @ 1.26 log @Unreference IPF/PF from all the config files, and enable NPF instead when wanted. This also fixes some inconsistencies I saw in several files (eg IPF options while IPF was not compiled, IPF+PF enabled by default, etc). @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.25 2018/02/05 15:18:10 maxv Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.25 $" d38 5 d214 1 d223 2 @ 1.25 log @Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It probably wouldn't have built correctly anyway, since there is no associated defflag. These ten lines of code in ip_input.c already look a lot better. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.24 2017/09/14 07:58:40 mrg Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.24 $" a103 2 #options IPFILTER_LOG # ipmon(8) log support #options IPFILTER_LOOKUP # ippool(8) support @ 1.25.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.27 2019/04/26 21:40:29 sevan Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.27 $" a37 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN d104 2 a210 1 pseudo-device carp # Common Address Redundancy Protocol a218 2 include "dev/veriexec.config" @ 1.25.2.1 log @Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes) @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.26 2018/08/01 20:04:11 maxv Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.26 $" d104 2 @ 1.24 log @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. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.23 2017/07/29 18:08:57 maxv Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.23 $" a99 1 #options DIRECTED_BROADCAST # allow broadcasts through routers @ 1.23 log @Remove TCP_COMPAT_42 from the config files. Pass 3. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.22 2017/02/19 07:47:00 rin Exp $ d6 1 a6 1 include "arch/evbppc/conf/std.mpc85xx" d10 1 a10 1 ident "TWRP1025-$Revision: 1.22 $" d50 1 a50 15 #options COMPAT_09 # NetBSD 0.9, #options COMPAT_10 # NetBSD 1.0, #options COMPAT_11 # NetBSD 1.1, #options COMPAT_12 # NetBSD 1.2, options COMPAT_13 # NetBSD 1.3, options COMPAT_14 # NetBSD 1.4, options COMPAT_15 # NetBSD 1.5, options COMPAT_16 # NetBSD 1.6, options COMPAT_20 # NetBSD 2.0, options COMPAT_30 # NetBSD 3.0, options COMPAT_40 # NetBSD 4.0, options COMPAT_50 # NetBSD 5.0, options COMPAT_60 # NetBSD 6.0, and options COMPAT_70 # NetBSD 7.0 binary compatibility. options COMPAT_43 # and 4.3BSD a51 1 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. d220 1 a220 1 cinclude "arch/evbppc/conf/TWRP1025.local" @ 1.22 log @PR kern/51208 Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for ALL on amd64 and i386. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.21 2015/06/26 21:54:41 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.21 $" a65 1 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. @ 1.21 log @Add cinlude TWRP1025.local @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.20 2015/01/30 14:54:46 nonaka Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.20 $" d95 1 @ 1.21.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.22 2017/02/19 07:47:00 rin Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.22 $" a94 1 #options DISKLABEL_EI # disklabel Endian Independent support @ 1.21.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.22 2017/02/19 07:47:00 rin Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.22 $" a94 1 #options DISKLABEL_EI # disklabel Endian Independent support @ 1.20 log @Added lockstat @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.19 2014/12/26 11:56:14 nonaka Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.19 $" d234 2 @ 1.19 log @Uncommented out INET6. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.18 2014/08/24 07:59:22 jnemeth Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.18 $" d233 1 @ 1.18 log @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. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.17 2014/08/23 20:26:57 dholland Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.17 $" d110 1 a110 1 #options INET6 # IPV6 @ 1.18.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.20 2015/01/30 14:54:46 nonaka Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.20 $" d110 1 a110 1 options INET6 # IPV6 a232 1 pseudo-device lockstat # lock profiling @ 1.18.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.18.2.1 2015/04/06 15:17:56 skrll Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.18.2.1 $" a233 2 cinclude "arch/evbppc/conf/TWRP1025.local" @ 1.18.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.18.2.2 2015/09/22 12:05:42 skrll Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.18.2.2 $" d66 1 a94 1 #options DISKLABEL_EI # disklabel Endian Independent support @ 1.17 log @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. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.16 2014/08/17 21:17:43 joerg Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.16 $" d28 1 @ 1.16 log @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. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.15 2014/08/16 17:56:32 apb Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.15 $" d60 3 a62 3 options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_70 # NetBSD 7.0 compatibility. @ 1.15 log @Add "options COMPAT_70" to all kernel configuration files that already had "options COMPAT_60". @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.14 2014/03/06 23:30:28 joerg Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.14 $" d44 1 a44 1 options SYMTAB_SPACE=410000 # size for embedded symbol table @ 1.14 log @Add config variant for root-on-SD. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.13 2014/03/06 19:55:37 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.13 $" d62 1 @ 1.14.4.1 log @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/) @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.14 2014/03/06 23:30:28 joerg Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.14 $" a27 1 options MODULAR_DEFAULT_AUTOLOAD @ 1.13 log @Add options MODULAR @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.12 2013/06/30 21:38:56 rmind Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.12 $" d138 1 @ 1.12 log @G/C PFIL_HOOKS from the kernel configs. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.11 2013/06/05 23:08:01 christos Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.11 $" d27 1 @ 1.11 log @remove obsolete networking options @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.10 2013/03/02 02:42:13 christos Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.10 $" a116 1 #options PFIL_HOOKS # pfil(9) packet filter hooks @ 1.11.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD$ d10 1 a10 1 ident "TWRP1025-$Revision$" d117 1 @ 1.11.2.2 log @sync with head @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.11.2.1 2013/08/28 23:59:16 rmind Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.11.2.1 $" a26 1 options MODULAR # new style module(7) framework a136 1 config netbsd-ld0a root on ld0a type ffs @ 1.10 log @Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.9 2013/03/01 18:25:38 joerg Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.9 $" a108 1 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) @ 1.9 log @Retire OSI network stack. OK core@@ @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.8 2012/10/17 14:48:11 apb Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.8 $" a108 1 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) @ 1.8 log @Add "options COMPAT_60" to all kernel configuration files that already had "options COMPAT_50". @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.7 2012/08/17 20:11:39 abs Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.7 $" a114 2 #options ISO,TPIP # OSI #options EON # OSI tunneling over IP @ 1.8.2.1 log @file TWRP1025 was added on branch yamt-pagecache on 2012-10-30 17:19:30 +0000 @ text @d1 233 @ 1.8.2.2 log @sync with head @ text @a0 233 # $NetBSD$ # # TWRP1025 -- everything that's currently supported # include "arch/evbppc/conf/std.mpc85xx" options INCLUDE_CONFIG_FILE # embed config file in kernel binary ident "TWRP1025-$Revision$" maxusers 32 makeoptions NEED_BINARY="yes" makeoptions NEED_UBOOTIMAGE="yes" #options UVMHIST #options UVMHIST_PRINT options P1025 options SYS_CLK=66666667 #options HZ=1000 #options INSECURE # disable kernel security levels #options NTP # NTP phase/frequency locked loop options KTRACE # system call tracing via ktrace(1) options SYSVMSG # System V message queues options SYSVSEM # System V semaphores options SYSVSHM # System V shared memory options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel # Diagnostic/debugging support options options DIAGNOSTIC # cheap kernel consistency checks options DEBUG # expensive debugging checks/support #options SYSCALL_DEBUG # syscall debugging options DDB # in-kernel debugger options DDB_HISTORY_SIZE=512 # enable history editing in DDB options TRAP_PANICWAIT options SYMTAB_SPACE=410000 # size for embedded symbol table makeoptions DEBUG="-g" # compile full symbol table # Compatibility options #options COMPAT_09 # NetBSD 0.9, #options COMPAT_10 # NetBSD 1.0, #options COMPAT_11 # NetBSD 1.1, #options COMPAT_12 # NetBSD 1.2, options COMPAT_13 # NetBSD 1.3, options COMPAT_14 # NetBSD 1.4, options COMPAT_15 # NetBSD 1.5, options COMPAT_16 # NetBSD 1.6, options COMPAT_20 # NetBSD 2.0, options COMPAT_30 # NetBSD 3.0, options COMPAT_40 # NetBSD 4.0, options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_43 # and 4.3BSD #options COMPAT_386BSD_MBRPART # recognize old partition ID #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. # Wedge support options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges # File systems file-system FFS # UFS file-system EXT2FS # second extended file system (linux) file-system LFS # log-structured file system file-system MFS # memory file system file-system NFS # Network File System client file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system TMPFS # efficient memory file system file-system KERNFS # /kern file-system NULLFS # loopback file system #file-system OVERLAY # overlay file system #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) file-system PROCFS # /proc #file-system UMAPFS # NULLFS + uid and gid remapping #file-system UNION # union file system file-system PTYFS # /dev/pts/N support # File system options options QUOTA # legacy UFS quotas options QUOTA2 # new, in-filesystem UFS quotas options FFS_EI # FFS Endian Independent support options WAPBL # File system journaling support options NFSSERVER # Network File System server #options FFS_NO_SNAPSHOT # No FFS snapshot support options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and # immutable) behave as system flags. options NFS_BOOT_DHCP # Support DHCP NFS root # Networking options #options GATEWAY # packet forwarding options INET # IP + ICMP + TCP + UDP options INET_CSUM_COUNTERS options TCP_CSUM_COUNTERS options UDP_CSUM_COUNTERS #options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_ESP # IP security (encryption part; define w/IPSEC) #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) #options IPSEC_DEBUG # debug for IP security #options MROUTING # IP multicast routing #options PIM # Protocol Independent Multicast #options DIRECTED_BROADCAST # allow broadcasts through routers #options ISO,TPIP # OSI #options EON # OSI tunneling over IP #options NETATALK # AppleTalk networking protocols #options PPP_BSDCOMP # BSD-Compress compression support for PPP #options PPP_DEFLATE # Deflate compression support for PPP #options PPP_FILTER # Active filter support for PPP (requires bpf) #options PFIL_HOOKS # pfil(9) packet filter hooks #options IPFILTER_LOG # ipmon(8) log support #options IPFILTER_LOOKUP # ippool(8) support #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG # These options enable verbose messages for several subsystems. # Warning, these may compile large string tables into the kernel! options PCIVERBOSE # verbose PCI device autoconfig messages options MIIVERBOSE # verbose PHY autoconfig messages #options PCI_CONFIG_DUMP # verbosely dump PCI config space options SCSIVERBOSE # human readable SCSI error messages #options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to configure PCI devices #options PCI_CONFIGURE_VERBOSE # Show PCI config information # wscons options #options WSEMUL_SUN # sun terminal emulation #options WSEMUL_VT100 # VT100 / VT220 emulation #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling # Kernel root file system and dump configuration. config netbsd root on ? type ? config netbsd-sd0a root on sd0a type ffs config nfsnetbsd root on tsec0 type nfs # # Device configuration # mainbus0 at root # Processor Local Bus cpunode* at mainbus? node ? gpio* at gpiobus? cpu* at cpunode? obio0 at cpunode? # On-chip Peripheral Bus #nandfcm* at obio0 cs ? # nand flash #nand* at nandfcm? #flash* at nand? # NOR Flash #options NOR_VERBOSE cfi0 at obio0 cs 0 nor* at cfi? flash* at nor? offset 0 size 0x4000000 e500wdog* at cpunode? # Watchdog timer ddrc* at cpunode? duart* at cpunode? com* at duart? port ? options CONSADDR="DUART1_BASE" mdio0 at cpunode? instance 1 tsec0 at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller tsec1 at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller atphy* at mii? ukphy* at mii? #options ETSEC_EVENT_COUNTERS diic* at cpunode? # i2c bus iic* at diic? #dsrtc* at iic1 addr 0x68 flags 1339 # RTC DS1339 pq3pcie* at cpunode? # PCI-Express controller pci* at pq3pcie? ppb* at pci? dev ? function ? # PCI-PCI bridges pci* at ppb? ahcisata* at pci? dev ? function ? atabus* at ahcisata? channel ? wd* at atabus? drive ? ehci* at cpunode? # usb usb* at ehci? uhub* at usb? uhub* at uhub? port ? umass* at uhub? port ? scsibus* at umass? channel ? sd* at scsibus? target ? lun ? #options SDHC_DEBUG #options SDMMC_DEBUG sdhc* at cpunode? # sdmmc sdmmc* at sdhc? # SD/MMC bus ld* at sdmmc? #siisata* at pci? dev ? function ? #atabus* at siisata? channel ? #jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers #ahcisata* at jmide? #atabus* at ahcisata? channel ? #viaide* at pci? dev ? function ? #atabus* at viaide? channel ? #wd* at atabus? drive ? #rtk* at pci? dev ? function ? #wm* at pci? dev ? function ? # Intel Ethernet #inphy* at mii? phy ? # Intel 82555 PHYs #iophy* at mii? phy ? # Intel 82553 PHYs #makphy* at mii? phy ? # Marvell PHYs #ukphy* at mii? phy ? # generic unknown PHYs pseudo-device loop # network loopback pseudo-device bpfilter # packet filter pseudo-device clockctl # user control of clock subsystem pseudo-device drvctl # user control of drive subsystem pseudo-device ksyms # /dev/ksyms pseudo-device pty # pseudo-terminals pseudo-device kttcp # kernel ttcp pseudo-device vlan # 802.1Q VLANs @ 1.8.2.3 log @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") @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.8.2.2 2012/10/30 17:19:30 yamt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.8.2.2 $" a26 1 options MODULAR # new style module(7) framework d109 2 d115 2 d121 1 a141 1 config netbsd-ld0a root on ld0a type ffs @ 1.7 log @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 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? @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.6 2012/07/24 22:37:08 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.6 $" d60 1 @ 1.7.2.1 log @Resync to 2012-11-19 00:00:00 UTC @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.8 2012/10/17 14:48:11 apb Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.8 $" a59 1 options COMPAT_60 # NetBSD 6.0 compatibility. @ 1.7.2.2 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ d10 1 a10 1 ident "TWRP1025-$Revision$" d109 2 d115 2 @ 1.7.2.3 log @Rebase to HEAD as of a few days ago. @ text @a26 1 options MODULAR # new style module(7) framework d117 1 a137 1 config netbsd-ld0a root on ld0a type ffs @ 1.7.2.4 log @update from HEAD @ text @d6 1 a6 1 include "arch/evbppc/conf/std.mpc85xx" a27 1 options MODULAR_DEFAULT_AUTOLOAD d44 1 a44 1 makeoptions COPY_SYMTAB=1 # size for embedded symbol table d49 14 a62 1 include "conf/compat_netbsd13.config" d64 2 a92 1 #options DISKLABEL_EI # disklabel Endian Independent support d108 1 a108 1 options INET6 # IPV6 a230 3 pseudo-device lockstat # lock profiling cinclude "arch/evbppc/conf/TWRP1025.local" @ 1.6 log @Add drvctl @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.5 2012/07/22 23:46:10 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.5 $" d137 1 @ 1.5 log @Split mdio/mii access into its own "device" and update accordingly. (on the P1025 the mdio functionality is separate from the etsec functions). Provide locking for mii access. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.4 2012/07/18 19:39:54 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.4 $" d227 1 @ 1.4 log @This has a 64MB NOR, not 16MB. @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.3 2012/07/18 16:59:41 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.3 $" a23 2 #options SDHC_DEBUG d172 4 a175 2 tsec0 at cpunode? instance 1 flags 0x003 # Enhanced 3-Speed Ethernet Controller tsec1 at cpunode? instance 3 flags 0x102 # Enhanced 3-Speed Ethernet Controller d201 2 @ 1.3 log @Add gpt/dkwedge support. Cleanup a few options problems @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.2 2012/07/17 01:36:12 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.2 $" d165 1 a165 1 flash* at nor? offset 0 size 0x1000000 @ 1.2 log @The ETSEC on the P1025 has been moved/split so the MDIO stayed in the same place but each ETSEC has been split into two virtual halves (G0 and G1) and each one has a new different base address. For some reason, tsec1 connects to phy 2 and tsec2 connects to phy 1. Adjust config file to match @ text @d1 1 a1 1 # $NetBSD: TWRP1025,v 1.1 2012/07/15 08:44:56 matt Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.1 $" d35 1 a35 1 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) d65 5 a69 1 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. d172 1 a172 1 options CONSADDR="DUART1_BASE" @ 1.1 log @Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016 QorIQ processors. XXX tsec isn't working yet on the TWR-P1025. @ text @d1 1 a1 1 # $NetBSD: P2020RDB,v 1.12 2011/12/18 05:49:26 dholland Exp $ d10 1 a10 1 ident "TWRP1025-$Revision: 1.12 $" d170 2 a171 2 tsec0 at cpunode? flags 0x002 # Enhanced 3-Speed Ethernet Controller tsec1 at cpunode? flags 0x103 # Enhanced 3-Speed Ethernet Controller @