From owner-p4-projects@FreeBSD.ORG Thu May 21 02:29:09 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2832A106566B; Thu, 21 May 2009 02:29:09 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC45E1065672 for ; Thu, 21 May 2009 02:29:08 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AFC228FC17 for ; Thu, 21 May 2009 02:29:08 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4L2T8lu070942 for ; Thu, 21 May 2009 02:29:08 GMT (envelope-from thompsa@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4L2T83Z070940 for perforce@freebsd.org; Thu, 21 May 2009 02:29:08 GMT (envelope-from thompsa@freebsd.org) Date: Thu, 21 May 2009 02:29:08 GMT Message-Id: <200905210229.n4L2T83Z070940@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to thompsa@freebsd.org using -f From: Andrew Thompson To: Perforce Change Reviews Cc: Subject: PERFORCE change 162427 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 02:29:10 -0000 http://perforce.freebsd.org/chv.cgi?CH=162427 Change 162427 by thompsa@thompsa_burger on 2009/05/21 02:29:04 Sync to HEAD. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/wlan/if_uath.c#9 edit .. //depot/projects/usb/src/sys/dev/usb/wlan/if_upgt.c#6 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/wlan/if_uath.c#9 (text+ko) ==== @@ -49,7 +49,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/dev/usb/wlan/if_uath.c,v 1.8 2009/05/21 00:04:17 thompsa Exp $"); +__FBSDID("$FreeBSD: head/sys/dev/usb/wlan/if_uath.c 192511 2009-05-21 02:26:51Z thompsa $"); /*- * Driver for Atheros AR5523 USB parts. @@ -355,7 +355,6 @@ #ifdef UATH_DEBUG sc->sc_debug = uath_debug; #endif - /* printout nice message */ device_set_usb2_desc(dev); /* @@ -512,14 +511,13 @@ if (!device_is_attached(dev)) return (0); - usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); - sc->sc_flags |= UATH_FLAG_INVALID; uath_stop(ifp); callout_drain(&sc->stat_ch); callout_drain(&sc->watchdog_ch); + usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); ieee80211_ifdetach(ic); /* free buffers */ ==== //depot/projects/usb/src/sys/dev/usb/wlan/if_upgt.c#6 (text+ko) ==== @@ -1,5 +1,5 @@ /* $OpenBSD: if_upgt.c,v 1.35 2008/04/16 18:32:15 damien Exp $ */ -/* $FreeBSD: src/sys/dev/usb/wlan/if_upgt.c,v 1.4 2009/05/21 00:04:17 thompsa Exp $ */ +/* $FreeBSD: head/sys/dev/usb/wlan/if_upgt.c 192511 2009-05-21 02:26:51Z thompsa $ */ /* * Copyright (c) 2007 Marcus Glocker @@ -257,7 +257,6 @@ #ifdef UPGT_DEBUG sc->sc_debug = upgt_debug; #endif - /* printout nice message */ device_set_usb2_desc(dev); mtx_init(&sc->sc_mtx, device_get_nameunit(sc->sc_dev), MTX_NETWORK_LOCK, @@ -1996,13 +1995,12 @@ if (!device_is_attached(dev)) return 0; - usb2_transfer_unsetup(sc->sc_xfer, UPGT_N_XFERS); - upgt_stop(sc); callout_drain(&sc->sc_led_ch); callout_drain(&sc->sc_watchdog_ch); + usb2_transfer_unsetup(sc->sc_xfer, UPGT_N_XFERS); ieee80211_ifdetach(ic); upgt_free_rx(sc); upgt_free_tx(sc);