summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2021-11-12 06:51:04 +0000
committerskrll <skrll@NetBSD.org>2021-11-12 06:51:04 +0000
commit8aed4480914f872ebbb6f9b2a77d6e2bbec859b7 (patch)
tree8a2b59d87fe7c62932848bdc18821b0aa1c1e067 /sys/dev
parentb5b177822d5a2d2c7152a3d1c756fc1801b80a82 (diff)
Trailing whitespace
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/ata.c20
-rw-r--r--sys/dev/pci/files.pci10
2 files changed, 15 insertions, 15 deletions
diff --git a/sys/dev/ata/ata.c b/sys/dev/ata/ata.c
index 414b45fe771..535398bcb9e 100644
--- a/sys/dev/ata/ata.c
+++ b/sys/dev/ata/ata.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ata.c,v 1.164 2021/10/05 08:01:05 rin Exp $ */
+/* $NetBSD: ata.c,v 1.165 2021/11/12 06:53:49 skrll Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.164 2021/10/05 08:01:05 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.165 2021/11/12 06:53:49 skrll Exp $");
#include "opt_ata.h"
@@ -94,7 +94,7 @@ static struct pool ata_xfer_pool;
/*
* A queue of atabus instances, used to ensure the same bus probe order
* for a given hardware configuration at each boot. Kthread probing
- * devices on a atabus. Only one probing at once.
+ * devices on a atabus. Only one probing at once.
*/
static TAILQ_HEAD(, atabus_initq) atabus_initq_head;
static kmutex_t atabus_qlock;
@@ -1330,7 +1330,7 @@ ata_free_xfer(struct ata_channel *chp, struct ata_xfer *xfer)
if (__predict_false(chp->ch_atac->atac_free_hw))
chp->ch_atac->atac_free_hw(chp);
-
+
ata_channel_unlock(chp);
if (__predict_true(!ISSET(xfer->c_flags, C_PRIVATE_ALLOC)))
@@ -1420,7 +1420,7 @@ ata_timo_xfer_check(struct ata_xfer *xfer)
device_printf(drvp->drv_softc,
"xfer %"PRIxPTR" freed while invoking timeout\n",
- (intptr_t)xfer & PAGE_MASK);
+ (intptr_t)xfer & PAGE_MASK);
ata_free_xfer(chp, xfer);
return true;
@@ -1431,7 +1431,7 @@ ata_timo_xfer_check(struct ata_xfer *xfer)
device_printf(drvp->drv_softc,
"xfer %"PRIxPTR" deactivated while invoking timeout\n",
- (intptr_t)xfer & PAGE_MASK);
+ (intptr_t)xfer & PAGE_MASK);
return true;
}
@@ -1503,7 +1503,7 @@ ata_kill_pending(struct ata_drive_datas *drvp)
break;
}
}
-
+
if (!drv_active) {
/* all finished */
break;
@@ -1614,7 +1614,7 @@ ata_thread_run(struct ata_channel *chp, int flags, int type, int arg)
/* Block execution of other commands during reset */
ata_channel_freeze_locked(chp);
- /*
+ /*
* If reset has been scheduled to a thread, then clear
* the flag now so that the thread won't try to execute it if
* we happen to sleep, and thaw one more time after the reset.
@@ -1761,7 +1761,7 @@ ata_print_modes(struct ata_channel *chp)
? " w/PRIO" : "");
} else if (drvp->drive_flags & ATA_DRIVE_WFUA)
aprint_verbose(", WRITE DMA FUA EXT");
-
+
#endif /* NATA_DMA || NATA_PIOBM */
aprint_verbose("\n");
}
@@ -2278,7 +2278,7 @@ atabus_rescan(device_t self, const char *ifattr, const int *locators)
/*
* we can rescan a port multiplier atabus, even if some devices are
- * still attached
+ * still attached
*/
if (chp->ch_satapmp_nports == 0) {
if (chp->atapibus != NULL) {
diff --git a/sys/dev/pci/files.pci b/sys/dev/pci/files.pci
index 5572c82c2c9..2055042813e 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $NetBSD: files.pci,v 1.438 2021/08/25 09:06:02 msaitoh Exp $
+# $NetBSD: files.pci,v 1.439 2021/11/12 06:51:04 skrll Exp $
#
# Config file and device description for machine-independent PCI code.
# Included by ports that need it. Requires that the SCSI files be
@@ -152,7 +152,7 @@ file dev/pci/isp_pci.c isp_pci
attach mfi at pci with mfi_pci
file dev/pci/mfi_pci.c mfi_pci
-# LSI MegaRAID SAS Fusion RAID controllers
+# LSI MegaRAID SAS Fusion RAID controllers
device mfii: scsi
attach mfii at pci
file dev/pci/mfii.c mfii
@@ -926,7 +926,7 @@ file dev/pci/njs_pci.c njs_pci
# S2io Xframe 10 Gigabit ethernet (Xframe driver)
device xge: ether, ifnet, arp
-attach xge at pci
+attach xge at pci
file dev/pci/if_xge.c xge
# Via Velocity 612x 10/100/1000 Ethernet
@@ -1046,7 +1046,7 @@ attach pm2fb at pci
file dev/pci/pm2fb.c pm2fb
defflag opt_pm2fb.h PM2FB_DEBUG
-# Permedia 3 / Oxygen VX1 / Proformance 3
+# Permedia 3 / Oxygen VX1 / Proformance 3
device pm3fb: wsemuldisplaydev, rasops8, vcons, videomode, i2cexec, i2c_bitbang, ddc_read_edid, edid
attach pm3fb at pci
file dev/pci/pm3fb.c pm3fb
@@ -1115,7 +1115,7 @@ file dev/pci/igma.c igma
defflag opt_tdvfb.h TDVFB_CONSOLE
device tdvfb: wsemuldisplaydev, rasops16, rasops32, vcons, videomode
attach tdvfb at pci
-file dev/pci/tdvfb.c tdvfb
+file dev/pci/tdvfb.c tdvfb
# nvidia geforce framebuffer console driver
device gffb: wsemuldisplaydev, rasops8, vcons, glyphcache