From owner-freebsd-hackers Thu Mar 18 12: 0:25 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.psn.ie (mailhub.psn.ie [194.106.150.254]) by hub.freebsd.org (Postfix) with ESMTP id 55E771527B for ; Thu, 18 Mar 1999 12:00:21 -0800 (PST) (envelope-from ad@psn.ie) Received: from vmunix.psn.ie ([194.106.150.252]) by mailhub.psn.ie with esmtp (Exim 2.12 #3) id 10NiXL-00009c-00; Thu, 18 Mar 1999 19:32:59 +0000 Received: from localhost.psn.ie ([127.0.0.1] helo=localhost) by vmunix.psn.ie with esmtp (Exim 2.10 #1) id 10NiYM-00005I-00; Thu, 18 Mar 1999 19:34:02 +0000 Date: Thu, 18 Mar 1999 19:34:02 +0000 (GMT) From: Andy Doran To: Wes Peters Cc: Mike Spengler , hackers@freebsd.org Subject: Re: fxp driver causing lockup In-Reply-To: <36F04CD0.B0D46F3B@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > There was a FreeBSD 2.2.x -> 3.x change in which the driver is now responsible > > for setting the PCI busmaster enable bit. This may (or not) be your problem. > > In the fxp_attach() function, you should insert the following before doing > > the pci_map_mem() call: > > > > u_long val; > > > > val = pci_conf_read(config_id, PCI_COMMAND_STATUS_REG); > > val |= (PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN); > > pci_conf_write(config_id, PCI_COMMAND_STATUS_REG, val); > > > > Hope this helps! Thanks to all who helped out. I'll give this a shot tomorrow and let you know how it goes. Andy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message