Subject: bogus 68040 ifdefs in ARM32 drivers
To: None <port-arm32@NetBSD.ORG>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: port-arm32
Date: 05/23/1998 23:05:09
Hello,

when preparing the opt_m68kcpu.h file, I found this:

jocelyn arm32 !% grep M680 */*
podulebus/ptsc.c:#if M68040
podulebus/sbic.c:#if defined(M68040)
podulebus/sbic.c:#ifdef M68040
podulebus/sbic.c:#ifdef M68040
jocelyn arm32 !%

the code in question does cache flushing in preparation of DMA operations,
on 68040 (and 060) machines. In the arm32 port, it evaluates to #if 0, of
course.

Somebody should either erase, or replace by the right #ifdef, or even #if 1,
depending on what is correct for your machines...

Regards,
	Ignatios