History log of /freebsd-current/sys/dev/etherswitch/ip17x/ip17x.c
Revision Date Author Comments
# 54482989 04-Feb-2024 Mark Johnston <markj@FreeBSD.org>

etherswitch: Use device_set_desc(f)()

No functional change intended.

MFC after: 1 week


# 82f43db3 08-May-2024 Ed Maste <emaste@FreeBSD.org>

ip17x: fix non-debug build

PR: 278847
Reviewed by: jhibbits
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45133


# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 74c592c0 31-Jan-2023 Justin Hibbits <jhibbits@FreeBSD.org>

etherswitch: Clean up whitespace after IfAPI conversion

Sponsored by: Juniper Networks, Inc.
Fixes: 2e6a8c1ae


# 2e6a8c1a 30-May-2022 Justin Hibbits <jhibbits@FreeBSD.org>

Mechanically convert etherswitch drivers to IfAPI

Reviewed by: kd
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37813


# 42726c2f 09-May-2022 John Baldwin <jhb@FreeBSD.org>

etherswitch drivers: Remove unused devclass arguments to DRIVER_MODULE.


# 829a13fa 09-May-2022 John Baldwin <jhb@FreeBSD.org>

Remove unused etherswitch_devclass.


# 8933f7d6 19-Apr-2022 John Baldwin <jhb@FreeBSD.org>

Remove unused mdio_devclass.


# 3e38757d 19-Apr-2022 John Baldwin <jhb@FreeBSD.org>

Remove unused miibus_devclass and miibus_fdt_devclass.


# 0774131e 24-Jan-2018 Michael Zhilin <mizhka@FreeBSD.org>

[etherswitch] check if_alloc returns NULL

This patch is cosmetic. It checks if allocation of ifnet structure failed.
It's better to have this check rather than assume positive scenario.

Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>


# 718cf2cc 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

sys/dev: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.


# a99badc2 05-May-2017 Adrian Chadd <adrian@FreeBSD.org>

[ip17x] [etherswitch] fdt away and mii hang workaround on ip17x

Add workaround mii access because of rt1310 is hang up on etherswitch mii poll.
And FDT away on arm platform.

Tested:

* wzr2-g300n

Submitted by: Hiroki Mori <yamori813@yahoo.co.jp>
Reviewed by: mizhka
Differential Revision: https://reviews.freebsd.org/D10295


# f0be707d 09-Aug-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

sys/dev: replace comma with semicolon when pertinent.

Uses of commas instead of a semicolons can easily go undetected. The comma
can serve as a statement separator but this shouldn't be abused when
statements are meant to be standalone.

Detected with devel/coccinelle following a hint from DragonFlyBSD.

MFC after: 1 month


# 71e8eac4 25-Dec-2015 Adrian Chadd <adrian@FreeBSD.org>

[mdio] migrate mdiobus out of etherswitch and into a top-level device of its own.

The mdio driver interface is generally useful for devices that require
MDIO without the full MII bus interface. This lifts the driver/interface
out of etherswitch(4), and adds a mdio(4) man page.

Submitted by: Landon Fuller <landon@landonf.org>
Differential Revision: https://reviews.freebsd.org/D4606


# 8237ba8a 09-May-2014 Luiz Otavio O Souza <loos@FreeBSD.org>

Fix the build with debug enabled and remove a variable used only at switch
initialization, it is nonsense keep it around without futher use.


# 4170452d 27-Feb-2014 Christian Brueffer <brueffer@FreeBSD.org>

Add missing includes and remove two unused ones.

Reviewed by: loos
MFC after: 1 week


# 248dd603 08-May-2013 Adrian Chadd <adrian@FreeBSD.org>

Bring in a basic ethernet switch driver for the IP17x series of
switches.

These are notably found on some AR71xx based Mikrotik boards.

Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>
Reviewed by: ray