summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_zp.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-02-28 16:23:36 +0000
committernate <nate@FreeBSD.org>1996-02-28 16:23:36 +0000
commit5d62a45baa6fb897ad041aaf9304109004409f41 (patch)
treef42546d6a57226123573bacae77ee5cea4ad2bd7 /sys/i386/isa/if_zp.c
parentf327e1fb69dc9a4ac7d128a641c116948a63c36d (diff)
downloadFreeBSD-src-5d62a45baa6fb897ad041aaf9304109004409f41.zip
FreeBSD-src-5d62a45baa6fb897ad041aaf9304109004409f41.tar.gz
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 <jgahm@BBN.COM> Submitted by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r--sys/i386/isa/if_zp.c4
1 files changed, 3 insertions, 1 deletions
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
OpenPOWER on IntegriCloud