Subject: Re: if_cnw correction (PR 10139)
To: Jaromr Doleek <dolecek@ibis.cz>
From: None <itojun@iijlab.net>
List: port-i386
Date: 07/06/2000 03:48:41
>> @@ -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 ?
thanks. somehow, it compiled fine :-)
itojun