Page MenuHomeFreeBSD

Fall back to ether_ioctl() by default.
ClosedPublic

Authored by brooks on Mar 29 2018, 3:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 23, 9:19 AM
Unknown Object (File)
Dec 16 2025, 1:09 PM
Unknown Object (File)
Nov 25 2025, 9:19 AM
Unknown Object (File)
Nov 24 2025, 7:52 AM
Unknown Object (File)
Nov 23 2025, 2:32 PM
Unknown Object (File)
Nov 21 2025, 4:50 AM
Unknown Object (File)
Nov 20 2025, 10:01 PM
Unknown Object (File)
Nov 20 2025, 10:01 PM
Subscribers
None

Details

Summary

The common pratice in ethernet device drivers is to fall back to
ether_ioctl() to implement generic ioctls not implemented by the driver
and to fail if no handler exists.

Convert these drivers to follow that practice rather than calling
ether_ioctl() for specific cases.

vxge(4) aready had the default case, but it was only called on failure
to match.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15871
Build 15876: arc lint + arc unit

Event Timeline

The goal here is to reduce bad copy-and-paste examples and reduce the number of instances of SIOCGIFADDR and SIOCSIFADDR I need to audit in CheriBSD.

This revision is now accepted and ready to land.Mar 29 2018, 5:15 PM
This revision was automatically updated to reflect the committed changes.