From owner-svn-src-all@freebsd.org Sat Mar 17 01:40:10 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63C7EF5EDBB; Sat, 17 Mar 2018 01:40:10 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DDB67EBB3; Sat, 17 Mar 2018 01:40:10 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 056313BF0; Sat, 17 Mar 2018 01:40:10 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2H1e9Re078194; Sat, 17 Mar 2018 01:40:09 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2H1e9ci078192; Sat, 17 Mar 2018 01:40:09 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201803170140.w2H1e9ci078192@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Sat, 17 Mar 2018 01:40:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331082 - in head/sys/x86: isa x86 X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: in head/sys/x86: isa x86 X-SVN-Commit-Revision: 331082 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2018 01:40:10 -0000 Author: emaste Date: Sat Mar 17 01:40:09 2018 New Revision: 331082 URL: https://svnweb.freebsd.org/changeset/base/331082 Log: ANSIfy sys/x86 Modified: head/sys/x86/isa/isa_dma.c head/sys/x86/x86/autoconf.c Modified: head/sys/x86/isa/isa_dma.c ============================================================================== --- head/sys/x86/isa/isa_dma.c Sat Mar 17 01:27:54 2018 (r331081) +++ head/sys/x86/isa/isa_dma.c Sat Mar 17 01:40:09 2018 (r331082) @@ -146,8 +146,7 @@ isa_dma_init(int chan, u_int bouncebufsize, int flag) * in open() or during its initialization. */ int -isa_dma_acquire(chan) - int chan; +isa_dma_acquire(int chan) { #ifdef DIAGNOSTIC if (chan & ~VALID_DMA_MASK) @@ -172,8 +171,7 @@ isa_dma_acquire(chan) * during close() or during its shutdown. */ void -isa_dma_release(chan) - int chan; +isa_dma_release(int chan) { #ifdef DIAGNOSTIC if (chan & ~VALID_DMA_MASK) @@ -207,8 +205,7 @@ isa_dma_release(chan) * external dma control by a board. */ void -isa_dmacascade(chan) - int chan; +isa_dmacascade(int chan) { #ifdef DIAGNOSTIC if (chan & ~VALID_DMA_MASK) Modified: head/sys/x86/x86/autoconf.c ============================================================================== --- head/sys/x86/x86/autoconf.c Sat Mar 17 01:27:54 2018 (r331081) +++ head/sys/x86/x86/autoconf.c Sat Mar 17 01:40:09 2018 (r331082) @@ -87,8 +87,7 @@ SYSINIT(configure3, SI_SUB_CONFIGURE, SI_ORDER_ANY, co * Determine i/o configuration for a machine. */ static void -configure_first(dummy) - void *dummy; +configure_first(void *dummy) { /* nexus0 is the top of the x86 device tree */ @@ -96,8 +95,7 @@ configure_first(dummy) } static void -configure(dummy) - void *dummy; +configure(void *dummy) { /* initialize new bus architecture */ @@ -114,8 +112,7 @@ configure(dummy) } static void -configure_final(dummy) - void *dummy; +configure_final(void *dummy) { cninit_finish();