Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/dreamcast/dev Convert to new device buffer queue in...



details:   https://anonhg.NetBSD.org/src/rev/4d56bdba5716
branches:  trunk
changeset: 534465:4d56bdba5716
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sat Jul 27 11:07:35 2002 +0000

description:
Convert to new device buffer queue interface.

Approved by: Marcus Comstedt <marcus%netbsd.org@localhost>

diffstat:

 sys/arch/dreamcast/dev/gdrom.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r f6a6f5e088dd -r 4d56bdba5716 sys/arch/dreamcast/dev/gdrom.c
--- a/sys/arch/dreamcast/dev/gdrom.c    Sat Jul 27 10:02:50 2002 +0000
+++ b/sys/arch/dreamcast/dev/gdrom.c    Sat Jul 27 11:07:35 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gdrom.c,v 1.8 2002/03/25 18:59:39 uch Exp $    */
+/*     $NetBSD: gdrom.c,v 1.9 2002/07/27 11:07:35 hannken Exp $        */
 
 /*-
  * Copyright (c) 2001 Marcus Comstedt
@@ -62,7 +62,6 @@
 struct gdrom_softc {
        struct device sc_dv;    /* generic device info; must come first */
        struct disk dkdev;      /* generic disk info */
-       struct buf_queue bufq;  /* queue pending I/O operations */
        struct buf curbuf;      /* state of current I/O operation */
 
        int is_open, is_busy;
@@ -373,8 +372,6 @@
 
        sc = (struct gdrom_softc *)self;
 
-       BUFQ_INIT(&sc->bufq);
-
        printf(": SH4 IRL 9\n");
 
        /*



Home | Main Index | Thread Index | Old Index