Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 02:09:07 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r211793 - head/sys/dev/ed
Message-ID:  <201008250209.o7P297uJ096247@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Aug 25 02:09:07 2010
New Revision: 211793
URL: http://svn.freebsd.org/changeset/base/211793

Log:
  On second thought, we need to force 16-bit mode

Modified:
  head/sys/dev/ed/if_ed_novell.c

Modified: head/sys/dev/ed/if_ed_novell.c
==============================================================================
--- head/sys/dev/ed/if_ed_novell.c	Wed Aug 25 02:03:48 2010	(r211792)
+++ head/sys/dev/ed/if_ed_novell.c	Wed Aug 25 02:09:07 2010	(r211793)
@@ -136,6 +136,9 @@ ed_probe_Novell_generic(device_t dev, in
 		sc->isa16bit = 1;
 		sc->type = ED_TYPE_NE2000;
 		sc->type_str = "NE2000";
+		ed_nic_outb(sc, ED_P0_DCR, ED_DCR_WTS | ED_DCR_FT1 | ED_DCR_LS);
+		ed_nic_outb(sc, ED_P0_PSTART, 16384 / ED_PAGE_SIZE);
+		ed_nic_outb(sc, ED_P0_PSTOP, 32768 / ED_PAGE_SIZE);
 	} else {
 		/*
 		 * Write a test pattern in byte mode. If this fails, then there



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008250209.o7P297uJ096247>