diff options
author | imp <imp@FreeBSD.org> | 2001-05-25 18:28:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-05-25 18:28:49 +0000 |
commit | cfd71a8415067fdf15ffdae9dfe3b977d1945cff (patch) | |
tree | 3098ba65428f08d66966ef336d2180030034e16e /sys/pccard/pcic.c | |
parent | 76ca05f26f8d877cbb2daa7d37c391fa80170d43 (diff) | |
download | FreeBSD-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.c')
-rw-r--r-- | sys/pccard/pcic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 2316f74..7e3496c 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -623,8 +623,8 @@ pcictimeout(void *chan) struct pcic_softc *sc = (struct pcic_softc *) chan; if (pcicintr1(chan) != 0) { - printf("pcic%d: Static bug detected, ignoring hardware.\n", - ((struct pcic_softc *)chan)->unit); + device_printf(sc->dev, + "Static bug detected, ignoring hardware."); return; } sc->timeout_ch = timeout(pcictimeout, chan, hz/2); |