From 389748c1e88d8f5edbc90418459112e35d26eac7 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Sat, 1 Nov 2003 23:24:38 +0000 Subject: [PATCH] Do if_xname conversion. I missed this one because it's pc98 only. --- sys/dev/snc/dp83932.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/snc/dp83932.c b/sys/dev/snc/dp83932.c index ec56e809fe1..5b59e293def 100644 --- a/sys/dev/snc/dp83932.c +++ b/sys/dev/snc/dp83932.c @@ -172,8 +172,8 @@ sncconfig(sc, media, nmedia, defmedia, myea) #endif ifp->if_softc = sc; - ifp->if_unit = device_get_unit(sc->sc_dev); - ifp->if_name = "snc"; + if_initname(ifp, device_get_name(sc->sc_dev), + device_get_unit(sc->sc_dev)); ifp->if_ioctl = sncioctl; ifp->if_output = ether_output; ifp->if_start = sncstart;