Specifically, ccr(4) devices are also children of cxgbe nexus devices.
Rather than making assumptions about the child device's softc, walk the
list of ports from the nexus' softc to determine if a child is a port
in t4_child_location_str(). This fixes a panic when detaching a ccr
device.
Details
Details
- Reviewers
np - Commits
- rS344671: Don't assume all children of a nexus are ports.
- kldunload of ccr currently panicks
- after change, kldunload no longer panicks, and no location info shows up for ccr0 in 'devinfo -v'
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 22801 Build 21892: arc lint + arc unit