From owner-freebsd-bugs Tue Apr 6 16:35:41 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from gw1.pl.cp (adsl-209-76-108-39.dsl.pacbell.net [209.76.108.39]) by hub.freebsd.org (Postfix) with ESMTP id 9A6A7154B2; Tue, 6 Apr 1999 16:35:37 -0700 (PDT) (envelope-from astralblue@usa.net) Received: from localhost (gene@localhost) by gw1.pl.cp (8.9.2/8.9.2) with SMTP id QAA85610; Tue, 6 Apr 1999 16:33:34 -0700 (PDT) (envelope-from astralblue@usa.net) X-Authentication-Warning: gw1.pl.cp: gene owned process doing -bs Date: Tue, 6 Apr 1999 16:33:34 -0700 (PDT) From: "Eugene M. Kim" X-Sender: gene@gw1.pl.cp To: Noor Dawod Cc: freebsd-bugs@freebsd.org, Bill Paul Subject: Re: kern/10886: kernel tries to initialize xl driver in 3.1-STABLE (as of 3/30/1999) and fails reporting: "xl: couldn't map port" In-Reply-To: <199904030850.AAA35710@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm now having exactly the same problem on one of my machines which has an 3C509-TX card and runs the -current. It seems the following commit has caused the problem: ------------------------------- cut here ------------------------------- From wpaul@FreeBSD.org Tue Apr 6 16:29:19 1999 Date: Sat, 27 Mar 1999 12:41:26 -0800 (PST) From: Bill Paul To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_pn.c if_pnreg.h if_xl.c if_xlreg.h src/sys/alpha/conf GENERIC wpaul 1999/03/27 12:41:26 PST Modified files: sys/pci if_pn.c if_pnreg.h if_xl.c if_xlreg.h sys/alpha/conf GENERIC Log: Make the xl and pn drivers work on FreeBSD/alpha and add them to sys/alpha/conf/GENERIC. Note: the PNIC ignores the lower few bits of the RX buffer DMA address, which means we have to add yet another kludge to make it happy. Since we can't offset the packet data, we copy the first few bytes of the received data into a separate mbuf with proper alignment. This puts the IP header where it needs to be to prevent unaligned accesses. Also modified the PNIC driver to use a non-interrupt driven TX strategy. This improves performance somewhat on x86/SMP systems where interrupt delivery doesn't seem to be as fast with an SMP kernel as with a UP kernel. Revision Changes Path 1.9 +62 -25 src/sys/pci/if_pn.c 1.6 +8 -4 src/sys/pci/if_pnreg.h 1.26 +29 -4 src/sys/pci/if_xl.c 1.10 +18 -30 src/sys/pci/if_xlreg.h 1.16 +3 -1 src/sys/alpha/conf/GENERIC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message