The NetBSD Project

CVS log for src/sys/compat/common/ccd_60.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / common

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:00 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.7.2.1: +3 -3 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Merge changes from current as of 20200406

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 12 02:15:42 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, 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, HEAD
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.

Note that we still have a per-hook localcount, since we need to count
individual references.

As discussed with riastradh@

Welcome to 9.99.22 !

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:57 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.7: +7 -6 lines
Diff to previous 1.7 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 1 11:06:56 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, 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, isaki-audio2-base, isaki-audio2
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 27 03:00:48 2019 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored)

make this compile again (enable #if 0 code)

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.7: +7 -4 lines
Diff to previous 1.7 (colored)

Merge the [pgoyette-compat] branch

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Wed Jan 23 03:34:14 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.2.8: +4 -7 lines
Diff to previous 1.1.2.8 (colored) next main 1.2 (colored)

Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit.  IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).

NFC intended, will verify with a bulk build and an atf test run.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Tue Sep 18 23:03:54 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.7: +4 -4 lines
Diff to previous 1.1.2.7 (colored)

The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sun Sep 16 04:57:22 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.6: +7 -4 lines
Diff to previous 1.1.2.6 (colored)

Yay - we got the ccd_ioctl_60 stuff to build!

Now we can use that as a template for cleaning up all the others.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Tue Mar 20 08:11:25 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.5: +5 -6 lines
Diff to previous 1.1.2.5 (colored)

Initial implementation of sys/kern/kern_stup.c as discussed on tech-kern

For now, we only handle the dev/ccd and NTP needs;  more to follow.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Mon Mar 19 21:53:04 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.4: +8 -4 lines
Diff to previous 1.1.2.4 (colored)

Stub-out the compat ioctl routine for now to fix compile error on
kernels with no ccd device.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 19 13:26:02 2018 UTC (6 years ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-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
Branch point for: phil-wifi
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

XXX stub it completely for now to make it compile

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 19 13:04:01 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.5: +5 -4 lines
Diff to previous 1.5 (colored)

XXX: don't reference the global for now so that kernels without ccd build.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 19 00:21:50 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.4: +2 -4 lines
Diff to previous 1.4 (colored)

remove another error decl.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sun Mar 18 23:34:25 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.3: +8 -14 lines
Diff to previous 1.1.2.3 (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.4 / (download) - annotate - [select for diffs], Sun Mar 18 23:26:38 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (colored)

remove error decl

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 18 23:22:15 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

- use the conditional from the header file
- fix compilation

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Mar 18 22:49:26 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.2: +12 -6 lines
Diff to previous 1.1.2.2 (colored)

Declare 'error' if needed

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 18 22:48:00 2018 UTC (6 years ago) by pgoyette
Branch: MAIN
Changes since 1.1: +6 -2 lines
Diff to previous 1.1 (colored)

Declare 'error' if needed

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Mar 18 21:41:31 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.1: +103 -0 lines
Diff to previous 1.1.2.1 (colored)

Import compat_60 changes for dev/ccd

Revision 1.1.2.1, Sun Mar 18 20:33:52 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +0 -103 lines
FILE REMOVED

file ccd_60.c was added on branch pgoyette-compat on 2018-03-18 21:41:31 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 18 20:33:52 2018 UTC (6 years ago) by christos
Branch: MAIN
Branch point for: pgoyette-compat

factor out the ccd COMPAT_60 code.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>