Module Name: src
Committed By: skrll
Date: Tue Dec 7 06:49:15 UTC 2021
Modified Files:
src/sys/arch/mips/adm5120/dev: ahci.c
Log Message:
Make this compile again.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/mips/adm5120/dev/ahci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/adm5120/dev/ahci.c
diff -u src/sys/arch/mips/adm5120/dev/ahci.c:1.26 src/sys/arch/mips/adm5120/dev/ahci.c:1.27
--- src/sys/arch/mips/adm5120/dev/ahci.c:1.26 Mon Oct 4 21:02:40 2021
+++ src/sys/arch/mips/adm5120/dev/ahci.c Tue Dec 7 06:49:15 2021
@@ -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 @@ ahci_device_bulk_start(struct usbd_xfer
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;