From owner-svn-src-stable-10@FreeBSD.ORG Sun Feb 8 22:27:18 2015 Return-Path: Delivered-To: svn-src-stable-10@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4981741F; Sun, 8 Feb 2015 22:27:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 348133D8; Sun, 8 Feb 2015 22:27:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t18MRIXU042942; Sun, 8 Feb 2015 22:27:18 GMT (envelope-from marius@FreeBSD.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t18MRItU042941; Sun, 8 Feb 2015 22:27:18 GMT (envelope-from marius@FreeBSD.org) Message-Id: <201502082227.t18MRItU042941@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marius set sender to marius@FreeBSD.org using -f From: Marius Strobl Date: Sun, 8 Feb 2015 22:27:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r278415 - stable/10/sys/dev/mwl X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 22:27:18 -0000 Author: marius Date: Sun Feb 8 22:27:17 2015 New Revision: 278415 URL: https://svnweb.freebsd.org/changeset/base/278415 Log: MFC: r275870 Use the correct macro for listing the maximum bus space size. Modified: stable/10/sys/dev/mwl/if_mwl_pci.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/mwl/if_mwl_pci.c ============================================================================== --- stable/10/sys/dev/mwl/if_mwl_pci.c Sun Feb 8 22:24:18 2015 (r278414) +++ stable/10/sys/dev/mwl/if_mwl_pci.c Sun Feb 8 22:27:17 2015 (r278415) @@ -175,9 +175,9 @@ mwl_pci_attach(device_t dev) BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ - BUS_SPACE_MAXADDR, /* maxsize */ + BUS_SPACE_MAXSIZE, /* maxsize */ MWL_TXDESC, /* nsegments */ - BUS_SPACE_MAXADDR, /* maxsegsize */ + BUS_SPACE_MAXSIZE, /* maxsegsize */ 0, /* flags */ NULL, /* lockfunc */ NULL, /* lockarg */