diff options
author | 2006-03-25 20:09:17 +0000 | |
---|---|---|
committer | 2006-03-25 20:09:17 +0000 | |
commit | 4bda114905182dca43be197c1a845df99ee3491f (patch) | |
tree | 4a089fe762fbae643f9e641d9ddf227c889291f8 /sys/dev | |
parent | add missing prototypes all over the place, u_long -> unsigned long (userland (diff) | |
download | wireguard-openbsd-4bda114905182dca43be197c1a845df99ee3491f.tar.xz wireguard-openbsd-4bda114905182dca43be197c1a845df99ee3491f.zip |
tidy up a bit.
From Andrey Matveev
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_sis.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c index 3256c103d48..72d2747a734 100644 --- a/sys/dev/pci/if_sis.c +++ b/sys/dev/pci/if_sis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sis.c,v 1.64 2006/03/25 05:00:28 brad Exp $ */ +/* $OpenBSD: if_sis.c,v 1.65 2006/03/25 20:09:17 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -115,8 +115,7 @@ struct cfdriver sis_cd = { int sis_intr(void *); void sis_shutdown(void *); -int sis_newbuf(struct sis_softc *, struct sis_desc *, - struct mbuf *); +int sis_newbuf(struct sis_softc *, struct sis_desc *, struct mbuf *); int sis_encap(struct sis_softc *, struct mbuf *, u_int32_t *); void sis_rxeof(struct sis_softc *); void sis_rxeoc(struct sis_softc *); @@ -1224,7 +1223,7 @@ sis_ring_init(struct sis_softc *sc) * Initialize an RX descriptor and attach an MBUF cluster. */ int -sis_newbuf(struct sis_softc *sc, struct sis_desc*c, struct mbuf *m) +sis_newbuf(struct sis_softc *sc, struct sis_desc *c, struct mbuf *m) { struct mbuf *m_new = NULL; bus_dmamap_t map; |