diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-12-10 17:36:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-12-10 17:36:57 +0000 |
commit | c0cb1540eaf8570881b50007ae8e94b13ae96d0d (patch) | |
tree | 1e6dfd9101c00570024a11c28682e7ee86447c26 /sys/arch | |
parent | c58ae0c7d81d2559353140db0720ed8e57c48dc5 (diff) |
For a few years already, dkcsum can be silent
Diffstat (limited to 'sys/arch')
-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 } /* |