From owner-svn-src-all@FreeBSD.ORG Wed Aug 25 02:09:07 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D904A1065694; Wed, 25 Aug 2010 02:09:07 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C8C1C8FC1A; Wed, 25 Aug 2010 02:09:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7P297AR096249; Wed, 25 Aug 2010 02:09:07 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7P297uJ096247; Wed, 25 Aug 2010 02:09:07 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201008250209.o7P297uJ096247@svn.freebsd.org> From: Warner Losh Date: Wed, 25 Aug 2010 02:09:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r211793 - head/sys/dev/ed X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2010 02:09:07 -0000 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