summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_san_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_san_common.h')
-rw-r--r--sys/dev/pci/if_san_common.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/pci/if_san_common.h b/sys/dev/pci/if_san_common.h
index 26f9606ea37..6ec6f6c9c1d 100644
--- a/sys/dev/pci/if_san_common.h
+++ b/sys/dev/pci/if_san_common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_san_common.h,v 1.4 2004/07/16 15:11:45 alex Exp $ */
+/* $OpenBSD: if_san_common.h,v 1.5 2004/12/07 06:10:24 mcbride Exp $ */
/*-
* Copyright (c) 2001-2004 Sangoma Technologies (SAN)
@@ -50,37 +50,37 @@
#define WANROUTER_MINOR_VER 1
/* IOCTL codes for /proc/router/<device> entries (up to 255) */
-# define WANPIPE_DUMP _IOW(ROUTER_IOCTL, 16, wan_conf_t)
-# define WANPIPE_EXEC _IOWR(ROUTER_IOCTL, 17, wan_conf_t)
+#define WANPIPE_DUMP _IOW(ROUTER_IOCTL, 16, wan_conf_t)
+#define WANPIPE_EXEC _IOWR(ROUTER_IOCTL, 17, wan_conf_t)
/* get monitor statistics */
-# define SIOC_WANPIPE_PIPEMON _IOWR('i', 150, struct ifreq)
+#define SIOC_WANPIPE_PIPEMON _IOWR('i', 150, struct ifreq)
/* set generic device */
-# define SIOC_WANPIPE_DEVICE _IOWR('i', 151, struct ifreq)
+#define SIOC_WANPIPE_DEVICE _IOWR('i', 151, struct ifreq)
/* get hwprobe string */
-# define SIOC_WANPIPE_HWPROBE _IOWR('i', 152, struct ifreq)
+#define SIOC_WANPIPE_HWPROBE _IOWR('i', 152, struct ifreq)
/* get memdump string (GENERIC) */
-# define SIOC_WANPIPE_DUMP _IOWR('i', 153, struct ifreq)
+#define SIOC_WANPIPE_DUMP _IOWR('i', 153, struct ifreq)
/* clocking options */
-#define WANOPT_EXTERNAL 0
-#define WANOPT_INTERNAL 1
+#define WAN_EXTERNAL 0
+#define WAN_INTERNAL 1
/* intercace options */
-#define WANOPT_RS232 0
-#define WANOPT_V35 1
+#define WAN_RS232 0
+#define WAN_V35 1
#define WAN_UDP_FAILED_CMD 0xCF
#define WAN_UDP_INVALID_CMD 0xCE
#define WAN_UDP_TIMEOUT_CMD 0xAA
#define WAN_UDP_INVALID_NET_CMD 0xCD
-#define WANOPT_NO 0
-#define WANOPT_YES 1
+#define WAN_NO 0
+#define WAN_YES 1
/* UDP Packet Management */
#define UDP_PKT_FRM_STACK 0x00