summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_san_te1.h
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2005-04-01 21:42:37 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2005-04-01 21:42:37 +0000
commit682ef1f846d5b44e96c516dbcdc3bb8c6d4e7ce2 (patch)
tree1c3196a3c60c43cb6d7e67ecb18afed804b6fe9d /sys/dev/pci/if_san_te1.h
parent8a61c85fb5ebd735393a77a5c3f5e9f8076290c9 (diff)
Improve san(4) driver:
* Some KNF, fix return values (from -Exxx to Exxx) * Some string handling paranoia. * Use ifconfig media options to switch between ppp and cHDLC modes, based on patch from claudio@ * tcpdump works, patch from claudio@ * ppp mode now works. Lots of testing & feedback by Greg Mortensen, Additional testing Sean Knox ok alex@, go go go deraadt@
Diffstat (limited to 'sys/dev/pci/if_san_te1.h')
-rw-r--r--sys/dev/pci/if_san_te1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_san_te1.h b/sys/dev/pci/if_san_te1.h
index 457f5b62d63..1bc988fbc9d 100644
--- a/sys/dev/pci/if_san_te1.h
+++ b/sys/dev/pci/if_san_te1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_san_te1.h,v 1.4 2004/12/07 06:10:24 mcbride Exp $ */
+/* $OpenBSD: if_san_te1.h,v 1.5 2005/04/01 21:42:36 canacar Exp $ */
/*-
* Copyright (c) 2001-2004 Sangoma Technologies (SAN)
@@ -946,7 +946,7 @@ typedef struct {
EXTERN int sdla_te_defcfg(void *);
-EXTERN int sdla_te_setcfg(void *, struct ifmedia *);
+EXTERN int sdla_te_setcfg(struct ifnet *, struct ifmedia *);
EXTERN void sdla_te_settimeslot(void *, unsigned long);
EXTERN unsigned long sdla_te_gettimeslot(void *);
EXTERN short sdla_te_config(void *);