Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Modify comment. Whitespace. No functional change.
details: https://anonhg.NetBSD.org/src/rev/aee3ce9559f0
branches: trunk
changeset: 372981:aee3ce9559f0
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jan 09 16:26:08 2023 +0000
description:
Modify comment. Whitespace. No functional change.
diffstat:
sys/dev/pci/piixpm.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 6fa1caf81640 -r aee3ce9559f0 sys/dev/pci/piixpm.c
--- a/sys/dev/pci/piixpm.c Mon Jan 09 14:37:50 2023 +0000
+++ b/sys/dev/pci/piixpm.c Mon Jan 09 16:26:08 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: piixpm.c,v 1.67 2022/04/01 15:34:34 pgoyette Exp $ */
+/* $NetBSD: piixpm.c,v 1.68 2023/01/09 16:26:08 msaitoh Exp $ */
/* $OpenBSD: piixpm.c,v 1.39 2013/10/01 20:06:02 sf Exp $ */
/*
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.67 2022/04/01 15:34:34 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.68 2023/01/09 16:26:08 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -52,7 +52,7 @@
#define PIIXPM_IS_CSB5(sc) \
(PCI_VENDOR((sc)->sc_id) == PCI_VENDOR_SERVERWORKS && \
- PCI_PRODUCT((sc)->sc_id) == PCI_PRODUCT_SERVERWORKS_CSB5)
+ PCI_PRODUCT((sc)->sc_id) == PCI_PRODUCT_SERVERWORKS_CSB5)
#define PIIXPM_DELAY 200
#define PIIXPM_TIMEOUT 1
@@ -76,7 +76,7 @@
struct piixpm_smbus {
int sda;
int sda_save;
- struct piixpm_softc *softc;
+ struct piixpm_softc *softc;
};
struct piixpm_softc {
@@ -424,7 +424,7 @@
else
sc->sc_numbusses = 4;
- /* Fetch SMB base address */
+ /* Check SMBus enable bit and Fetch SMB base address */
if (bus_space_map(iot,
SB800_INDIRECTIO_BASE, SB800_INDIRECTIO_SIZE, 0, &ioh)) {
device_printf(sc->sc_dev, "couldn't map indirect I/O space\n");
Home |
Main Index |
Thread Index |
Old Index