The branch main has been updated by kbowling:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2397b18ceb5d69d4d4e3bd0b3ca07dcd077bf843

commit 2397b18ceb5d69d4d4e3bd0b3ca07dcd077bf843
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-09-03 03:32:14 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-09-03 03:35:17 +0000

    axgbe: Wire iflib power management methods
    
    Register the standard iflib device methods for shutdown, suspend, and
    resume.  This gives axgbe the framework managed reinitialization used by
    other iflib drivers after a power transition.
    
    MFC after:      2 weeks
    Sponsored by:   BBOX.io
---
 sys/dev/axgbe/if_axgbe_pci.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/dev/axgbe/if_axgbe_pci.c b/sys/dev/axgbe/if_axgbe_pci.c
index 77f6b8a056d8..00b4c6c1d451 100644
--- a/sys/dev/axgbe/if_axgbe_pci.c
+++ b/sys/dev/axgbe/if_axgbe_pci.c
@@ -187,6 +187,9 @@ static device_method_t ax_methods[] = {
        DEVMETHOD(device_probe, iflib_device_probe),
        DEVMETHOD(device_attach, iflib_device_attach),
        DEVMETHOD(device_detach, iflib_device_detach),
+       DEVMETHOD(device_shutdown, iflib_device_shutdown),
+       DEVMETHOD(device_suspend, iflib_device_suspend),
+       DEVMETHOD(device_resume, iflib_device_resume),
 
        /* MII interface */
        DEVMETHOD(miibus_readreg, axgbe_miibus_readreg),

Reply via email to