Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb EHCI_NULL is already little-endian. No htole32(...
details: https://anonhg.NetBSD.org/src/rev/bf6a4c89a081
branches: trunk
changeset: 748681:bf6a4c89a081
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sun Nov 01 13:26:50 2009 +0000
description:
EHCI_NULL is already little-endian. No htole32() needed. Pointed out by
Tsubai Masanari.
diffstat:
sys/dev/usb/ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5afef512568e -r bf6a4c89a081 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Sun Nov 01 11:16:32 2009 +0000
+++ b/sys/dev/usb/ehci.c Sun Nov 01 13:26:50 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.161 2009/11/01 07:23:13 uebayasi Exp $ */
+/* $NetBSD: ehci.c,v 1.162 2009/11/01 13:26:50 uebayasi Exp $ */
/*
* Copyright (c) 2004-2008 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.161 2009/11/01 07:23:13 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.162 2009/11/01 13:26:50 uebayasi Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -4026,7 +4026,7 @@
if (itd->itd.itd_next == 0)
/* FIXME: frindex table gets initialized to NULL
* or EHCI_NULL? */
- itd->itd.itd_next = htole32(EHCI_NULL);
+ itd->itd.itd_next = EHCI_NULL;
usb_syncmem(&itd->dma,
itd->offs + offsetof(ehci_itd_t, itd_next),
Home |
Main Index |
Thread Index |
Old Index