Build fix - convert to new-style definitions.
OK by releng.
This commit is contained in:
parent
7da608ca9c
commit
35c413f8f7
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: isa_dma.c,v 1.10 2011/07/01 20:34:06 dyoung Exp $ */
|
||||
/* $NetBSD: isa_dma.c,v 1.11 2012/02/13 19:59:59 jdc Exp $ */
|
||||
|
||||
#define ISA_DMA_STATS
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: isa_dma.c,v 1.10 2011/07/01 20:34:06 dyoung Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: isa_dma.c,v 1.11 2012/02/13 19:59:59 jdc Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -262,13 +262,8 @@ _isa_bus_dmamap_destroy(bus_dma_tag_t t, bus_dmamap_t map)
|
||||
* Load an ISA DMA map with a linear buffer.
|
||||
*/
|
||||
int
|
||||
_isa_bus_dmamap_load(t, map, buf, buflen, p, flags)
|
||||
bus_dma_tag_t t;
|
||||
bus_dmamap_t map;
|
||||
void *buf;
|
||||
bus_size_t buflen;
|
||||
struct proc *p;
|
||||
int flags;
|
||||
_isa_bus_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf,
|
||||
bus_size_t buflen, struct proc *p, int flags)
|
||||
{
|
||||
struct atari_isa_dma_cookie *cookie = map->_dm_cookie;
|
||||
int error;
|
||||
@ -333,11 +328,8 @@ _isa_bus_dmamap_load(t, map, buf, buflen, p, flags)
|
||||
* Like _isa_bus_dmamap_load(), but for mbufs.
|
||||
*/
|
||||
int
|
||||
_isa_bus_dmamap_load_mbuf(t, map, m0, flags)
|
||||
bus_dma_tag_t t;
|
||||
bus_dmamap_t map;
|
||||
struct mbuf *m0;
|
||||
int flags;
|
||||
_isa_bus_dmamap_load_mbuf(bus_dma_tag_t t, bus_dmamap_t map, struct mbuf *m0,
|
||||
int flags)
|
||||
{
|
||||
struct atari_isa_dma_cookie *cookie = map->_dm_cookie;
|
||||
int error;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pci_hades.c,v 1.12 2011/07/01 20:34:06 dyoung Exp $ */
|
||||
/* $NetBSD: pci_hades.c,v 1.13 2012/02/13 20:00:00 jdc Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Leo Weppelman. All rights reserved.
|
||||
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_hades.c,v 1.12 2011/07/01 20:34:06 dyoung Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pci_hades.c,v 1.13 2012/02/13 20:00:00 jdc Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -66,8 +66,7 @@ static int pci_config_offset(pcitag_t);
|
||||
/*
|
||||
* Atari_init.c maps the config areas PAGE_SIZE bytes apart....
|
||||
*/
|
||||
static int pci_config_offset(tag)
|
||||
pcitag_t tag;
|
||||
static int pci_config_offset(pcitag_t tag)
|
||||
{
|
||||
int device;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user