procom aal0 mode
Anil Madhavapeddy
anil at recoil.org
Wed Jun 18 14:33:33 PDT 2003
Vincent Jardin wrote:
>
> I have merged the Proatm driver with my local copy.
>
> It is available at:
> http://vjardin.free.fr/harp/harp_20030613.tgz
I tried this out on FreeBSD 4.8 with a Procom 155B and it works great
with the minor patch below (since aux doesnt exist in the 4.8 mbuf anymore)
One question: I'm trying to access the device in AAL0 mode, to gain access
to the raw 48-byte payload. Does the procom driver support this? Comments
in the driver suggest not. I've tried a quick natm program, and that also
failed.
Could someone suggest a good way to do AAL0 on a Procom card?
--- /tmp/harp/pci/proatm.c Fri Jun 13 11:57:23 2003
+++ proatm.c Tue Jun 17 16:56:08 2003
@@ -3441,11 +3441,13 @@
mptr->m_pkthdr.rcvif = NULL;
mptr->m_nextpkt = NULL;
#ifndef FBSD35
+#if 0
if (mptr->m_pkthdr.aux != NULL) {
printf("proatm%d: received pkthdr.aux=%x\n",
proatm->unit, (int32_t) mptr->m_pkthdr.aux);
mptr->m_pkthdr.aux = NULL;
}
+#endif
if (mptr->m_pkthdr.csum_flags) {
printf("proatm%d: received pkthdr.csum_flags=%x\n",
proatm->unit, mptr->m_pkthdr.csum_flags);
--
Anil Madhavapeddy http://anil.recoil.org
University of Cambridge http://www.cl.cam.ac.uk
More information about the freebsd-atm
mailing list