diff options
author | Nate Williams <nate@FreeBSD.org> | 1996-02-28 16:23:36 +0000 |
---|---|---|
committer | Nate Williams <nate@FreeBSD.org> | 1996-02-28 16:23:36 +0000 |
commit | f2b04a2396853095ccfbd8efa7cd23b8944c3ced (patch) | |
tree | f42546d6a57226123573bacae77ee5cea4ad2bd7 /sys/i386/isa/if_zp.c | |
parent | 827bc33af47f80ef9a9fd7e2179bae6da9a83e00 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=14295
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r-- | sys/i386/isa/if_zp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c index 2e09ee64c25c..d9d5a9b09879 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 |