Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Spell enqueue correctly.
details: https://anonhg.NetBSD.org/src/rev/5b546e51352e
branches: trunk
changeset: 768332:5b546e51352e
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Aug 14 16:50:49 2011 +0000
description:
Spell enqueue correctly.
diffstat:
sys/dev/ic/mvsata.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (60 lines):
diff -r c1d1d520b2ff -r 5b546e51352e sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c Sun Aug 14 16:11:15 2011 +0000
+++ b/sys/dev/ic/mvsata.c Sun Aug 14 16:50:49 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mvsata.c,v 1.8 2011/03/10 03:35:37 jakllsch Exp $ */
+/* $NetBSD: mvsata.c,v 1.9 2011/08/14 16:50:49 jakllsch Exp $ */
/*
* Copyright (c) 2008 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.8 2011/03/10 03:35:37 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.9 2011/08/14 16:50:49 jakllsch Exp $");
#include "opt_mvsata.h"
@@ -146,7 +146,7 @@
static void mvsata_atapi_polldsc(void *);
#endif
-static int mvsata_edma_inqueue(struct mvsata_port *, struct ata_bio *, void *);
+static int mvsata_edma_enqueue(struct mvsata_port *, struct ata_bio *, void *);
static int mvsata_edma_handle(struct mvsata_port *, struct ata_xfer *);
static int mvsata_edma_wait(struct mvsata_port *, struct ata_xfer *, int);
static void mvsata_edma_timeout(void *);
@@ -1059,7 +1059,7 @@
if (xfer->c_flags & C_POLL)
sc->sc_enable_intr(mvport, 0 /*off*/);
- error = mvsata_edma_inqueue(mvport, ata_bio,
+ error = mvsata_edma_enqueue(mvport, ata_bio,
(char *)xfer->c_databuf + xfer->c_skip);
if (error) {
if (error == EINVAL) {
@@ -2313,12 +2313,12 @@
/*
- * XXXX: Shall we need lock for race condition in mvsata_edma_inqueue{,_gen2}(),
+ * XXXX: Shall we need lock for race condition in mvsata_edma_enqueue{,_gen2}(),
* if supported queuing command by atabus? The race condition will not happen
* if this is called only to the thread of atabus.
*/
static int
-mvsata_edma_inqueue(struct mvsata_port *mvport, struct ata_bio *ata_bio,
+mvsata_edma_enqueue(struct mvsata_port *mvport, struct ata_bio *ata_bio,
void *databuf)
{
struct mvsata_softc *sc = device_private(MVSATA_DEV2(mvport));
@@ -2329,7 +2329,7 @@
uint32_t reg;
int quetag, erqqip, erqqop, next, rv, i;
- DPRINTFN(2, ("%s:%d:%d: mvsata_edma_inqueue:"
+ DPRINTFN(2, ("%s:%d:%d: mvsata_edma_enqueue:"
" blkno=0x%" PRIx64 ", nbytes=%d, flags=0x%x\n",
device_xname(MVSATA_DEV2(mvport)), mvport->port_hc->hc,
mvport->port, ata_bio->blkno, ata_bio->nbytes, ata_bio->flags));
Home |
Main Index |
Thread Index |
Old Index