diff options
| author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2000-07-25 04:39:19 +0000 |
|---|---|---|
| committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2000-07-25 04:39:19 +0000 |
| commit | 1f0e1ae558f1a86c344cabc3deedb1013397fada (patch) | |
| tree | 860a95e391ddb80ba399339be959a8c3a72e0956 | |
| parent | a49a5c1300dc43e5ed54a82762e2d9b48d3f2f83 (diff) | |
Notes
| -rw-r--r-- | sys/pccard/pcic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 18606d6fa6a3..caec6ec2b506 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -499,12 +499,12 @@ pcic_attach(device_t dev) struct pcic_slot *sp; int i; + SET_UNIT(dev, validunits); sp = &pcic_slots[GET_UNIT(dev) * PCIC_CARD_SLOTS]; for (i = 0; i < PCIC_CARD_SLOTS; i++, sp++) { if (sp->slt) device_add_child(dev, NULL, -1); } - SET_UNIT(dev, validunits); validunits++; rid = 0; |
