The NetBSD Project

CVS log for src/sys/dev/dev_verbose.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:20 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +21 -20 lines
Sync with HEAD.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jun 29 21:03:36 2021 UTC (3 years, 6 months ago) by pgoyette
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +21 -20 lines
Rework the xxxVERBOSE option to share the common module-hook-based
verbose mechanism with MIIVERBOSE.  This reduces some duplicated code
and allows us to once again permit auto-unload of MIIVERBOSE.

Change details:
* Update dev/devlist2h.awk to accomodate miidevs, including generation
  of MII_STR_oui_model definitions and use of oui and model rather than
  vendor and product.  This also changes the compressed data in the
  xxxdevs_data.h files to uint32_t (since mii oui's are up to 6 hex
  digits long)
* Update a couple of phy drivers to use new calls to get verbose data
* Regen all of the xxxdevs{,_data}.h files (separate commit, coming
  very soon)
* Update mii/mii_verbose.[ch] and mii/mii_physubr.c to use the various
  DEV_VERBOSE_xxx macros
* Update the pci, usb, and hdaudio code as needed, to #include the
  xxxdevs.h files (in order to get the proper printf format strings)
* Since dev/dev_verbose.c now uses non-literal printf format strings,
  (to deal with the vendor/product vs oui/model issue), we need to
  make sure it gets compiled with -Wno-error=format-nonliteral, even
  in userland's libpci and librumpdev!
* Bump kernel version for the change in module interfaces

Welcome to 9.99.86!

XXX It might be useful in the future to extend the MII_STR_oui_model
XXX definitions to PCI as well (and perhaps USB and HDAUDIO).  This
XXX would allow for a single centralized location for the products'
XXX descriptions, rather than being dispersed among individual
XXX drivers' xxx_match tables.

Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:27 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +53 -40 lines
Sync w/ HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jun 15 23:24:57 2021 UTC (3 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
dev_verbose(9): Use a comma expression, not an expression block.

Should pacify clang's -Wcompound-token-split-by-macro.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jun 9 23:22:51 2021 UTC (3 years, 7 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +53 -42 lines
Use the localcount(9)-based module_hook mechanism to prevent the verbose
modules' code and data being unloaded while in use.  Should prevent some
crashes reported by Riastradh@ to occur during suspend/resume operation.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jun 1 22:58:03 2021 UTC (3 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
dev_verbose(9): Prohibit autounloading modules.

This logic is not safe for autounload right now -- there's no
mechanism by which to block new users and wait for existing users to
drain when unloading.  To be remedied!

Revision 1.2.10.2: download - view: text, markup, annotated - select for diffs
Tue Aug 11 17:07:55 2020 UTC (4 years, 5 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.2.10.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.10.1: +2 -2 lines
Additionally pull up following revision(s) (requested by uwe in ticket #1584):

	sys/dev/dev_verbose.h: revision 1.4

DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to match the definition.
Catch up with previous to unbreak autoloading of verbose modules.
PR kern/55535

Revision 1.2.26.2: download - view: text, markup, annotated - select for diffs
Tue Aug 11 17:06:18 2020 UTC (4 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.2.26.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.26.1: +2 -2 lines
Additionally pull up following revision(s) (requested by uwe in ticket #1037):

	sys/dev/dev_verbose.h: revision 1.4

DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to match the definition.
Catch up with previous to unbreak autoloading of verbose modules.
PR kern/55535

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Aug 11 12:10:10 2020 UTC (4 years, 5 months ago) by uwe
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to match the definition.

Catch up with previous to unbreak autoloading of verbose modules.
PR kern/55535

CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?

Revision 1.2.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 5 14:48:35 2020 UTC (4 years, 5 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Pull up following revision(s) (requested by uwe in ticket #1584):

	sys/dev/dev_verbose.h: revision 1.3

DEV_VERBOSE_MODULE_DEFINE - use MODULE_CLASS_DRIVER.

This makes built-in verbose modules available before the start of the
autoconfiguration, when they are needed.  From pgoyette@

PR kern/55535

Revision 1.2.26.1: download - view: text, markup, annotated - select for diffs
Wed Aug 5 14:47:04 2020 UTC (4 years, 5 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Pull up following revision(s) (requested by uwe in ticket #1037):

	sys/dev/dev_verbose.h: revision 1.3

DEV_VERBOSE_MODULE_DEFINE - use MODULE_CLASS_DRIVER.

This makes built-in verbose modules available before the start of the
autoconfiguration, when they are needed.  From pgoyette@

PR kern/55535

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Aug 3 18:19:35 2020 UTC (4 years, 5 months ago) by uwe
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
DEV_VERBOSE_MODULE_DEFINE - use MODULE_CLASS_DRIVER.

This makes built-in verbose modules available before the start of the
autoconfiguration, when they are needed.  From pgoyette@

PR kern/55535

Revision 1.2.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.16.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.16.1: +145 -0 lines
update from HEAD

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:48 2015 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.2.16.1
Fri Nov 13 01:37:19 2015 UTC (9 years, 2 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -145 lines
file dev_verbose.h was added on branch tls-maxphys on 2017-12-03 11:36:58 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Nov 13 01:37:19 2015 UTC (9 years, 2 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-merge-20190127, 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, pgoyette-compat, 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, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: tls-maxphys, netbsd-9, netbsd-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
remove extra semicolons.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Sep 21 14:30:22 2014 UTC (10 years, 4 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Merge the 3 copies of devlist2h.awk that deal with 16 bit key and value
pairs to the compressed one that matt wrote.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>