summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic_isa.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-05-25 18:28:49 +0000
committerimp <imp@FreeBSD.org>2001-05-25 18:28:49 +0000
commitcfd71a8415067fdf15ffdae9dfe3b977d1945cff (patch)
tree3098ba65428f08d66966ef336d2180030034e16e /sys/pccard/pcic_isa.c
parent76ca05f26f8d877cbb2daa7d37c391fa80170d43 (diff)
downloadFreeBSD-src-cfd71a8415067fdf15ffdae9dfe3b977d1945cff.zip
FreeBSD-src-cfd71a8415067fdf15ffdae9dfe3b977d1945cff.tar.gz
Migrate from unit based to dev base. Don't save unit number, but do save
dev. Convert all uses of unit to dev as appropriate. Minor comment fixes to pcic_softc definition.
Diffstat (limited to 'sys/pccard/pcic_isa.c')
-rw-r--r--sys/pccard/pcic_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic_isa.c b/sys/pccard/pcic_isa.c
index 5f82180..5e18bb2 100644
--- a/sys/pccard/pcic_isa.c
+++ b/sys/pccard/pcic_isa.c
@@ -107,7 +107,7 @@ pcic_isa_probe(device_t dev)
}
sc = (struct pcic_softc *) device_get_softc(dev);
- sc->unit = device_get_unit(dev);
+ sc->dev = dev;
sp = &sc->slots[0];
for (slotnum = 0; slotnum < PCIC_CARD_SLOTS; slotnum++, sp++) {
/*
OpenPOWER on IntegriCloud