diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 2001-07-27 18:28:37 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 2001-07-27 18:28:37 +0000 |
| commit | 386a59d734ac596019146d25b68dd7151f471948 (patch) | |
| tree | 62dfac14bcff80a1083431d49c9f4b92a124609f /sys/dev | |
| parent | b7d617e742da3dad188983a9520d89ce751b3aa0 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/txp/if_txp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
