Better logging when the Geometry register probe fails.

This commit is contained in:
Warner Losh 1999-03-02 20:56:07 +00:00
parent 8b3bd42341
commit ec0211864c

View File

@ -55,7 +55,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: aha.c,v 1.18 1998/12/22 22:31:06 imp Exp $
* $Id: aha.c,v 1.19 1999/01/20 06:21:26 imp Exp $
*/
#include "pnp.h"
@ -379,8 +379,8 @@ aha_probe(struct aha_softc* aha)
DELAY(10000);
status = aha_inb(aha, GEOMETRY_REG);
if (status != 0xff && status != 0x00) {
PRVERB(("%s: Geometry Register test failed\n",
aha_name(aha)));
PRVERB(("%s: Geometry Register test failed 0x%x\n",
aha_name(aha), status));
return (ENXIO);
}
}