Subject: ed device with bus.h failes to clear shared memory
To: None <current-users@NetBSD.ORG>
From: None <enami@ba2.so-net.or.jp>
List: current-users
Date: 05/02/1996 21:54:55
The recent ed device which uses bus.h doesn't work for me.  It give
following message when startup and not probed.

May  2 21:13:58 king-show /netbsd: ed0: failed to clear shared memory at cc000 - check configuration

The previous if_ed.c (version 1.91) works fine.  Or if I changed the
code from

	/* Now zero memory and verify that it is clear. */
	for (i = 0; i < memsize; ++i)
		bus_mem_write_1(bc, memh, sc->mem_start + i, 0);

to
	bzero(memh, memsize);

it also works.  Does any one have similar experience?

The system I use is:
AIR 486EI, Intel 486DX4/100, memory 16M, buslogic bt445c,
seagate st31230n (hawk 1G), SMC Elite16C Ultra.

When it is probed, the message is:
May  2 21:21:43 king-show /netbsd: ed0 at isa0 port 0x300-0x31f iomem 0xcc000-0xcffff irq 10
May  2 21:21:43 king-show /netbsd: ed0: address 00:00:c0:4a:26:97, type SMC8216/SMC8216C (16-bit) aui

enami.