From 386a59d734ac596019146d25b68dd7151f471948 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Fri, 27 Jul 2001 18:28:37 +0000 Subject: Uncomment a return(ENXIO) that I commented out for debugging purposes. --- sys/dev/txp/if_txp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/txp') diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c index 1dd3fea17ed1c..aa666bcc2700a 100644 --- a/sys/dev/txp/if_txp.c +++ b/sys/dev/txp/if_txp.c @@ -258,13 +258,13 @@ txp_attach(dev) #ifdef TXP_USEIOSPACE if (!(command & PCIM_CMD_PORTEN)) { device_printf(dev, "failed to enable I/O ports!\n"); - error = ENXIO;; + error = ENXIO; goto fail; } #else if (!(command & PCIM_CMD_MEMEN)) { device_printf(dev, "failed to enable memory mapping!\n"); - error = ENXIO;; + error = ENXIO; goto fail; } #endif @@ -1063,7 +1063,7 @@ txp_alloc_rings(sc) if (r != STAT_WAITING_FOR_BOOT) { device_printf(sc->sc_dev, "not waiting for boot\n"); - /*return(ENXIO);*/ + return(ENXIO); } WRITE_REG(sc, TXP_H2A_2, 0); -- cgit v1.3