Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix swapped lines in cleanup in ohci_init(). Fr...
details: https://anonhg.NetBSD.org/src/rev/1c8ea0cb6302
branches: trunk
changeset: 555633:1c8ea0cb6302
user: augustss <augustss%NetBSD.org@localhost>
date: Sun Nov 23 19:18:06 2003 +0000
description:
Fix swapped lines in cleanup in ohci_init(). From OpenBSD.
diffstat:
sys/dev/usb/ohci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r ccb115d33206 -r 1c8ea0cb6302 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c Sun Nov 23 19:07:10 2003 +0000
+++ b/sys/dev/usb/ohci.c Sun Nov 23 19:18:06 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.143 2003/10/18 04:50:35 simonb Exp $ */
+/* $NetBSD: ohci.c,v 1.144 2003/11/23 19:18:06 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
/*
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.143 2003/10/18 04:50:35 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.144 2003/11/23 19:18:06 augustss Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -882,9 +882,9 @@
bad4:
ohci_free_sed(sc, sc->sc_isoc_head);
bad3:
- ohci_free_sed(sc, sc->sc_ctrl_head);
+ ohci_free_sed(sc, sc->sc_bulk_head);
bad2:
- ohci_free_sed(sc, sc->sc_bulk_head);
+ ohci_free_sed(sc, sc->sc_ctrl_head);
bad1:
usb_freemem(&sc->sc_bus, &sc->sc_hccadma);
return (err);
Home |
Main Index |
Thread Index |
Old Index