Date: Wed, 18 Jun 2003 22:31:54 +0100 From: Anil Madhavapeddy <anil@recoil.org> To: freebsd-atm@freebsd.org Subject: procom aal0 mode Message-ID: <20030618213150.GA20365@fork> In-Reply-To: <200306141312.10789.vjardin@wanadoo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030618213150.GA20365>