Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/dev Fix style.
details: https://anonhg.NetBSD.org/src/rev/8f759309fb1e
branches: trunk
changeset: 789158:8f759309fb1e
user: rkujawa <rkujawa%NetBSD.org@localhost>
date: Fri Aug 09 12:56:31 2013 +0000
description:
Fix style.
diffstat:
sys/arch/amiga/dev/xsh.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (41 lines):
diff -r 7829d98afae6 -r 8f759309fb1e sys/arch/amiga/dev/xsh.c
--- a/sys/arch/amiga/dev/xsh.c Fri Aug 09 11:41:24 2013 +0000
+++ b/sys/arch/amiga/dev/xsh.c Fri Aug 09 12:56:31 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xsh.c,v 1.1 2013/08/08 21:23:52 rkujawa Exp $ */
+/* $NetBSD: xsh.c,v 1.2 2013/08/09 12:56:31 rkujawa Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xsh.c,v 1.1 2013/08/08 21:23:52 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xsh.c,v 1.2 2013/08/09 12:56:31 rkujawa Exp $");
/*
* X-Surf 100 driver.
@@ -51,7 +51,7 @@
int xsh_match(device_t, cfdata_t , void *);
void xsh_attach(device_t, device_t, void *);
-static int xsh_print(void *aux, const char *w);
+static int xsh_print(void *, const char *);
struct xsh_softc {
device_t sc_dev;
@@ -67,10 +67,9 @@
{
struct zbus_args *zap = aux;
- /* X-surf ethernet card */
- if (zap->manid == 4626 && zap->prodid == 100) {
- return (1);
- }
+ /* X-surf 100 ethernet card */
+ if (zap->manid == 4626 && zap->prodid == 100)
+ return (1);
return (0);
}
Home |
Main Index |
Thread Index |
Old Index