Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Consistency in use of #define names. No functio...



details:   https://anonhg.NetBSD.org/src/rev/2900bcc12477
branches:  trunk
changeset: 969882:2900bcc12477
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Mar 04 16:17:23 2020 +0000

description:
Consistency in use of #define names.  No functional change as values of
before and after defines are the same.

diffstat:

 sys/dev/usb/ehcivar.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 6b2cc16ee52e -r 2900bcc12477 sys/dev/usb/ehcivar.h
--- a/sys/dev/usb/ehcivar.h     Wed Mar 04 14:59:00 2020 +0000
+++ b/sys/dev/usb/ehcivar.h     Wed Mar 04 16:17:23 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehcivar.h,v 1.46 2018/09/18 02:00:06 mrg Exp $ */
+/*     $NetBSD: ehcivar.h,v 1.47 2020/03/04 16:17:23 skrll Exp $ */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -80,13 +80,13 @@
        int slot;
        struct timeval t; /* store free time */
 } ehci_soft_itd_t;
-#define EHCI_ITD_SIZE ((sizeof(struct ehci_soft_itd) + EHCI_QH_ALIGN - 1) / EHCI_ITD_ALIGN * EHCI_ITD_ALIGN)
+#define EHCI_ITD_SIZE ((sizeof(struct ehci_soft_itd) + EHCI_ITD_ALIGN - 1) / EHCI_ITD_ALIGN * EHCI_ITD_ALIGN)
 #define EHCI_ITD_CHUNK (EHCI_PAGE_SIZE / EHCI_ITD_SIZE)
 
 #define ehci_soft_sitd_t ehci_soft_itd_t
 #define ehci_soft_sitd ehci_soft_itd
 #define sc_softsitds sc_softitds
-#define EHCI_SITD_SIZE ((sizeof(struct ehci_soft_sitd) + EHCI_QH_ALIGN - 1) / EHCI_SITD_ALIGN * EHCI_SITD_ALIGN)
+#define EHCI_SITD_SIZE ((sizeof(struct ehci_soft_sitd) + EHCI_SITD_ALIGN - 1) / EHCI_SITD_ALIGN * EHCI_SITD_ALIGN)
 #define EHCI_SITD_CHUNK (EHCI_PAGE_SIZE / EHCI_SITD_SIZE)
 
 struct ehci_xfer {



Home | Main Index | Thread Index | Old Index