Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/adm5120/dev Make this compile again.
details: https://anonhg.NetBSD.org/src/rev/2cae267f8c76
branches: trunk
changeset: 1026783:2cae267f8c76
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Dec 07 06:49:15 2021 +0000
description:
Make this compile again.
diffstat:
sys/arch/mips/adm5120/dev/ahci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d7738737e823 -r 2cae267f8c76 sys/arch/mips/adm5120/dev/ahci.c
--- a/sys/arch/mips/adm5120/dev/ahci.c Tue Dec 07 02:22:37 2021 +0000
+++ b/sys/arch/mips/adm5120/dev/ahci.c Tue Dec 07 06:49:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ahci.c,v 1.26 2021/10/04 21:02:40 andvar Exp $ */
+/* $NetBSD: ahci.c,v 1.27 2021/12/07 06:49:15 skrll Exp $ */
/*-
* Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahci.c,v 1.26 2021/10/04 21:02:40 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahci.c,v 1.27 2021/12/07 06:49:15 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1236,7 +1236,7 @@
i = 0;
offset = 0;
- while (len > 0) || i == 0) {
+ while (len > 0 || i == 0) {
tlen = uimin(len,4096);
td[i]->buffer = DMAADDR(&xfer->ux_dmabuf, offset) | 0xa0000000;
td[i]->buflen = tlen;
Home |
Main Index |
Thread Index |
Old Index