mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Detach the pccard bus children when we eject a 16-bit card, not the
32-bit ones. This was introduced in the last commit.
This commit is contained in:
parent
372360693d
commit
518792d85c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106395
@ -993,7 +993,7 @@ static void
|
||||
cbb_removal(struct cbb_softc *sc)
|
||||
{
|
||||
if (sc->flags & CBB_16BIT_CARD && sc->pccarddev != NULL)
|
||||
CARD_DETACH_CARD(sc->cbdev);
|
||||
CARD_DETACH_CARD(sc->pccarddev);
|
||||
else if ((!(sc->flags & CBB_16BIT_CARD)) && sc->cbdev != NULL)
|
||||
CARD_DETACH_CARD(sc->cbdev);
|
||||
cbb_destroy_res(sc);
|
||||
|
Loading…
Reference in New Issue
Block a user