Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Simplify async list handling.
details: https://anonhg.NetBSD.org/src/rev/a96af05232de
branches: trunk
changeset: 517854:a96af05232de
user: augustss <augustss%NetBSD.org@localhost>
date: Tue Nov 20 13:49:23 2001 +0000
description:
Simplify async list handling.
diffstat:
sys/dev/usb/ehcivar.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 820003dea3a6 -r a96af05232de sys/dev/usb/ehcivar.h
--- a/sys/dev/usb/ehcivar.h Tue Nov 20 13:49:07 2001 +0000
+++ b/sys/dev/usb/ehcivar.h Tue Nov 20 13:49:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehcivar.h,v 1.8 2001/11/19 02:57:16 augustss Exp $ */
+/* $NetBSD: ehcivar.h,v 1.9 2001/11/20 13:49:23 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -56,6 +56,7 @@
typedef struct ehci_soft_qh {
ehci_qh_t qh;
struct ehci_soft_qh *next;
+ struct ehci_soft_qtd *sqtd;
ehci_physaddr_t physaddr;
} ehci_soft_qh_t;
#define EHCI_SQH_SIZE ((sizeof (struct ehci_soft_qh) + EHCI_QH_ALIGN - 1) / EHCI_QH_ALIGN * EHCI_QH_ALIGN)
@@ -85,7 +86,6 @@
usb_dma_t sc_fldma;
u_int sc_flsize;
- LIST_HEAD(, ehci_soft_qtd) sc_hash_qtds[EHCI_HASH_SIZE];
ehci_soft_qh_t *sc_freeqhs;
ehci_soft_qtd_t *sc_freeqtds;
@@ -96,8 +96,7 @@
char sc_isreset;
u_int32_t sc_eintrs;
- ehci_soft_qh_t *sc_ctrl_head;
- ehci_soft_qh_t *sc_bulk_head;
+ ehci_soft_qh_t *sc_async_head;
SIMPLEQ_HEAD(, usbd_xfer) sc_free_xfers; /* free xfers */
Home |
Main Index |
Thread Index |
Old Index