head 1.46; access; symbols netbsd-9-5-RELEASE:1.42 netbsd-11-0-RELEASE:1.46 netbsd-11-0-RC7:1.46 netbsd-11-0-RC6:1.46 netbsd-11-0-RC5:1.46 netbsd-11-0-RC4:1.46 netbsd-11-0-RC3:1.46 netbsd-11-0-RC2:1.46 netbsd-11-0-RC1:1.46 perseant-exfatfs-base-20250801:1.46 netbsd-11:1.46.0.12 netbsd-11-base:1.46 netbsd-10-1-RELEASE:1.46 perseant-exfatfs-base-20240630:1.46 perseant-exfatfs:1.46.0.10 perseant-exfatfs-base:1.46 netbsd-8-3-RELEASE:1.31.2.2 netbsd-9-4-RELEASE:1.42 netbsd-10-0-RELEASE:1.46 netbsd-10-0-RC6:1.46 netbsd-10-0-RC5:1.46 netbsd-10-0-RC4:1.46 netbsd-10-0-RC3:1.46 netbsd-10-0-RC2:1.46 thorpej-ifq:1.46.0.8 thorpej-ifq-base:1.46 thorpej-altq-separation:1.46.0.6 thorpej-altq-separation-base:1.46 netbsd-10-0-RC1:1.46 netbsd-10:1.46.0.4 netbsd-10-base:1.46 bouyer-sunxi-drm:1.46.0.2 bouyer-sunxi-drm-base:1.46 netbsd-9-3-RELEASE:1.42 thorpej-i2c-spi-conf2:1.45.0.16 thorpej-i2c-spi-conf2-base:1.45 thorpej-futex2:1.45.0.14 thorpej-futex2-base:1.45 thorpej-cfargs2:1.45.0.12 thorpej-cfargs2-base:1.45 cjep_sun2x-base1:1.45 cjep_sun2x:1.45.0.10 cjep_sun2x-base:1.45 cjep_staticlib_x-base1:1.45 netbsd-9-2-RELEASE:1.42 cjep_staticlib_x:1.45.0.8 cjep_staticlib_x-base:1.45 thorpej-i2c-spi-conf:1.45.0.6 thorpej-i2c-spi-conf-base:1.45 thorpej-cfargs:1.45.0.4 thorpej-cfargs-base:1.45 thorpej-futex:1.45.0.2 thorpej-futex-base:1.45 netbsd-9-1-RELEASE:1.42 bouyer-xenpvh-base2:1.43 phil-wifi-20200421:1.43 bouyer-xenpvh-base1:1.43 phil-wifi-20200411:1.43 bouyer-xenpvh:1.43.0.6 bouyer-xenpvh-base:1.43 is-mlppp:1.43.0.4 is-mlppp-base:1.43 phil-wifi-20200406:1.43 netbsd-8-2-RELEASE:1.31.2.2 ad-namecache-base3:1.43 netbsd-9-0-RELEASE:1.42 netbsd-9-0-RC2:1.42 ad-namecache-base2:1.43 ad-namecache-base1:1.43 ad-namecache:1.43.0.2 ad-namecache-base:1.43 netbsd-9-0-RC1:1.42 phil-wifi-20191119:1.42 netbsd-9:1.42.0.2 netbsd-9-base:1.42 phil-wifi-20190609:1.42 netbsd-8-1-RELEASE:1.31.2.2 netbsd-8-1-RC1:1.31.2.2 isaki-audio2:1.41.0.2 isaki-audio2-base:1.41 pgoyette-compat-merge-20190127:1.36.2.5 pgoyette-compat-20190127:1.41 pgoyette-compat-20190118:1.41 pgoyette-compat-1226:1.40 pgoyette-compat-1126:1.40 pgoyette-compat-1020:1.40 pgoyette-compat-0930:1.40 pgoyette-compat-0906:1.39 netbsd-7-2-RELEASE:1.23 pgoyette-compat-0728:1.38 netbsd-8-0-RELEASE:1.31.2.1 phil-wifi:1.38.0.2 phil-wifi-base:1.38 pgoyette-compat-0625:1.38 netbsd-8-0-RC2:1.31.2.1 pgoyette-compat-0521:1.37 pgoyette-compat-0502:1.36 pgoyette-compat-0422:1.36 netbsd-8-0-RC1:1.31.2.1 pgoyette-compat-0415:1.36 pgoyette-compat-0407:1.36 pgoyette-compat-0330:1.36 pgoyette-compat-0322:1.36 pgoyette-compat-0315:1.36 netbsd-7-1-2-RELEASE:1.23 pgoyette-compat:1.36.0.2 pgoyette-compat-base:1.36 netbsd-7-1-1-RELEASE:1.23 tls-maxphys-base-20171202:1.35 matt-nb8-mediatek:1.31.2.1.0.2 matt-nb8-mediatek-base:1.31.2.1 nick-nhusb-base-20170825:1.33 perseant-stdc-iso10646:1.31.0.4 perseant-stdc-iso10646-base:1.31 netbsd-8:1.31.0.2 netbsd-8-base:1.31 prg-localcount2-base3:1.31 prg-localcount2-base2:1.30 prg-localcount2-base1:1.30 prg-localcount2:1.30.0.4 prg-localcount2-base:1.30 pgoyette-localcount-20170426:1.30 bouyer-socketcan-base1:1.30 jdolecek-ncq:1.30.0.2 jdolecek-ncq-base:1.30 pgoyette-localcount-20170320:1.30 netbsd-7-1:1.23.0.8 netbsd-7-1-RELEASE:1.23 netbsd-7-1-RC2:1.23 nick-nhusb-base-20170204:1.29 netbsd-7-nhusb-base-20170116:1.23 bouyer-socketcan:1.29.0.2 bouyer-socketcan-base:1.29 pgoyette-localcount-20170107:1.29 netbsd-7-1-RC1:1.23 nick-nhusb-base-20161204:1.26 pgoyette-localcount-20161104:1.26 netbsd-7-0-2-RELEASE:1.23 nick-nhusb-base-20161004:1.26 localcount-20160914:1.26 netbsd-7-nhusb:1.23.0.6 netbsd-7-nhusb-base:1.23 pgoyette-localcount-20160806:1.26 pgoyette-localcount-20160726:1.26 pgoyette-localcount:1.26.0.2 pgoyette-localcount-base:1.26 nick-nhusb-base-20160907:1.25 nick-nhusb-base-20160529:1.25 netbsd-7-0-1-RELEASE:1.23 nick-nhusb-base-20160422:1.25 nick-nhusb-base-20160319:1.25 nick-nhusb-base-20151226:1.25 netbsd-7-0:1.23.0.4 netbsd-7-0-RELEASE:1.23 nick-nhusb-base-20150921:1.25 netbsd-7-0-RC3:1.23 netbsd-7-0-RC2:1.23 netbsd-7-0-RC1:1.23 nick-nhusb-base-20150606:1.25 nick-nhusb-base-20150406:1.25 nick-nhusb:1.25.0.2 nick-nhusb-base:1.25 netbsd-6-0-6-RELEASE:1.8 netbsd-6-1-5-RELEASE:1.8 netbsd-7:1.23.0.2 netbsd-7-base:1.23 yamt-pagecache-base9:1.22 yamt-pagecache-tag8:1.5.2.3 netbsd-6-1-4-RELEASE:1.8 netbsd-6-0-5-RELEASE:1.8 tls-earlyentropy:1.22.0.2 tls-earlyentropy-base:1.23 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.22 riastradh-drm2-base3:1.22 netbsd-6-1-3-RELEASE:1.8 netbsd-6-0-4-RELEASE:1.8 netbsd-6-1-2-RELEASE:1.8 netbsd-6-0-3-RELEASE:1.8 rmind-smpnet-nbase:1.22 netbsd-6-1-1-RELEASE:1.8 riastradh-drm2-base2:1.21 riastradh-drm2-base1:1.21 riastradh-drm2:1.21.0.2 riastradh-drm2-base:1.21 rmind-smpnet:1.20.0.2 rmind-smpnet-base:1.22 netbsd-6-1:1.8.0.8 netbsd-6-0-2-RELEASE:1.8 netbsd-6-1-RELEASE:1.8 khorben-n900:1.19.0.2 netbsd-6-1-RC4:1.8 netbsd-6-1-RC3:1.8 agc-symver:1.17.0.2 agc-symver-base:1.17 netbsd-6-1-RC2:1.8 netbsd-6-1-RC1:1.8 yamt-pagecache-base8:1.13 netbsd-6-0-1-RELEASE:1.8 yamt-pagecache-base7:1.13 matt-nb6-plus-nbase:1.8 yamt-pagecache-base6:1.13 netbsd-6-0:1.8.0.6 netbsd-6-0-RELEASE:1.8 netbsd-6-0-RC2:1.8 tls-maxphys:1.12.0.2 tls-maxphys-base:1.23 matt-nb6-plus:1.8.0.4 matt-nb6-plus-base:1.8 netbsd-6-0-RC1:1.8 jmcneill-usbmp-base10:1.11 yamt-pagecache-base5:1.9 jmcneill-usbmp-base9:1.9 yamt-pagecache-base4:1.9 jmcneill-usbmp-base8:1.9 jmcneill-usbmp-base7:1.9 jmcneill-usbmp-base6:1.9 jmcneill-usbmp-base5:1.8 jmcneill-usbmp-base4:1.9 jmcneill-usbmp-base3:1.8 jmcneill-usbmp-pre-base2:1.7 jmcneill-usbmp-base2:1.8 netbsd-6:1.8.0.2 netbsd-6-base:1.8 jmcneill-usbmp:1.7.0.2 jmcneill-usbmp-base:1.7 jmcneill-audiomp3:1.6.0.2 jmcneill-audiomp3-base:1.6 yamt-pagecache-base3:1.6 yamt-pagecache-base2:1.6 yamt-pagecache:1.5.0.2 yamt-pagecache-base:1.5; locks; strict; comment @# @; 1.46 date 2022.08.07.02.52.25; author simonb; state Exp; branches; next 1.45; commitid HXKRRXLciPDtrTOD; 1.45 date 2020.09.27.13.48.50; author roy; state Exp; branches; next 1.44; commitid DA9l8f9bbF8ATGpC; 1.44 date 2020.08.01.08.20.48; author maxv; state Exp; branches; next 1.43; commitid JD2lavAMv7TQUkiC; 1.43 date 2020.01.03.03.44.42; author thorpej; state Exp; branches; next 1.42; commitid O9uMxneOxF0bacRB; 1.42 date 2019.04.26.21.40.29; author sevan; state Exp; branches; next 1.41; commitid 6ehTybiQEayJbUkB; 1.41 date 2018.12.30.14.51.36; author sevan; state Exp; branches; next 1.40; commitid 7a9Ack56FfqkHP5B; 1.40 date 2018.09.19.23.22.17; author rin; state Exp; branches; next 1.39; commitid sHXuTxWVvWzIOLSA; 1.39 date 2018.08.01.20.04.11; author maxv; state Exp; branches; next 1.38; commitid UbIHSaPqOzfNisMA; 1.38 date 2018.06.07.13.36.29; author thorpej; state Exp; branches 1.38.2.1; next 1.37; commitid e9pnxag05qUvVlFA; 1.37 date 2018.05.14.21.50.02; author thorpej; state Exp; branches; next 1.36; commitid 80yQIcunHDJNqjCA; 1.36 date 2018.01.18.23.17.09; author maya; state Exp; branches 1.36.2.1; next 1.35; commitid nh7IBUBEejLrDpnA; 1.35 date 2017.09.14.07.58.40; author mrg; state Exp; branches; next 1.34; commitid ngZ6fHXwTqlZA87A; 1.34 date 2017.09.13.22.24.43; author sevan; state Exp; branches; next 1.33; commitid U9QcH0HsUyAtp57A; 1.33 date 2017.08.20.09.00.15; author maya; state Exp; branches; next 1.32; commitid HbG2KI8fKC8MKV3A; 1.32 date 2017.08.13.08.48.30; author christos; state Exp; branches; next 1.31; commitid rmMYhO81yYRJU13A; 1.31 date 2017.05.11.07.56.43; author maya; state Exp; branches 1.31.2.1; next 1.30; commitid v7q0V8bhko00EWQz; 1.30 date 2017.02.19.07.47.00; author rin; state Exp; branches 1.30.4.1; next 1.29; commitid ivCr5u3yfBMzbxGz; 1.29 date 2016.12.13.20.42.17; author christos; state Exp; branches 1.29.2.1; next 1.28; commitid DChNb4lHFyTOFRxz; 1.28 date 2016.12.10.23.03.24; author christos; state Exp; branches; next 1.27; commitid w4dRXIf7WDldyuxz; 1.27 date 2016.12.08.11.31.10; author nat; state Exp; branches; next 1.26; commitid r0h4avej48pZLaxz; 1.26 date 2016.07.13.11.12.56; author jmcneill; state Exp; branches 1.26.2.1; next 1.25; commitid MN6v1lVDprIwr9ez; 1.25 date 2014.08.23.20.26.57; author dholland; state Exp; branches 1.25.2.1; next 1.24; commitid Ef5fhfmsGe1uFwNx; 1.24 date 2014.08.16.17.56.32; author apb; state Exp; branches; next 1.23; commitid gjT9TWtCibuK4CMx; 1.23 date 2014.07.20.10.06.11; author alnsn; state Exp; branches; next 1.22; commitid w7znppWoeYa9l6Jx; 1.22 date 2014.01.18.19.26.41; author bouyer; state Exp; branches 1.22.2.1; next 1.21; commitid HpP5UvRmSGxakDlx; 1.21 date 2013.06.30.21.38.56; author rmind; state Exp; branches; next 1.20; commitid WyqSRDp14EmayGVw; 1.20 date 2013.06.05.23.08.01; author christos; state Exp; branches 1.20.2.1; next 1.19; commitid MDKdYakvaqdHQtSw; 1.19 date 2013.04.27.21.43.23; author christos; state Exp; branches; next 1.18; 1.18 date 2013.04.27.18.19.33; author christos; state Exp; branches; next 1.17; 1.17 date 2013.03.02.02.42.13; author christos; state Exp; branches; next 1.16; 1.16 date 2013.03.01.18.25.37; author joerg; state Exp; branches; next 1.15; 1.15 date 2013.02.28.13.02.20; author macallan; state Exp; branches; next 1.14; 1.14 date 2013.02.28.12.51.18; author macallan; state Exp; branches; next 1.13; 1.13 date 2012.10.17.14.48.11; author apb; state Exp; branches; next 1.12; 1.12 date 2012.08.17.20.11.39; author abs; state Exp; branches 1.12.2.1; next 1.11; 1.11 date 2012.05.29.20.02.42; author nonaka; state Exp; branches; next 1.10; 1.10 date 2012.05.29.14.12.28; author christos; state Exp; branches; next 1.9; 1.9 date 2012.03.02.13.20.57; author nonaka; state Exp; branches; next 1.8; 1.8 date 2011.12.18.05.49.26; author dholland; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 2011.11.22.21.25.11; author tls; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2011.11.03.02.44.36; author macallan; state Exp; branches; next 1.5; 1.5 date 2011.09.02.22.42.27; author macallan; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 2011.08.31.16.58.10; author macallan; state Exp; branches; next 1.3; 1.3 date 2011.08.31.16.55.41; author macallan; state Exp; branches; next 1.2; 1.2 date 2011.08.27.17.05.57; author bouyer; state Exp; branches; next 1.1; 1.1 date 2011.08.27.13.42.44; author bouyer; state Exp; branches; next ; 1.38.2.1 date 2019.06.10.22.06.12; author christos; state Exp; branches; next 1.38.2.2; commitid jtc8rnCzWiEEHGqB; 1.38.2.2 date 2020.04.08.14.07.36; author martin; state Exp; branches; next ; commitid Qli2aW9E74UFuA3C; 1.36.2.1 date 2018.05.21.04.36.00; author pgoyette; state Exp; branches; next 1.36.2.2; commitid X5L8kSrBWQcDt7DA; 1.36.2.2 date 2018.06.25.07.25.41; author pgoyette; state Exp; branches; next 1.36.2.3; commitid 8PtAu9af7VvhiDHA; 1.36.2.3 date 2018.09.06.06.55.33; author pgoyette; state Exp; branches; next 1.36.2.4; commitid HCi1bXD317XIK0RA; 1.36.2.4 date 2018.09.30.01.45.43; author pgoyette; state Exp; branches; next 1.36.2.5; commitid SQ44grEPCeKPh4UA; 1.36.2.5 date 2019.01.18.08.50.16; author pgoyette; state Exp; branches; next ; commitid Lmlzg3OVT2cd6f8B; 1.31.2.1 date 2017.08.29.13.12.47; author martin; state Exp; branches; next 1.31.2.2; commitid Cf2Gsdi1ezmzR65A; 1.31.2.2 date 2019.01.07.13.46.57; author martin; state Exp; branches; next ; commitid RzezcpN4ab5O6R6B; 1.30.4.1 date 2017.05.19.00.22.56; author pgoyette; state Exp; branches; next ; commitid QNTxgGjVagwoSVRz; 1.29.2.1 date 2017.04.21.16.53.26; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; 1.26.2.1 date 2017.01.07.08.56.16; author pgoyette; state Exp; branches; next 1.26.2.2; commitid uEL0C1YuiJrlV0Bz; 1.26.2.2 date 2017.03.20.06.57.13; author pgoyette; state Exp; branches; next ; commitid jjw7cAwgyKq7RfKz; 1.25.2.1 date 2016.10.05.20.55.26; author skrll; state Exp; branches; next 1.25.2.2; commitid uuAdz3JYHQmaWZoz; 1.25.2.2 date 2017.02.05.13.40.09; author skrll; state Exp; branches; next 1.25.2.3; commitid 8hwpk1aHl2UuyLEz; 1.25.2.3 date 2017.08.28.17.51.36; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; 1.22.2.1 date 2014.08.10.06.53.56; author tls; state Exp; branches; next ; commitid 7fY3uHKSIbCABMLx; 1.20.2.1 date 2013.08.28.23.59.16; author rmind; state Exp; branches; next 1.20.2.2; commitid cbp9Ov2uYijlqh3x; 1.20.2.2 date 2014.05.18.17.45.06; author rmind; state Exp; branches; next ; commitid mL5ZYSzpqK6QS2Bx; 1.12.2.1 date 2012.11.20.03.01.18; author tls; state Exp; branches; next 1.12.2.2; 1.12.2.2 date 2013.06.23.06.20.04; author tls; state Exp; branches; next 1.12.2.3; commitid eVjr9caYRQbRGHUw; 1.12.2.3 date 2014.08.20.00.02.58; author tls; state Exp; branches; next 1.12.2.4; commitid jTnpym9Qu0o4R1Nx; 1.12.2.4 date 2017.12.03.11.36.09; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.8.2.1 date 2014.02.07.13.22.51; author sborrill; state Exp; branches; next ; commitid I6schh43gFVzFaox; 1.7.2.1 date 2012.02.18.07.31.54; author mrg; state Exp; branches; next 1.7.2.2; 1.7.2.2 date 2012.03.04.00.46.04; author mrg; state Exp; branches; next 1.7.2.3; 1.7.2.3 date 2012.03.06.09.56.06; author mrg; state Exp; branches; next 1.7.2.4; 1.7.2.4 date 2012.03.06.18.26.35; author mrg; state Exp; branches; next 1.7.2.5; 1.7.2.5 date 2012.06.02.11.08.55; author mrg; state Exp; branches; next ; 1.5.2.1 date 2011.11.10.14.31.40; author yamt; state Exp; branches; next 1.5.2.2; 1.5.2.2 date 2012.04.17.00.06.17; author yamt; state Exp; branches; next 1.5.2.3; 1.5.2.3 date 2012.10.30.17.19.29; author yamt; state Exp; branches; next 1.5.2.4; 1.5.2.4 date 2014.05.22.11.39.44; author yamt; state Exp; branches; next ; commitid VUUXuyNWnt3AKwBx; desc @@ 1.46 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 @# $NetBSD: LOONGSON,v 1.45 2020/09/27 13:48:50 roy Exp $ # # LOONGSON machine description file # # This machine description file is used to generate the default NetBSD # kernel. The generic kernel does not include all options, subsystems # and device drivers, but should be useful for most applications. # # The machine description file can be customised for your specific # machine to reduce the kernel size and improve its performance. # # For further information on compiling NetBSD kernels, see the config(8) # man page. # # For further information on hardware support for this architecture, see # the intro(4) man page. For further information about kernel options # for this architecture, see the options(4) man page. For an explanation # of each device driver in this file see the section 4 man page for the # device. include "arch/evbmips/conf/std.loongson" options INCLUDE_CONFIG_FILE # embed config file in kernel binary #ident "LOONGSON-$Revision: 1.45 $" maxusers 16 # Standard system options options DDB # in-kernel debugger #options DDB_ONPANIC=0 # don't enter debugger on panic options DDB_HISTORY_SIZE=512 # enable history editing in DDB #options KGDB # remote debugger options DIAGNOSTIC # extra kernel debugging checks #options DEBUG # extra kernel debugging support #options PMAP_FAULTINFO #options LOCKDEBUG makeoptions DEBUG="-g" makeoptions COPY_SYMTAB=1 # size for embedded symbol table options KTRACE # system call tracing support options MSGBUFSIZE=8192 # dmesg buffer size ## UVM options. #options UVM_PAGE_TRKOWN #options UVMHIST #options UVMHIST_PRINT # Loud! #options SCSIVERBOSE # human readable SCSI error messages #options PCMCIAVERBOSE # verbose PCMCIA configuration messages #options PCMCIADEBUG #options PCMCIACISDEBUG #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT #options RTC_OFFSET=-540 # JST-9 #options RTC_OFFSET=480 # PST8 # In NO RTC_OFFSET , inherit RTC_OFFSET # from Windows CE. options NTP # network time protocol #options WINCE_DEFAULT_SETTING # Debugging use # Note: SysV IPC parameters can be changed dynamically; see sysctl(8). options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing #options SYSCALL_DEBUG # for debug #options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug options USERCONF # userconf(4) support #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel options INSECURE # disable kernel security levels # Filesystem options file-system FFS # fast filesystem with user and group quotas file-system MFS # memory-based filesystem file-system NFS # Sun NFS-compatible filesystem (client) file-system EXT2FS # second extended file system (linux) #file-system LFS # Log-based filesystem (still experimental) file-system CD9660 # ISO 9660 + Rock Ridge file system file-system MSDOSFS # MS-DOS file system #file-system FDESC # /dev/fd file-system KERNFS # /kern (kernel informational filesystem) file-system NULLFS # loopback file system #file-system OVERLAY # overlay file system file-system PROCFS # /proc #file-system UMAPFS # NULLFS + uid and gid remapping file-system UNION file-system PTYFS # /dev/pts/N support file-system TMPFS # Efficient memory file-system #file-system UDF # experimental - OSTA UDF CD/DVD file-system #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 DISKLABEL_EI # disklabel Endian Independent support options NFSSERVER # Network File System server # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN # Networking options #options GATEWAY # IP packet forwarding options INET # IP + ICMP + TCP + UDP options INET6 # IPV6 #options IPSEC # IP security #options IPSEC_DEBUG # debug for IP security #options MROUTING # Multicast routing support #options PIM # Protocol Independent Multicast #options ALTQ # Manipulate network interfaces' output queues #options ALTQ_BLUE # Stochastic Fair Blue #options ALTQ_CBQ # Class-Based Queueing #options ALTQ_CDNR # Diffserv Traffic Conditioner #options ALTQ_FIFOQ # First-In First-Out Queue #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) #options ALTQ_HFSC # Hierarchical Fair Service Curve #options ALTQ_LOCALQ # Local queueing discipline #options ALTQ_PRIQ # Priority Queueing #options ALTQ_RED # Random Early Detection #options ALTQ_RIO # RED with IN/OUT #options ALTQ_WFQ # Weighted Fair Queueing # JIT compiler for bpfilter #options SLJIT #options BPFJIT # NetBSD backwards compatibility include "conf/compat_netbsd16.config" #options NFS_BOOT_DHCP options NFS_BOOT_BOOTP #options NFS_BOOT_BOOTPARAM # compile options #makeoptions DEFGP="-G 10" config netbsd root on ? type ? # WS console uses SUN or VT100 terminal emulation options WSEMUL_VT100 options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_SCROLLSUPPORT options WS_KERNEL_FG=WSCOL_GREEN #options WSDISPLAY_DEFAULTSCREENS=4 options FONT_GALLANT12x22 options FONT_BOLD8x16 # compatibility to other console drivers options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes mainbus0 at root cpu0 at mainbus0 bonito0 at mainbus0 pci0 at bonito0 sisfb0 at pci0 dev ? function ? voyager0 at pci0 dev ? function ? # SM502 on GDIUM voyagerfb0 at voyager0 # framebuffer portion pwmclock0 at voyager0 # clock and CPU freq scaling iic* at voyager0 strtc* at iic? addr 0x68 # GDIUM's real time clock (M41T80/81 ?) lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller lynxfb0 at pci0 dev ? function ? # SM712 on Yeeloong Notebook #genfb0 at pci0 dev ? function ? wsdisplay* at wsemuldisplaydev? ehci* at pci0 dev ? function ? #options EHCI_DEBUG ohci* at pci0 dev ? function ? #options OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG # USB usb* at ehci? usb* at ohci? include "dev/usb/usbdevices.config" midi* at midibus? options GDIUM_KEYBOARD_HACK # support Fn key on Gdium gcscpcib* at pci? dev ? function ? # AMD CS5535/CS5536 PCI-ISA w/ gpio* at gcscpcib? # timecounter, watchdog and GPIO isa0 at gcscpcib? pcib* at pci? isa0 at pcib? pckbc0 at isa? # PC keyboard controller pckbd* at pckbc? # PC keyboard pms* at pckbc? # PS/2 mouse for wsmouse #options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads options PMS_ELANTECH_TOUCHPAD # Enable support for Elantech Touchpads options PMS_ALPS_TOUCHPAD # Enable support for Alps Touchpads wskbd* at pckbd? console ? wsmouse* at pms? mux 0 mcclock* at isa? port 0x70 # mc146818-compatible com0 at isa? port 0x2f8 irq 3 # Fuloong 2F only com1 at isa? port 0x3f8 irq 4 # Fuloong 2F only (IR port) gcscaudio* at pci? audio* at audiobus? spkr* at audio? # PC speaker (synthesized) pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers options WDC_NO_IDS #workaround CS5536+JMH330 interrupt disable bug # ATA (IDE) bus support atabus* at ata? #options ATADEBUG # IDE drives # Flags are used only with controllers that support DMA operations # and mode settings (e.g. some pciide controllers) # The lowest order four bits (rightmost digit) of the flags define the PIO # mode to use, the next set of four bits the DMA mode and the third set the # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode # to use, and the last bit must be 1 for this setting to be used. # For DMA and UDMA, 0xf (1111) means 'disable'. # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. # (0xc=1100, 0xa=1010, 0xf=1111) # 0x0000 means "use whatever the drive claims to support". wd* at atabus? drive ? flags 0x0000 # ATAPI bus support #atapibus* at atapi? # ATAPI devices # flags have the same meaning as for IDE drives. #cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown ral* at pci? dev ? function ? # RL2561S 802.11b/g rtk* at pci? dev ? function ? # RTL8139 100/10 Ethernet re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S # MII/PHY support rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs rlphy* at mii? phy ? # Realtek 8139/8201L PHYs ukphy* at mii? phy ? # generic unknown PHYs # # accept filters pseudo-device accf_data # "dataready" accept filter pseudo-device accf_http # "httpready" accept filter pseudo-device loop # network loopback pseudo-device ppp # serial-line IP ports pseudo-device pppoe # PPP over Ethernet (RFC 2516) pseudo-device pty # pseudo-terminals pseudo-device bpfilter # packet filter ports pseudo-device carp # Common Address Redundancy Protocol pseudo-device npf # NPF packet filter pseudo-device vnd # virtual disk ick #options VND_COMPRESSION # compressed vnd(4) #pseudo-device ccd # concatenated disks pseudo-device fss # file system snapshot device #pseudo-device cgd # cryptographic disks pseudo-device clockctl # user control of clock subsystem pseudo-device wsmux # mouse & keyboard multiplexor pseudo-device wsfont #pseudo-device md # memory disk device (ramdisk) #pseudo-device raid # RAIDframe disk driver #options RAID_AUTOCONFIG # auto-configuration of RAID components # Options to enable various other RAIDframe RAID types. # options RF_INCLUDE_EVENODD=1 # options RF_INCLUDE_RAID5_RS=1 # options RF_INCLUDE_PARITYLOGGING=1 # options RF_INCLUDE_CHAINDECLUSTER=1 # options RF_INCLUDE_INTERDECLUSTER=1 # options RF_INCLUDE_PARITY_DECLUSTERING=1 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 # for IPv6 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) #pseudo-device faith # IPv[46] tcp relay translation i/f pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). pseudo-device vlan ## Simple inter-network traffic bridging pseudo-device bridge #pseudo-device vether # Virtual Ethernet for bridge pseudo-device agr # IEEE 802.3ad link aggregation pseudo-device ksyms # /dev/ksyms pseudo-device drvctl # driver control include "dev/veriexec.config" @ 1.45 log @vether: Add to kernel configurations It's only enabled if the kernel enabled bridge AND tap. Otherwise it's commented out. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.44 2020/08/01 08:20:48 maxv Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.44 $" d94 2 a95 3 options NFSSERVER # Sun NFS-compatible filesystem (server) options WAPBL # File system journaling support #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental d98 3 d102 1 a102 2 #options FFS_EI # FFS Endian Independent support #options FFS_NO_SNAPSHOT # No FFS snapshot support @ 1.44 log @Remove references to BRIDGE_IPF, it is now compiled in by default. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.43 2020/01/03 03:44:42 thorpej Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.43 $" d299 1 @ 1.43 log @Eliminate all of the #ifdefs for the "strtc" driver. Define model properties (similar to what the "dsrtc" driver does), and provide DT compat strings corresponding to those models. Allow config flags to specify the model for non-FDT platforms (also like "dsrtc"). @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.42 2019/04/26 21:40:29 sevan Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.42 $" a298 1 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too @ 1.42 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: LOONGSON,v 1.41 2018/12/30 14:51:36 sevan Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.41 $" d168 1 a168 2 strtc* at iic? addr 0x68 # GDIUM's real time clock options STRTC_NO_USERRAM @ 1.41 log @Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels. time results of a Lemote Fuloong 2F extracting the pkgsrc tree brick$ time tar -jxf pkgsrc.tar.bz2 priocscan + log 612.90 real 103.45 user 194.98 sys priocscan nolog 1345.48 real 103.57 user 274.32 sys fcfs + log 736.02 real 101.71 user 192.95 sys fcfs nolog 1475.16 real 103.06 user 271.14 sys @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.40 2018/09/19 23:22:17 rin Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.40 $" d265 1 a265 1 #pseudo-device carp # Common Address Redundancy Protocol d305 1 a305 12 # Veriexec # # a pseudo device needed for veriexec #pseudo-device veriexec # # Uncomment the fingerprint methods below that are desired. Note that # removing fingerprint methods will have almost no impact on the kernel # code size. # #options VERIFIED_EXEC_FP_SHA256 #options VERIFIED_EXEC_FP_SHA384 #options VERIFIED_EXEC_FP_SHA512 @ 1.40 log @Remove invalid option copy-paste from hpcmips. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.39 2018/08/01 20:04:11 maxv Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.39 $" d103 5 @ 1.39 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: LOONGSON,v 1.38 2018/06/07 13:36:29 thorpej Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.38 $" a152 5 # # Hpckbd will set key board layout appropriately. You can use option # 'PCKBD_LAYOUT' to overrite the default layout. # #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)" @ 1.38 log @Revert changes that pinned-down i2c parent specs. The i2c subsystem has been enhanced to make this unnecessary. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.36 2018/01/18 23:17:09 maya Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.36 $" a110 4 options IPFILTER_LOG # ipmon(8) log support options IPFILTER_LOOKUP # ippool(8) support options IPFILTER_COMPAT # Compat for IP-Filter #options IPFILTER_DEFAULT_BLOCK # block all packets by default d266 1 a266 1 pseudo-device ipfilter # IP filter, NAT a303 2 #pseudo-device pf # PF packet filter #pseudo-device pflog # PF log if @ 1.38.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.42 2019/04/26 21:40:29 sevan Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.42 $" a102 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN d111 4 d157 5 d269 2 a270 2 pseudo-device carp # Common Address Redundancy Protocol pseudo-device npf # NPF packet filter d308 2 d311 12 a322 1 include "dev/veriexec.config" @ 1.38.2.2 log @Merge changes from current as of 20200406 @ text @d1 1 a1 1 # $NetBSD$ d25 1 a25 1 #ident "LOONGSON-$Revision$" d168 2 a169 1 strtc* at iic? addr 0x68 # GDIUM's real time clock (M41T80/81 ?) @ 1.37 log @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. @ text @d171 2 a172 2 iic0 at voyager0 strtc* at iic0 addr 0x68 # GDIUM's real time clock d174 2 a175 2 lmtemp* at iic0 addr 0x48 # GDIUM's temperature sensor stvii* at iic0 addr 0x40 # GDIUM's onboard microcontroller @ 1.36 log @Use usbdevices. add midi needed to build umidi. Remove now redundant USB entries. So we will stop missing random USB drivers. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.35 2017/09/14 07:58:40 mrg Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.35 $" d171 2 a172 2 iic* at voyager0 strtc* at iic? addr 0x68 # GDIUM's real time clock d174 2 a175 2 lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller @ 1.36.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.37 2018/05/14 21:50:02 thorpej Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.37 $" d171 2 a172 2 iic0 at voyager0 strtc* at iic0 addr 0x68 # GDIUM's real time clock d174 2 a175 2 lmtemp* at iic0 addr 0x48 # GDIUM's temperature sensor stvii* at iic0 addr 0x40 # GDIUM's onboard microcontroller @ 1.36.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.38 2018/06/07 13:36:29 thorpej Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.38 $" d171 2 a172 2 iic* at voyager0 strtc* at iic? addr 0x68 # GDIUM's real time clock d174 2 a175 2 lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller @ 1.36.2.3 log @Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes) @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.39 2018/08/01 20:04:11 maxv Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.39 $" d111 4 d270 1 a270 1 pseudo-device npf # NPF packet filter d308 2 @ 1.36.2.4 log @Ssync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.40 2018/09/19 23:22:17 rin Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.40 $" d153 5 @ 1.36.2.5 log @Synch with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.36.2.4 2018/09/30 01:45:43 pgoyette Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.36.2.4 $" a102 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN @ 1.35 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: LOONGSON,v 1.34 2017/09/13 22:24:43 sevan Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.34 $" d179 1 d185 9 a258 56 # USB Hubs usb* at ehci? usb* at ohci? uhub* at usb? uhub* at uhub? port ? # USB HID device uhidev* at uhub? port ? configuration ? interface ? # USB Mice ums* at uhidev? reportid ? wsmouse* at ums? mux 0 # USB Keyboards ukbd* at uhidev? reportid ? wskbd* at ukbd? console ? mux 1 options GDIUM_KEYBOARD_HACK # support Fn key on Gdium # USB Generic HID devices uhid* at uhidev? reportid ? # USB serial adapter uftdi* at uhub? port ? configuration ? # USB Printer ulpt* at uhub? port ? configuration ? interface ? # USB Modem umodem* at uhub? port ? configuration ? ucom* at umodem? # Option N.V. Wireless WAN modems uhso* at uhub? port ? configuration ? # USB Mass Storage umass* at uhub? port ? configuration ? interface ? scsibus* at umass? channel ? sd* at scsibus? target ? lun ? # SCSI disk drives cd* at scsibus? target ? lun ? # SCSI CD-ROM drives # FTDI FT8U100AX serial adapter uftdi* at uhub? port ? ucom* at uftdi? portno ? uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter ucom* at uplcom? portno ? umct* at uhub? port ? # MCT USB-RS232 serial adapter ucom* at umct? portno ? # Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter urtw* at uhub? port ? # USB Generic driver ugen* at uhub? port ? @ 1.34 log @Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options. These algorithms are either broken or on their way to being broken. Discussed on tech-security http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html ok riastradh @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.33 2017/08/20 09:00:15 maya Exp $ d21 1 a21 1 include "arch/evbmips/conf/std.loongson" d25 1 a25 1 #ident "LOONGSON-$Revision: 1.33 $" d134 1 a134 10 options COMPAT_43 # 4.3BSD binary compatibility. 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_BSDPTY # /dev/[pt]ty?? ptys. @ 1.33 log @Get rid of ATADEBUG on LOONGSON @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.32 2017/08/13 08:48:30 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.32 $" a374 1 #options VERIFIED_EXEC_FP_RMD160 a377 2 #options VERIFIED_EXEC_FP_SHA1 #options VERIFIED_EXEC_FP_MD5 @ 1.32 log @Add ALPS pms support @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.31 2017/05/11 07:56:43 maya Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.31 $" d225 1 a225 1 options ATADEBUG @ 1.31 log @COPY_SYMTAB=1 so ddb commands ps, bt work @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.30 2017/02/19 07:47:00 rin Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.30 $" d203 1 d206 1 @ 1.31.2.1 log @Pull up following revision(s) (requested by maya in ticket #222): sys/arch/evbmips/conf/LOONGSON: revision 1.33 Get rid of ATADEBUG on LOONGSON @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.31 2017/05/11 07:56:43 maya Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.31 $" d223 1 a223 1 #options ATADEBUG @ 1.31.2.2 log @Pull up following revision(s) (requested by sevan in ticket #1156): sys/arch/evbmips/conf/ERLITE: revision 1.21 sys/arch/evbmips/conf/LOONGSON: revision 1.41 sys/arch/evbmips/conf/SBMIPS: revision 1.8 sys/arch/evbmips/conf/MALTA: revision 1.94 sys/arch/evbmips/conf/WGT624V3: revision 1.29 sys/arch/evbmips/conf/ZYXELKX: revision 1.15 sys/arch/evbmips/conf/XLSATX: revision 1.28 sys/arch/evbmips/conf/ADM5120-NB: revision 1.25 sys/arch/evbmips/conf/ADM5120: revision 1.27 sys/arch/evbmips/conf/MERAKI: revision 1.32 sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10 sys/arch/evbmips/conf/DB120: revision 1.21 sys/arch/evbmips/conf/ADM5120-USB: revision 1.27 sys/arch/evbmips/conf/AP30: revision 1.38 sys/arch/evbmips/conf/ALCHEMY: revision 1.65 sys/arch/evbmips/conf/RB153: revision 1.22 sys/arch/evbmips/conf/RB433UAH: revision 1.18 sys/arch/evbmips/conf/CI20: revision 1.27 sys/arch/evbmips/conf/GDIUM: revision 1.35 sys/arch/evbmips/conf/CPMBR1400: revision 1.30 Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels. time results of a Lemote Fuloong 2F extracting the pkgsrc tree brick$ time tar -jxf pkgsrc.tar.bz2 priocscan + log 612.90 real 103.45 user 194.98 sys priocscan nolog 1345.48 real 103.57 user 274.32 sys fcfs + log 736.02 real 101.71 user 192.95 sys fcfs nolog 1475.16 real 103.06 user 271.14 sys @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.31.2.1 2017/08/29 13:12:47 martin Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.31.2.1 $" a102 5 # Alternate buffer queue strategies for better responsiveness under high # disk I/O load. #options BUFQ_READPRIO options BUFQ_PRIOCSCAN @ 1.30 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: LOONGSON,v 1.29 2016/12/13 20:42:17 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.29 $" d39 1 @ 1.30.4.1 log @Resolve conflicts from previous merge (all resulting from $NetBSD keywork expansion) @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.31 2017/05/11 07:56:43 maya Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.31 $" a38 1 makeoptions COPY_SYMTAB=1 # size for embedded symbol table @ 1.29 log @wildcard speaker attachments, now that we can handle many of them. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.28 2016/12/10 23:03:24 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.28 $" d98 2 @ 1.29.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.30 2017/02/19 07:47:00 rin Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.30 $" a97 2 #options DISKLABEL_EI # disklabel Endian Independent support #options FFS_EI # FFS Endian Independent support @ 1.28 log @remove VAUDIOSPEAKER for now, will be done differently. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.27 2016/12/08 11:31:10 nat Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.27 $" d212 1 a212 1 spkr0 at audio0 # PC speaker (synthesized) @ 1.27 log @Add a synthesized pc beeper and keyboard bell for platforms with an audio device. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.26 2016/07/13 11:12:56 jmcneill Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.26 $" a211 1 options VAUDIOSPEAKER @ 1.26 log @add drvctl(4) @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.25 2014/08/23 20:26:57 dholland Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.25 $" d212 3 @ 1.26.2.1 log @Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.) @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.29 2016/12/13 20:42:17 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.29 $" a211 2 spkr* at audio? # PC speaker (synthesized) @ 1.26.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.30 2017/02/19 07:47:00 rin Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.30 $" a97 2 #options DISKLABEL_EI # disklabel Endian Independent support #options FFS_EI # FFS Endian Independent support @ 1.25 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: LOONGSON,v 1.24 2014/08/16 17:56:32 apb Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.24 $" d355 1 @ 1.25.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.26 2016/07/13 11:12:56 jmcneill Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.26 $" a354 1 pseudo-device drvctl # driver control @ 1.25.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.25.2.1 2016/10/05 20:55:26 skrll Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.25.2.1 $" a211 2 spkr* at audio? # PC speaker (synthesized) @ 1.25.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.25.2.2 2017/02/05 13:40:09 skrll Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.25.2.2 $" a38 1 makeoptions COPY_SYMTAB=1 # size for embedded symbol table a97 2 #options DISKLABEL_EI # disklabel Endian Independent support #options FFS_EI # FFS Endian Independent support a199 1 #options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume a201 1 options PMS_ALPS_TOUCHPAD # Enable support for Alps Touchpads d220 1 a220 1 #options ATADEBUG @ 1.24 log @Add "options COMPAT_70" to all kernel configuration files that already had "options COMPAT_60". @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.23 2014/07/20 10:06:11 alnsn Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.23 $" d131 8 a138 8 options COMPAT_43 options COMPAT_16 options COMPAT_20 options COMPAT_30 # NetBSD 3.0 compatibility. options COMPAT_40 # NetBSD 4.0 compatibility. options COMPAT_50 # NetBSD 5.0 compatibility. options COMPAT_60 # NetBSD 6.0 compatibility. options COMPAT_70 # NetBSD 7.0 compatibility. @ 1.23 log @Add commented out bpfjit options to mips kernels. While here, add 2 missing RCS ids. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.22 2014/01/18 19:26:41 bouyer Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.22 $" d138 1 @ 1.22 log @Add FONT_BOLD8x16, which will help to have a 80x25 tty on sisfb (which is limited to 640x400 pixels at this time). @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.21 2013/06/30 21:38:56 rmind Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.21 $" d126 4 @ 1.22.2.1 log @Rebase. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.23 2014/07/20 10:06:11 alnsn Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.23 $" a125 4 # JIT compiler for bpfilter #options SLJIT #options BPFJIT @ 1.21 log @G/C PFIL_HOOKS from the kernel configs. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.20 2013/06/05 23:08:01 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.20 $" d155 1 @ 1.20 log @remove obsolete networking options @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.19 2013/04/27 21:43:23 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.19 $" a107 1 options PFIL_HOOKS # pfil(9) packet filter hooks @ 1.20.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD$ d25 1 a25 1 #ident "LOONGSON-$Revision$" d108 1 @ 1.20.2.2 log @sync with head @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.20.2.1 2013/08/28 23:59:16 rmind Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.20.2.1 $" a154 1 options FONT_BOLD8x16 @ 1.19 log @the bogus number police @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.18 2013/04/27 18:19:33 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.18 $" a104 1 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) @ 1.18 log @remove confusing numeric locators where they are unused. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.17 2013/03/02 02:42:13 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.17 $" d327 1 a327 1 #pseudo-device raid 8 # RAIDframe disk driver d357 1 a357 1 #pseudo-device veriexec 1 @ 1.17 log @Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.16 2013/03/01 18:25:37 joerg Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.16 $" d308 1 a308 1 pseudo-device loop 1 # network loopback d318 1 a318 1 #pseudo-device ccd 4 # concatenated disks d320 1 a320 1 #pseudo-device cgd 4 # cryptographic disks @ 1.16 log @Retire OSI network stack. OK core@@ @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.15 2013/02/28 13:02:20 macallan Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.15 $" a104 1 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) @ 1.15 log @add INSECURE so X can map PCI memory and registers @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.14 2013/02/28 12:51:18 macallan Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.14 $" a109 3 #options ISO # OSI networking #options TPIP # TPIP #options EON # OSI tunneling over IP @ 1.14 log @add COMPAT_PCVT and pwmclock @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.13 2012/10/17 14:48:11 apb Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.13 $" d72 2 @ 1.13 log @Add "options COMPAT_60" to all kernel configuration files that already had "options COMPAT_50". @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.12 2012/08/17 20:11:39 abs Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.12 $" d152 4 a155 1 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling d174 1 @ 1.12 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: LOONGSON,v 1.11 2012/05/29 20:02:42 nonaka Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.11 $" d137 1 @ 1.12.2.1 log @Resync to 2012-11-19 00:00:00 UTC @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.13 2012/10/17 14:48:11 apb Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.13 $" a136 1 options COMPAT_60 # NetBSD 6.0 compatibility. @ 1.12.2.2 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ d25 1 a25 1 #ident "LOONGSON-$Revision$" a71 2 options INSECURE # disable kernel security levels d103 2 d108 3 d152 1 a152 4 options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_SCROLLSUPPORT a170 1 pwmclock0 at voyager0 # clock and CPU freq scaling d306 1 a306 1 pseudo-device loop # network loopback d316 1 a316 1 #pseudo-device ccd # concatenated disks d318 1 a318 1 #pseudo-device cgd # cryptographic disks d325 1 a325 1 #pseudo-device raid # RAIDframe disk driver d355 1 a355 1 #pseudo-device veriexec @ 1.12.2.3 log @Rebase to HEAD as of a few days ago. @ text @d108 1 a126 4 # JIT compiler for bpfilter #options SLJIT #options BPFJIT a155 1 options FONT_BOLD8x16 @ 1.12.2.4 log @update from HEAD @ text @d21 1 a21 1 include "arch/evbmips/conf/std.loongson" a38 1 makeoptions COPY_SYMTAB=1 # size for embedded symbol table a97 2 #options DISKLABEL_EI # disklabel Endian Independent support #options FFS_EI # FFS Endian Independent support d131 9 a139 1 include "conf/compat_netbsd16.config" a198 1 #options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume a200 1 options PMS_ALPS_TOUCHPAD # Enable support for Alps Touchpads a210 2 spkr* at audio? # PC speaker (synthesized) d217 1 a217 1 #options ATADEBUG a353 1 pseudo-device drvctl # driver control d366 1 d370 2 @ 1.11 log @Add SYSV{MSG,SEM,SHM} options. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.10 2012/05/29 14:12:28 christos Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.10 $" d151 1 @ 1.10 log @add the realtek usb driver from jmcneill @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.9 2012/03/02 13:20:57 nonaka Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.9 $" d61 5 @ 1.9 log @Added Lemote Yeeloong Notebook support. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.8 2011/12/18 05:49:26 dholland Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.8 $" d288 3 @ 1.8 log @WABPL is no longer considered experimental (has not been for some time) so update its comment in config files. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.7 2011/11/22 21:25:11 tls Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.7 $" d77 1 a77 1 #file-system NULLFS # loopback file system d83 1 a83 1 #file-system TMPFS # Efficient memory file-system d165 5 a169 4 strtc* at iic? addr 0x68 # GDIUM's real time clock options STRTC_NO_USERRAM lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller d177 14 a190 6 gcscpcib* at pci? dev ? function ? # AMD CS5535/CS5536 PCI-ISA w/ gpio* at gcscpcib? # timecounter, watchdog and GPIO isa0 at gcscpcib? pcib* at pci? isa0 at pcib? d196 3 d312 1 @ 1.8.2.1 log @Pull up the following revisions(s) (requested by bouyer in ticket #1019): sys/dev/pci/sisfb.c: revision 1.3 sys/arch/evbmips/conf/LOONGSON: revision 1.22 Make sysinst much more useable when used with the VGA display on LOONGSON. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.8 2011/12/18 05:49:26 dholland Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.8 $" a148 1 options FONT_BOLD8x16 @ 1.7 log @ 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. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.6 2011/11/03 02:44:36 macallan Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.6 $" d87 1 a87 1 options WAPBL # File system journaling support - Experimental @ 1.7.2.1 log @merge to -current. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.8 2011/12/18 05:49:26 dholland Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.8 $" d87 1 a87 1 options WAPBL # File system journaling support @ 1.7.2.2 log @sync to latest -current. @ text @d1 1 a1 1 # $NetBSD$ d25 1 a25 1 #ident "LOONGSON-$Revision$" d77 1 a77 1 file-system NULLFS # loopback file system d83 1 a83 1 file-system TMPFS # Efficient memory file-system d165 4 a168 5 strtc* at iic? addr 0x68 # GDIUM's real time clock options STRTC_NO_USERRAM lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller lynxfb0 at pci0 dev ? function ? # SM712 on Yeeloong Notebook d176 6 a181 14 gcscpcib* at pci? dev ? function ? # AMD CS5535/CS5536 PCI-ISA w/ gpio* at gcscpcib? # timecounter, watchdog and GPIO isa0 at gcscpcib? pcib* at pci? isa0 at pcib? pckbc0 at isa? # PC keyboard controller pckbd* at pckbc? # PC keyboard pms* at pckbc? # PS/2 mouse for wsmouse options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads options PMS_ELANTECH_TOUCHPAD # Enable support for Elantech Touchpads wskbd* at pckbd? console ? wsmouse* at pms? mux 0 a186 3 gcscaudio* at pci? audio* at audiobus? a299 1 pseudo-device wsfont @ 1.7.2.3 log @sync to -current @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.7.2.2 2012/03/04 00:46:04 mrg Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.7.2.2 $" d77 1 a77 1 #file-system NULLFS # loopback file system d83 1 a83 1 #file-system TMPFS # Efficient memory file-system d165 5 a169 4 strtc* at iic? addr 0x68 # GDIUM's real time clock options STRTC_NO_USERRAM lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller d177 14 a190 6 gcscpcib* at pci? dev ? function ? # AMD CS5535/CS5536 PCI-ISA w/ gpio* at gcscpcib? # timecounter, watchdog and GPIO isa0 at gcscpcib? pcib* at pci? isa0 at pcib? d196 3 d312 1 @ 1.7.2.4 log @sync to -current @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.7.2.3 2012/03/06 09:56:06 mrg Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.7.2.3 $" d77 1 a77 1 file-system NULLFS # loopback file system d83 1 a83 1 file-system TMPFS # Efficient memory file-system d165 4 a168 5 strtc* at iic? addr 0x68 # GDIUM's real time clock options STRTC_NO_USERRAM lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller lynxfb0 at pci0 dev ? function ? # SM712 on Yeeloong Notebook d176 6 a181 14 gcscpcib* at pci? dev ? function ? # AMD CS5535/CS5536 PCI-ISA w/ gpio* at gcscpcib? # timecounter, watchdog and GPIO isa0 at gcscpcib? pcib* at pci? isa0 at pcib? pckbc0 at isa? # PC keyboard controller pckbd* at pckbc? # PC keyboard pms* at pckbc? # PS/2 mouse for wsmouse options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads options PMS_ELANTECH_TOUCHPAD # Enable support for Elantech Touchpads wskbd* at pckbd? console ? wsmouse* at pms? mux 0 a186 3 gcscaudio* at pci? audio* at audiobus? a299 1 pseudo-device wsfont @ 1.7.2.5 log @sync to latest -current. @ text @d1 1 a1 1 # $NetBSD$ d25 1 a25 1 #ident "LOONGSON-$Revision$" a60 5 # Note: SysV IPC parameters can be changed dynamically; see sysctl(8). options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing a287 3 # Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter urtw* at uhub? port ? @ 1.6 log @add options GDIUM_KEYBOARD_HACK @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.5 2011/09/02 22:42:27 macallan Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.5 $" a296 1 pseudo-device rnd # /dev/random and in-kernel generator @ 1.5 log @add stvii driver for gdium's onboard microcontroller while there add comments on new(ly added) drivers @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.4 2011/08/31 16:58:10 macallan Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.4 $" d242 1 @ 1.5.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.5 2011/09/02 22:42:27 macallan Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.5 $" a241 1 options GDIUM_KEYBOARD_HACK # support Fn key on Gdium @ 1.5.2.2 log @sync with head @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.5.2.1 2011/11/10 14:31:40 yamt Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision$" d77 1 a77 1 file-system NULLFS # loopback file system d83 1 a83 1 file-system TMPFS # Efficient memory file-system d87 1 a87 1 options WAPBL # File system journaling support d165 4 a168 5 strtc* at iic? addr 0x68 # GDIUM's real time clock options STRTC_NO_USERRAM lmtemp* at iic? addr 0x48 # GDIUM's temperature sensor stvii* at iic? addr 0x40 # GDIUM's onboard microcontroller lynxfb0 at pci0 dev ? function ? # SM712 on Yeeloong Notebook d176 6 a181 14 gcscpcib* at pci? dev ? function ? # AMD CS5535/CS5536 PCI-ISA w/ gpio* at gcscpcib? # timecounter, watchdog and GPIO isa0 at gcscpcib? pcib* at pci? isa0 at pcib? pckbc0 at isa? # PC keyboard controller pckbd* at pckbc? # PC keyboard pms* at pckbc? # PS/2 mouse for wsmouse options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads options PMS_ELANTECH_TOUCHPAD # Enable support for Elantech Touchpads wskbd* at pckbd? console ? wsmouse* at pms? mux 0 a186 3 gcscaudio* at pci? audio* at audiobus? d297 1 a300 1 pseudo-device wsfont @ 1.5.2.3 log @sync with head @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.5.2.2 2012/04/17 00:06:17 yamt Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.5.2.2 $" a60 5 # Note: SysV IPC parameters can be changed dynamically; see sysctl(8). options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVSHM # System V-like memory sharing a131 1 options COMPAT_60 # NetBSD 6.0 compatibility. a145 1 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling a287 3 # Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter urtw* at uhub? port ? @ 1.5.2.4 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: LOONGSON,v 1.5.2.3 2012/10/30 17:19:29 yamt Exp $ d25 1 a25 1 #ident "LOONGSON-$Revision: 1.5.2.3 $" a71 2 options INSECURE # disable kernel security levels d103 2 d108 4 d152 1 a152 4 options WSDISPLAY_COMPAT_PCVT options WSDISPLAY_COMPAT_SYSCONS options WSDISPLAY_COMPAT_USL options WSDISPLAY_SCROLLSUPPORT a155 1 options FONT_BOLD8x16 a170 1 pwmclock0 at voyager0 # clock and CPU freq scaling d306 1 a306 1 pseudo-device loop # network loopback d316 1 a316 1 #pseudo-device ccd # concatenated disks d318 1 a318 1 #pseudo-device cgd # cryptographic disks d325 1 a325 1 #pseudo-device raid # RAIDframe disk driver d355 1 a355 1 #pseudo-device veriexec @ 1.4 log @turn kernel output green @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.3 2011/08/31 16:55:41 macallan Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.3 $" d162 2 a163 2 voyager0 at pci0 dev ? function ? voyagerfb0 at voyager0 d165 1 a165 1 strtc* at iic? addr 0x68 d167 2 a168 1 lmtemp* at iic? addr 0x48 @ 1.3 log @add voyager, voyagerfb and drivers for Gdium's rtc and temperature sensor @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.2 2011/08/27 17:05:57 bouyer Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.2 $" d146 1 @ 1.2 log @The loongon2f+cs5526+jmicron PATA->SATA bridge cause an interresting issue: 1) because the CS5536 is not associated with a x86 CPU, interrupts are not ack'ed as it expects so interrupts cannot configured as edge-triggered (as is expected for a PCIIDE in compat mode) 2) the PATA->SATA bridge ignores the WDC_IDS (interrupt disable bit) so the PATA IRQ line gets asserted when resetting or running some polled commands. It also wrongly asserts IRQ when the (nonexistent) slave device is selected 2) wouldn't be an issue with edge-triggered interrupt because we would get a spurious interrupt and continue operation, a new interrupt only shows up when the PATA IRQ line goes low and high again. But because of 1), we get an unclearable interrupt instead, and the system loops on the interrupt handler. To workaround this, introduce a WDC_NO_IDS compile option which runs all polled commands (including reset) at splbio() and without sleeps, so that the controller's interrupt is effectively disabled and won't be reenabled before the interrupt can be cleared. The conditions triggering this problem are speficic enough to handle this via a compile-time option; no need for a run-time (e.g. a config(9), device property or callback to disable interrupts) solution. @ text @d1 1 a1 1 # $NetBSD: LOONGSON,v 1.1 2011/08/27 13:42:44 bouyer Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.1 $" d161 6 a166 1 #X#voyagerfb0 at pci0 dev ? function ? @ 1.1 log @Add loongson support to evbmips, based on the OpenBSD loongson port and the existing evbmips/gdium support. This has been tested on a lemote fuloong device (boots multiuser), should also support other lemote devices (maybe with minor adjustments, or adding missing drivers). There is some gdium support here too, but it may not be yet complete (someone with a gdium would need to have a look, hi macallan@@ :) loongson kernels are 64bits only: the loongson2f has ressources located above the 2Gb physical address, and it's much easier to access it using XKPHYS than trying to make it fit in the limited 32bit kernel virtual space. @ text @d1 1 a1 1 # $NetBSD: GDIUM,v 1.12 2011/03/06 17:08:23 bouyer Exp $ d25 1 a25 1 #ident "GDIUM-$Revision: 1.12 $" d182 1 @