From fb212aff1574511ba6de3663bfc111acf38032a5 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Thu, 13 May 1999 20:36:00 +0000 Subject: [PATCH] Remove unneeded line of code that got left behind when I converted this driver to use bus_space_read_foo()/bus_space_write_foo(). The line is not visible unless you compile the driver to use PCI memory mapped mode, which not done by default, but it should be fixed anyway. --- sys/pci/if_wb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index f3291e54ee66..3dd216c15204 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_wb.c,v 1.8 1999/04/24 20:14:02 peter Exp $ + * $Id: if_wb.c,v 1.9 1999/05/09 17:07:05 peter Exp $ */ /* @@ -121,7 +121,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_wb.c,v 1.8 1999/04/24 20:14:02 peter Exp $"; + "$Id: if_wb.c,v 1.9 1999/05/09 17:07:05 peter Exp $"; #endif /* @@ -1107,7 +1107,6 @@ wb_attach(config_id, unit) printf ("wb%d: couldn't map memory\n", unit); goto fail; } - sc->csr = (volatile caddr_t)vbase; sc->wb_btag = I386_BUS_SPACE_MEM; sc->wb_bhandle = vbase; #endif