svn commit: r331082 - in head/sys/x86: isa x86
Ed Maste
emaste at FreeBSD.org
Sat Mar 17 01:40:10 UTC 2018
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();
More information about the svn-src-all
mailing list