diff options
-rw-r--r-- | sys/arch/amd64/amd64/dkcsum.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/dkcsum.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/dkcsum.c b/sys/arch/amd64/amd64/dkcsum.c index 4878239e6af..b046aeab844 100644 --- a/sys/arch/amd64/amd64/dkcsum.c +++ b/sys/arch/amd64/amd64/dkcsum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dkcsum.c,v 1.9 2006/01/22 00:39:59 miod Exp $ */ +/* $OpenBSD: dkcsum.c,v 1.10 2007/12/10 17:36:56 deraadt Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -149,9 +149,11 @@ dkcsumattach(void) picked = hit || (bdi->flags & BDI_PICKED); if (!picked) hit = bdi; +#ifdef DEBUG printf("dkcsum: %s matches BIOS drive %#x%s\n", dv->dv_xname, bdi->bios_number, (picked ? " IGNORED" : "")); +#endif } /* diff --git a/sys/arch/i386/i386/dkcsum.c b/sys/arch/i386/i386/dkcsum.c index 19af1e527b8..db327069a1e 100644 --- a/sys/arch/i386/i386/dkcsum.c +++ b/sys/arch/i386/i386/dkcsum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dkcsum.c,v 1.21 2006/05/11 13:21:11 mickey Exp $ */ +/* $OpenBSD: dkcsum.c,v 1.22 2007/12/10 17:36:56 deraadt Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -149,9 +149,11 @@ dkcsumattach(void) picked = hit || (bdi->flags & BDI_PICKED); if (!picked) hit = bdi; +#ifdef DEBUG printf("dkcsum: %s matches BIOS drive %#x%s\n", dv->dv_xname, bdi->bios_number, (picked ? " IGNORED" : "")); +#endif } /* |