svn commit: r211793 - head/sys/dev/ed

Warner Losh imp at FreeBSD.org
Wed Aug 25 02:09:07 UTC 2010


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


More information about the svn-src-head mailing list