Don't use // for comments.

This commit is contained in:
jmcneill 2006-09-24 03:42:41 +00:00
parent f6db1b6893
commit 4c8d1c711c
2 changed files with 13 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: auixp.c,v 1.17 2006/09/18 15:18:52 reinoud Exp $ */
/* $NetBSD: auixp.c,v 1.18 2006/09/24 03:42:41 jmcneill Exp $ */
/*
* Copyright (c) 2004, 2005 Reinoud Zandijk <reinoud@netbsd.org>
@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.17 2006/09/18 15:18:52 reinoud Exp $");
__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.18 2006/09/24 03:42:41 jmcneill Exp $");
#include <sys/types.h>
#include <sys/errno.h>
@ -81,7 +81,7 @@ __KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.17 2006/09/18 15:18:52 reinoud Exp $");
#include <dev/pci/auixpvar.h>
//#define DEBUG_AUIXP
/* #define DEBUG_AUIXP */
/* why isn't this base address register not in the headerfile? */
@ -1801,8 +1801,10 @@ auixp_powerhook(int why, void *hdl)
break;
case PWR_RESUME:
auixp_resume(sc);
/* XXX fix me XXX */
// (sc->codec_if->vtbl->restore_ports)(sc->codec_if);
#if notyet
/* XXX fix me XXX */
(sc->codec_if->vtbl->restore_ports)(sc->codec_if);
#endif
break;
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: azalia.c,v 1.39 2006/08/28 00:04:21 christos Exp $ */
/* $NetBSD: azalia.c,v 1.40 2006/09/24 03:43:34 jmcneill Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: azalia.c,v 1.39 2006/08/28 00:04:21 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: azalia.c,v 1.40 2006/09/24 03:43:34 jmcneill Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -738,8 +738,10 @@ azalia_init_rirb(azalia_t *az)
return ENOMEM;
}
//rirbctl = AZ_READ_1(az, RIRBCTL);
//AZ_WRITE_1(az, RIRBCTL, rirbctl & ~HDA_RIRBCTL_RINTCTL);
#if notyet
rirbctl = AZ_READ_1(az, RIRBCTL);
AZ_WRITE_1(az, RIRBCTL, rirbctl & ~HDA_RIRBCTL_RINTCTL);
#endif
/* reset the write pointer */
rirbwp = AZ_READ_2(az, RIRBWP);