consolidate pci and cardbus detach code, and have it detach kstats.
authordlg <dlg@openbsd.org>
Fri, 19 Jan 2024 03:46:14 +0000 (03:46 +0000)
committerdlg <dlg@openbsd.org>
Fri, 19 Jan 2024 03:46:14 +0000 (03:46 +0000)
commite13f72484a72d3f19eb5a5ed41e7514c3e2ee20d
tree4b923517f2c561531c1da9b217aaf4b2da12fff7
parent8a7561556ff0411f036fc09fda2ac02073c42208
consolidate pci and cardbus detach code, and have it detach kstats.

this solves one probably with an re(4) going away.
sys/dev/cardbus/if_re_cardbus.c
sys/dev/ic/re.c
sys/dev/ic/revar.h
sys/dev/pci/if_re_pci.c