Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2018 20:52:09 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r332304 - in stable/11/sys/x86: isa x86
Message-ID:  <201804082052.w38Kq9P0036124@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Sun Apr  8 20:52:09 2018
New Revision: 332304
URL: https://svnweb.freebsd.org/changeset/base/332304

Log:
  MFC r331082: ANSIfy sys/x86

Modified:
  stable/11/sys/x86/isa/isa_dma.c
  stable/11/sys/x86/x86/autoconf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/x86/isa/isa_dma.c
==============================================================================
--- stable/11/sys/x86/isa/isa_dma.c	Sun Apr  8 20:50:16 2018	(r332303)
+++ stable/11/sys/x86/isa/isa_dma.c	Sun Apr  8 20:52:09 2018	(r332304)
@@ -144,8 +144,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)
@@ -170,8 +169,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)
@@ -205,8 +203,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: stable/11/sys/x86/x86/autoconf.c
==============================================================================
--- stable/11/sys/x86/x86/autoconf.c	Sun Apr  8 20:50:16 2018	(r332303)
+++ stable/11/sys/x86/x86/autoconf.c	Sun Apr  8 20:52:09 2018	(r332304)
@@ -90,8 +90,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 */
@@ -99,8 +98,7 @@ configure_first(dummy)
 }
 
 static void
-configure(dummy)
-	void *dummy;
+configure(void *dummy)
 {
 
 	/* initialize new bus architecture */
@@ -117,8 +115,7 @@ configure(dummy)
 }
 
 static void
-configure_final(dummy)
-	void *dummy;
+configure_final(void *dummy)
 {
 
 	cninit_finish(); 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804082052.w38Kq9P0036124>