Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ata Make this compile again after DRIVET rename
details: https://anonhg.NetBSD.org/src/rev/380f13028339
branches: trunk
changeset: 780641:380f13028339
user: bouyer <bouyer%NetBSD.org@localhost>
date: Wed Aug 01 09:38:55 2012 +0000
description:
Make this compile again after DRIVET rename
diffstat:
sys/dev/ata/satapmp_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5ed02297cf99 -r 380f13028339 sys/dev/ata/satapmp_subr.c
--- a/sys/dev/ata/satapmp_subr.c Wed Aug 01 09:07:35 2012 +0000
+++ b/sys/dev/ata/satapmp_subr.c Wed Aug 01 09:38:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: satapmp_subr.c,v 1.9 2012/08/01 09:02:03 bouyer Exp $ */
+/* $NetBSD: satapmp_subr.c,v 1.10 2012/08/01 09:38:55 bouyer Exp $ */
/*
* Copyright (c) 2012 Manuel Bouyer. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: satapmp_subr.c,v 1.9 2012/08/01 09:02:03 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: satapmp_subr.c,v 1.10 2012/08/01 09:38:55 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -229,7 +229,7 @@
KASSERT(chp->ch_satapmp_nports <= chp->ch_ndrives);
for (i = 0; i < chp->ch_satapmp_nports; i++) {
- if (chp->ch_drive[i].drive_type != DRIVET_NONE ||
+ if (chp->ch_drive[i].drive_type != ATA_DRIVET_NONE ||
satapmp_reset_device_port(chp, i) != SStatus_DET_DEV) {
continue;
}
Home |
Main Index |
Thread Index |
Old Index