summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-05-13 20:36:00 +0000
committerwpaul <wpaul@FreeBSD.org>1999-05-13 20:36:00 +0000
commite33fdd052056c7d8859223f35e1f41a531c0952d (patch)
tree030824e316a5033742b52eaa75216412ea207de6
parentbc576fdb28e703a8f2cca219067e976735d3815d (diff)
downloadFreeBSD-src-e33fdd052056c7d8859223f35e1f41a531c0952d.zip
FreeBSD-src-e33fdd052056c7d8859223f35e1f41a531c0952d.tar.gz
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.
-rw-r--r--sys/pci/if_wb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index f3291e5..3dd216c 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
OpenPOWER on IntegriCloud