Subject: Re: if_cnw correction (PR 10139)
To: None <itojun@iijlab.net>
From: Jaromír Doleček <dolecek@ibis.cz>
List: port-i386
Date: 07/05/2000 20:42:53
> @@ -337,10 +351,20 @@
> printf("%s: resetting\n", sc->sc_dev.dv_xname);
> #endif
> wait_WOC(sc, 0);
> +#ifndef MEMORY_MAPPED
> bus_space_write_1(sc->sc_iot, sc->sc_ioh, CNW_REG_PMR, CNW_PMR_RESET);
> +#eles
> + bus_space_write_1(sc->sc_memt, sc->sc_meh,
> + sc->sc_memoff + CNW_IOM_OFF + CNW_REG_PMR, CNW_PMR_RESET);
> +#endif
Hmm, shouldn't this #eles be #else ?
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, damn! @@@@