Uncomment a return(ENXIO) that I commented out for debugging purposes.

This commit is contained in:
Bill Paul 2001-07-27 18:28:37 +00:00
parent b7d617e742
commit 386a59d734
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80455

View File

@ -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);