Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari Build fix - convert to new-style definitions.
details: https://anonhg.NetBSD.org/src/rev/1f2f9d73d1a2
branches: trunk
changeset: 773714:1f2f9d73d1a2
user: jdc <jdc%NetBSD.org@localhost>
date: Mon Feb 13 19:59:59 2012 +0000
description:
Build fix - convert to new-style definitions.
OK by releng.
diffstat:
sys/arch/atari/isa/isa_dma.c | 20 ++++++--------------
sys/arch/atari/pci/pci_hades.c | 7 +++----
2 files changed, 9 insertions(+), 18 deletions(-)
diffs (76 lines):
diff -r 2801778c74a9 -r 1f2f9d73d1a2 sys/arch/atari/isa/isa_dma.c
--- a/sys/arch/atari/isa/isa_dma.c Mon Feb 13 19:53:24 2012 +0000
+++ b/sys/arch/atari/isa/isa_dma.c Mon Feb 13 19:59:59 2012 +0000
@@ -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 @@
* 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 @@
* 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;
diff -r 2801778c74a9 -r 1f2f9d73d1a2 sys/arch/atari/pci/pci_hades.c
--- a/sys/arch/atari/pci/pci_hades.c Mon Feb 13 19:53:24 2012 +0000
+++ b/sys/arch/atari/pci/pci_hades.c Mon Feb 13 19:59:59 2012 +0000
@@ -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 @@
/*
* 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;
Home |
Main Index |
Thread Index |
Old Index