From cfd71a8415067fdf15ffdae9dfe3b977d1945cff Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 25 May 2001 18:28:49 +0000 Subject: 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. --- sys/pccard/pcic_isa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pccard/pcic_isa.c') 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++) { /* -- cgit v1.1