Date: Thu, 18 Mar 1999 19:34:02 +0000 (GMT) From: Andy Doran <ad@psn.ie> To: Wes Peters <wes@softweyr.com> Cc: Mike Spengler <mks@networkcs.com>, hackers@freebsd.org Subject: Re: fxp driver causing lockup Message-ID: <Pine.BSF.4.05.9903181933040.325-100000@vmunix.psn.ie> In-Reply-To: <36F04CD0.B0D46F3B@softweyr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903181933040.325-100000>