From 5d62a45baa6fb897ad041aaf9304109004409f41 Mon Sep 17 00:00:00 2001 From: nate Date: Wed, 28 Feb 1996 16:23:36 +0000 Subject: Fix for 3C589C model. This patch allows people with the new models to work and doesn't break support for the older models (tested with my 3C589B). Reviewed by: Joshua Gahm Submitted by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi) --- sys/i386/isa/if_zp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/i386/isa/if_zp.c') diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c index 2e09ee6..d9d5a9b 100644 --- a/sys/i386/isa/if_zp.c +++ b/sys/i386/isa/if_zp.c @@ -34,7 +34,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $ - * $Id: if_zp.c,v 1.15 1996/01/26 09:27:34 phk Exp $ + * $Id: if_zp.c,v 1.16 1996/02/06 18:50:51 wollman Exp $ */ /*- * TODO: @@ -377,8 +377,10 @@ re_init: * for. */ pcic_map_memory(slot, 0, kvtop(isa_dev->id_maddr), 0x10000, 8L, ATTRIBUTE, 1); +#if OLD_3C589B_CARDS POKE(isa_dev->id_maddr, 0x80); /* reset the card (how long?) */ DELAY(40000); +#endif /* Set the configuration index. According to [1], the adapter won't * respond to any i/o signals until we do this; it uses the Memory * Only interface (whatever that is; it's not documented). Also turn -- cgit v1.1