Deleted Added
full compact
if_ath.c (247028) if_ath.c (247085)
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 14 unchanged lines hidden (view full) ---

23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 14 unchanged lines hidden (view full) ---

23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath.c 247028 2013-02-20 11:20:51Z adrian $");
31__FBSDID("$FreeBSD: head/sys/dev/ath/if_ath.c 247085 2013-02-21 06:18:40Z adrian $");
32
33/*
34 * Driver for the Atheros Wireless LAN controller.
35 *
36 * This software is derived from work of Atsushi Onoe; his contribution
37 * is greatly appreciated.
38 */
39

--- 754 unchanged lines hidden (view full) ---

794#endif
795
796 /*
797 * Initial aggregation settings.
798 */
799 sc->sc_hwq_limit = ATH_AGGR_MIN_QDEPTH;
800 sc->sc_tid_hwq_lo = ATH_AGGR_SCHED_LOW;
801 sc->sc_tid_hwq_hi = ATH_AGGR_SCHED_HIGH;
32
33/*
34 * Driver for the Atheros Wireless LAN controller.
35 *
36 * This software is derived from work of Atsushi Onoe; his contribution
37 * is greatly appreciated.
38 */
39

--- 754 unchanged lines hidden (view full) ---

794#endif
795
796 /*
797 * Initial aggregation settings.
798 */
799 sc->sc_hwq_limit = ATH_AGGR_MIN_QDEPTH;
800 sc->sc_tid_hwq_lo = ATH_AGGR_SCHED_LOW;
801 sc->sc_tid_hwq_hi = ATH_AGGR_SCHED_HIGH;
802 sc->sc_aggr_limit = ATH_AGGR_MAXSIZE;
802
803 /*
804 * Check if the hardware requires PCI register serialisation.
805 * Some of the Owl based MACs require this.
806 */
807 if (mp_ncpus > 1 &&
808 ath_hal_getcapability(ah, HAL_CAP_SERIALISE_WAR,
809 0, NULL) == HAL_OK) {

--- 4998 unchanged lines hidden ---
803
804 /*
805 * Check if the hardware requires PCI register serialisation.
806 * Some of the Owl based MACs require this.
807 */
808 if (mp_ncpus > 1 &&
809 ath_hal_getcapability(ah, HAL_CAP_SERIALISE_WAR,
810 0, NULL) == HAL_OK) {

--- 4998 unchanged lines hidden ---