[Midnightbsd-cvs] [MidnightBSD/src] 1abcb3: gpioevents: add support for pull-down and floating...

Lucas Holt noreply at github.com
Tue Jun 27 10:46:04 EDT 2023


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 1abcb34da46b95e4f33b13c928994cf9d92ff8be
      https://github.com/MidnightBSD/src/commit/1abcb34da46b95e4f33b13c928994cf9d92ff8be
  Author: Rene Ladan <rene at FreeBSD.org>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M tools/test/gpioevents/gpioevents.c

  Log Message:
  -----------
  gpioevents: add support for pull-down and floating input pins.

The pin-mode (ft, pd, pu for floating, pull-down, pull-up) is
specified after the intr-config (no, eb, ef, er) for each pin.

Tested on my Raspberry Pi 1B.

PR:		268504
Approved by:	manu
MFC after:      1 week

(cherry picked from commit 453db42291a3179a51b9bf41ca7dbc0a5298bffa)

gpioevents: fix some white-space errors

Fixes:		453db42291a3 - gpioevents: add support for pull-down and floating input pins.
Approved by:	manu (implicit)
MFC after:	1 week

(cherry picked from commit e2f3742ab8b10ba5ec4dc190c5b64e9151bb0d57)


  Commit: ee4fbd3370f10d3ce2ef2a0cc7b64a51ee52ae91
      https://github.com/MidnightBSD/src/commit/ee4fbd3370f10d3ce2ef2a0cc7b64a51ee52ae91
  Author: Vincenzo Maffione <vmaffione at FreeBSD.org>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M tools/tools/netmap/pkt-gen.c

  Log Message:
  -----------
  pkt-gen: flip IPv4 address in ping-pong mode

MFC after:	7 days

(cherry picked from commit 9a7abd932727dbf593cda85b18de87855b2e7e06)


  Commit: df36fb805f8d93fd7b69e0fec6e9456480724237
      https://github.com/MidnightBSD/src/commit/df36fb805f8d93fd7b69e0fec6e9456480724237
  Author: Vincenzo Maffione <vmaffione at FreeBSD.org>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M sys/dev/netmap/netmap.c
    M sys/dev/netmap/netmap_bdg.h
    M sys/dev/netmap/netmap_kern.h

  Log Message:
  -----------
  netmap_update_config: update na->name to cope with reconfigurations

MFC after:	1 week

(cherry picked from commit 4ad57c7afaca3fd94b67c00706e210f0373b8e62)


  Commit: 491ee8bae964178db2e74689a57c725b0e4ae80f
      https://github.com/MidnightBSD/src/commit/491ee8bae964178db2e74689a57c725b0e4ae80f
  Author: Vincenzo Maffione <vmaffione at FreeBSD.org>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M sys/dev/netmap/if_ptnet.c
    M sys/dev/netmap/netmap_freebsd.c
    M sys/dev/netmap/netmap_generic.c
    M sys/dev/netmap/netmap_kern.h

  Log Message:
  -----------
  netmap: drop compatibility FreeBSD code

Netmap users on FreeBSD are not supposed to import code from the
github netmap repository anymore. They should use the code that
is available in the src repo. We can therefore drop the compatibility
code.

MFC after:	7 days

(cherry picked from commit 3da494d3246e30a19d2107c8bb8a293ffd5a9da6)


Compare: https://github.com/MidnightBSD/src/compare/bc2140a70f41...491ee8bae964


More information about the Midnightbsd-cvs mailing list