Up to [cvs.NetBSD.org] / src / sys / compat / common
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 19 23:19:51 2022 UTC (3 months, 1 week ago) by pgoyette
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +6 -1
lines
Diff to previous 1.6 (colored)
Create compat_100 module infrastructure now that we have branched for NetBSD-10
Revision 1.1.44.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:13 2020 UTC (2 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.1.44.1: +9 -2
lines
Diff to previous 1.1.44.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 22 22:59:38 2019 UTC (3 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
netbsd-10-base,
netbsd-10,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Changes since 1.5: +9 -2
lines
Diff to previous 1.5 (colored)
Add a new member to struct vfsstat and grow the unused members The new member is caled f_mntfromlabel and it is the dkw_wname of the corresponding wedge. This is now used by df -W to display the mountpoint name as NAME=
Revision 1.1.44.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:58 2019 UTC (3 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.1: +164 -5
lines
Diff to previous 1.1 (colored)
Sync with HEAD
Revision 1.5 / (download) - annotate - [select for diffs], Fri May 17 07:37:11 2019 UTC (3 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Changes since 1.4: +3 -1
lines
Diff to previous 1.4 (colored)
The max subtype of the ifmedia word is 31. It's too small for Ethernet now. We currently use use it up to 30. We should extend the limit to be able to use more than 10Gbps speeds. Our ifmedia(4) is inconvenience and have some problem so we should redesign the interface, but it's too late for netbsd-9 to do it. So, we keep the data structure size and modify the structure a bit. The strategy is almost the same as FreeBSD. Many bits of IFM_OMASK for Ethernet have not used, so use some of them for Ethernet's subtype. The differences against FreeBSD are: - We use NetBSD style compat code (i.e. no SIOCGIFXMEDIA). - FreeBSD's IFM_ETH_XTYPE's bit location is from 11 to "14" even though IFM_OMASK is from 8 to "15". We use _IFM_ETH_XTMASK from bit 13 to "15". - FreeBSD changed the meaning of IFM_TYPE_MATCH(). I think we should not do it. We keep it not changing and added new IFM_TYPE_SUBTYPE_MATCH() macro for matching both TYPE and SUBTYPE. - Added up to 400GBASE-SR16. New layout of the media word is as follows (from ifmedia_h): * if_media Options word: * Bits Use * ---- ------- * 0-4 Media subtype MAX SUBTYPE == 255 for ETH and 31 for others * 5-7 Media type * 8-15 Type specific options * 16-18 Mode (for multi-mode devices) * 19 (Reserved for Future Use) * 20-27 Shared (global) options * 28-31 Instance * * 3 2 1 * 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 * +-------+---------------+-+-----+---------------+-----+---------+ * | | |R| | | | | * | IMASK | GMASK |F|MMASK+-----+ OMASK |NMASK| TMASK | * | | |U| |XTMSK| | | | * +-------+---------------+-+-----+-----+---------+-----+---------+ * <-----> <---> <---> * IFM_INST() IFM_MODE() IFM_TYPE() * * IFM_SUBTYPE(other than ETH)<-------> * * <---> IFM_SUBTYPE(ETH)<-------> * * * <-------------> <-------------> * IFM_OPTIONS()
Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 15 02:07:11 2019 UTC (3 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: isaki-audio2-base,
isaki-audio2
Changes since 1.3: +3 -1
lines
Diff to previous 1.3 (colored)
Split the COMPAT_50 socket-timeout stuff out of kern/uipc_socket.c and into its own source file, which is now included in the compat_50 module. (Not sure how this got missed during the original [pgoyette-compat] work)
Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 28 15:46:49 2019 UTC (4 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
- provide a hook for the 43 tty ioctls - make the 60 tty ioctl hook look the same - fix the tty code to call both hooks and remove unused lock
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (4 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.1: +160 -5
lines
Diff to previous 1.1 (colored)
Merge the [pgoyette-compat] branch
Revision 1.1.42.24 / (download) - annotate - [select for diffs], Fri Jan 11 06:27:45 2019 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.42.23: +3 -1
lines
Diff to previous 1.1.42.23 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Rework the various sysctl-related routines to call the correct code for each version. While here, extract the 5.0 specific code instead of including in the main rtsock.c code. Also, clean up all the sysctl-related routines to prevent building more than one copy, no matter how many places rtsock.c gets #include'd into!
Revision 1.1.42.23 / (download) - annotate - [select for diffs], Fri Oct 12 22:30:54 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.22: +3 -1
lines
Diff to previous 1.1.42.22 (colored) to branchpoint 1.1 (colored)
Use a MP-safe hook for the rnd_ioctl compat_50 calls.
Revision 1.1.42.22 / (download) - annotate - [select for diffs], Wed Sep 19 04:12:43 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.21: +3 -1
lines
Diff to previous 1.1.42.21 (colored) to branchpoint 1.1 (colored)
Split out the vnd COMPAT_50 code
Revision 1.1.42.21 / (download) - annotate - [select for diffs], Tue Apr 17 07:24:55 2018 UTC (4 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.20: +6 -8
lines
Diff to previous 1.1.42.20 (colored) to branchpoint 1.1 (colored)
Finish separating the compat_09 and compat_43 stuff
Revision 1.1.42.20 / (download) - annotate - [select for diffs], Tue Apr 17 00:02:58 2018 UTC (4 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.19: +38 -1
lines
Diff to previous 1.1.42.19 (colored) to branchpoint 1.1 (colored)
First pass at compat modules for 4.3BSD, NetBSD-0.9, and NetBSD-1.0 XXX Still need to deal with the sysctl stuff and other code shared XXX between 09 and 43
Revision 1.1.42.19 / (download) - annotate - [select for diffs], Mon Apr 16 03:41:34 2018 UTC (4 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.18: +5 -5
lines
Diff to previous 1.1.42.18 (colored) to branchpoint 1.1 (colored)
Rename if_[45]0_{init,fini} entry points to more appropriate and more consistent uipc_syscalls_[45]0_{init,fini} and remove some multiple declarations.
Revision 1.1.42.18 / (download) - annotate - [select for diffs], Tue Apr 3 08:29:44 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.17: +3 -1
lines
Diff to previous 1.1.42.17 (colored) to branchpoint 1.1 (colored)
Remove fixed allocation of modules' "required" lists (previously limited to MAXMODDEPS entries). Update the modctl(MODCTL_STAT) syscall to return the required data in a new format, and retain the previous data format in MODCTL_OSTAT. Update the compat_80 and compat_netbsd32 modules as needed.
Revision 1.1.42.17 / (download) - annotate - [select for diffs], Sat Mar 31 09:17:35 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.16: +12 -1
lines
Diff to previous 1.1.42.16 (colored) to branchpoint 1.1 (colored)
create the compat_12 module
Revision 1.1.42.16 / (download) - annotate - [select for diffs], Fri Mar 30 11:18:34 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.15: +10 -1
lines
Diff to previous 1.1.42.15 (colored) to branchpoint 1.1 (colored)
Add compat_13 module
Revision 1.1.42.15 / (download) - annotate - [select for diffs], Fri Mar 30 10:09:07 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.14: +8 -1
lines
Diff to previous 1.1.42.14 (colored) to branchpoint 1.1 (colored)
Extract compat_14 stuff into its own module
Revision 1.1.42.14 / (download) - annotate - [select for diffs], Fri Mar 30 05:35:47 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.13: +8 -1
lines
Diff to previous 1.1.42.13 (colored) to branchpoint 1.1 (colored)
Create and build a compat_16 module
Revision 1.1.42.13 / (download) - annotate - [select for diffs], Fri Mar 30 02:28:49 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.12: +12 -1
lines
Diff to previous 1.1.42.12 (colored) to branchpoint 1.1 (colored)
Create and build the compat_20 module
Revision 1.1.42.12 / (download) - annotate - [select for diffs], Thu Mar 29 11:20:02 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.11: +3 -1
lines
Diff to previous 1.1.42.11 (colored) to branchpoint 1.1 (colored)
Split out the usb compat_30 code and add it to the module
Revision 1.1.42.11 / (download) - annotate - [select for diffs], Wed Mar 28 07:51:09 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.10: +3 -1
lines
Diff to previous 1.1.42.10 (colored) to branchpoint 1.1 (colored)
Split vnd compat_30 code out of the main driver and into the compat_30 module
Revision 1.1.42.10 / (download) - annotate - [select for diffs], Wed Mar 28 04:18:24 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.9: +14 -1
lines
Diff to previous 1.1.42.9 (colored) to branchpoint 1.1 (colored)
Initial pass at a compat_30 module. Still needs some work for dev/vnd and various dev/usb/*
Revision 1.1.42.9 / (download) - annotate - [select for diffs], Tue Mar 27 07:29:44 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.8: +12 -1
lines
Diff to previous 1.1.42.8 (colored) to branchpoint 1.1 (colored)
Create a compat_40 module
Revision 1.1.42.8 / (download) - annotate - [select for diffs], Fri Mar 23 09:38:48 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.7: +6 -1
lines
Diff to previous 1.1.42.7 (colored) to branchpoint 1.1 (colored)
For now, the compat_80 module is empty.
Revision 1.1.42.7 / (download) - annotate - [select for diffs], Mon Mar 19 21:54:43 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.6: +18 -2
lines
Diff to previous 1.1.42.6 (colored) to branchpoint 1.1 (colored)
Initial pass at a COMPAT_50 module. More to come.
Revision 1.1.42.6 / (download) - annotate - [select for diffs], Sun Mar 18 23:34:25 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.5: +3 -3
lines
Diff to previous 1.1.42.5 (colored) to branchpoint 1.1 (colored)
Merge changes from HEAD into ccd_60.c For all of the individual xxx_60_{init,fini} routines, don't force them to artificially return a status; just make them void. This simplifies the compat_60_{init,fini} handling of errors that remain.
Revision 1.1.42.5 / (download) - annotate - [select for diffs], Sun Mar 18 09:00:55 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.4: +3 -3
lines
Diff to previous 1.1.42.4 (colored) to branchpoint 1.1 (colored)
Clean-up for kern_cpu_60 code. Also, although not strictly necessary, include the kern_sa_60 stuff in the compat_60 module, for completeness. Still need to deal with some tty code and the ccd driver to finish off the compat_60 module.
Revision 1.1.42.4 / (download) - annotate - [select for diffs], Sun Mar 18 02:05:21 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.3: +13 -1
lines
Diff to previous 1.1.42.3 (colored) to branchpoint 1.1 (colored)
Move closer to a complete compat_60 module. All that remains is some tty stuff and some ccd ioctl()s.
Revision 1.1.42.3 / (download) - annotate - [select for diffs], Sat Mar 17 00:44:38 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.2: +3 -3
lines
Diff to previous 1.1.42.2 (colored) to branchpoint 1.1 (colored)
Make all the compat_xx_{init,fini} routines return an int, whether or not they currently need it.
Revision 1.1.42.2 / (download) - annotate - [select for diffs], Fri Mar 16 08:10:26 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.42.1: +3 -3
lines
Diff to previous 1.1.42.1 (colored) to branchpoint 1.1 (colored)
Move closer to getting a compat_60 module - still needs more work
Revision 1.1.42.1 / (download) - annotate - [select for diffs], Fri Mar 16 01:16:29 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +7 -1
lines
Diff to previous 1.1 (colored)
Initial pass at setting up the compat_60 module. XXX needs some work to properly handle cpu_ucode stuff. While here, move details of compat_70 init/fini routines into the module itself.
Revision 1.1.16.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:15 2014 UTC (8 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1.16.1: +41 -0
lines
Diff to previous 1.1.16.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.1.6.2 / (download) - annotate - [select for diffs], Thu Mar 14 16:33:09 2013 UTC (10 years ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1
Changes since 1.1.6.1: +41 -0
lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Pull up following revision(s) (requested by pgoyette in ticket #837): sys/compat/common/kern_time_50.c: revision 1.25 sys/kern/init_sysctl.c: revision 1.195 sys/kern/init_main.c: revision 1.447 sys/compat/common/compat_util.h: revision 1.23 sys/compat/common/compat_mod.h: revision 1.1 sys/compat/common/compat_mod.c: revision 1.16 sys/compat/common/compat_mod.c: revision 1.17 sys/compat/common/compat_mod.c: revision 1.18 sys/compat/common/vfs_syscalls_43.c: revision 1.55 Move boottime50 and its associated sysctl into the compat module. As noted on tech-kern. Should fix PR/47579. OK christos@ Will request pull-up to 6.0 in a few days. Wrap sysctl_teardown(&compat_clog) with the appropriate #if defined()s remove empty #if
Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:07 2013 UTC (10 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.1.4.1: +41 -0
lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
resync with head
Revision 1.1.16.1, Thu Feb 21 01:39:54 2013 UTC (10 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.1: +0 -41
lines
FILE REMOVED
file compat_mod.h was added on branch yamt-pagecache on 2014-05-22 11:40:15 +0000
Revision 1.1.6.1, Thu Feb 21 01:39:54 2013 UTC (10 years, 1 month ago) by riz
Branch: netbsd-6
Changes since 1.1: +0 -41
lines
FILE REMOVED
file compat_mod.h was added on branch netbsd-6 on 2013-03-14 16:33:09 +0000
Revision 1.1.4.1, Thu Feb 21 01:39:54 2013 UTC (10 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.1: +0 -41
lines
FILE REMOVED
file compat_mod.h was added on branch tls-maxphys on 2013-02-25 00:29:07 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 21 01:39:54 2013 UTC (10 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
khorben-n900,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
phil-wifi,
pgoyette-compat,
netbsd-6
Move boottime50 and its associated sysctl into the compat module. As noted on tech-kern. Should fix PR/47579. OK christos@ Will request pull-up to 6.0 in a few days.