diff options
| author | Nate Williams <nate@FreeBSD.org> | 1997-10-23 04:53:32 +0000 |
|---|---|---|
| committer | Nate Williams <nate@FreeBSD.org> | 1997-10-23 04:53:32 +0000 |
| commit | 759e7b0aef1fb023d00fa8d0b114341d3b0ebdc5 (patch) | |
| tree | 66e352630f911c5df5f595b37cf3712a1a845cc5 /sys | |
| parent | a27d2a5ed183b7ff0de3d8cc0421bd88c3e690d7 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/pccard/pccard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 8f7d15b754ec..aeefe5bc3ad2 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -355,7 +355,7 @@ slot_suspend(void *arg) struct slot *sp = arg; struct pccard_dev *dp; - if (slot->state == filled) { + if (sp->state == filled) { for (dp = sp->devices; dp; dp = dp->next) (void)dp->drv->suspend(dp); } @@ -389,7 +389,7 @@ slot_resume(void *arg) sp->ctrl->power(sp); if (sp->irq) sp->ctrl->mapirq(sp, sp->irq); - if (slot->state == filled) { + if (sp->state == filled) { for (dp = sp->devices; dp; dp = dp->next) (void)dp->drv->init(dp, 0); } |
