Subject: Re: if_cnw correction (PR 10139)
To: None <itojun@iijlab.net>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: port-i386
Date: 07/05/2000 15:21:59
Thus spake itojun@iijlab.net
> >> +#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 ?
>
> thanks. somehow, it compiled fine :-)
I bet it wouldn't if MEMORY_MAPPED was not defined.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.