aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/patm
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-07-15 11:57:24 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-07-15 11:57:24 +0000
commit8dd4275c365932c7651942ebea2a3f54d68d7ff1 (patch)
tree44442f21b1cfa8eb3a2a600b9254c9f26a4d4a39 /sys/modules/patm
parentb3d4fe3d0432f8f8f59b521ff9cd2173dacfd427 (diff)
downloadsrc-8dd4275c365932c7651942ebea2a3f54d68d7ff1.tar.gz
src-8dd4275c365932c7651942ebea2a3f54d68d7ff1.zip
This is a driver for IDT77252 based ATM interfaces. It has been tested
with a ProATM-155 and an IDT evaluation board and should also work with a ProATM-25 (it seems to work at least, I cannot really measure what the card emits). The driver has been tested on i386 and sparc64, but should work an other archs also. It supports UBR, CBR, ABR and VBR; AAL0, AAL5 and AALraw. As an additional feature VCI/VPI 0/0 can be opened for receiving in AALraw mode and receives all cells not claimed by other open VCs (even cells with invalid GFC, VPI and VCI fields and OAM cells). Thanks to Christian Bucari from ProSum for lending two cards and answering my questions.
Notes
Notes: svn path=/head/; revision=117632
Diffstat (limited to 'sys/modules/patm')
-rw-r--r--sys/modules/patm/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/modules/patm/Makefile b/sys/modules/patm/Makefile
new file mode 100644
index 000000000000..7310c2077ead
--- /dev/null
+++ b/sys/modules/patm/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+#
+# Author: Harti Brandt <harti@freebsd.org>
+#
+.PATH: ${.CURDIR}/../../dev/patm
+
+KMOD= if_patm
+SRCS= if_patm.c if_patm_attach.c if_patm_ioctl.c if_patm_intr.c \
+ if_patm_tx.c if_patm_rx.c if_patm_rtables.c \
+ device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
+
+CFLAGS+= -DENABLE_BPF
+# CFLAGS+= -DPATM_DEBUG=0x0 -DINVARIANT_SUPPORT -DINVARIANTS -g -DDIAGNOSTIC
+# LDFLAGS+= -g
+
+opt_inet.h:
+ echo "#define INET 1" > opt_inet.h
+
+opt_natm.h:
+ echo "#define NATM 1" > opt_natm.h
+
+.include <bsd.kmod.mk>