From owner-freebsd-atm@FreeBSD.ORG Wed Jun 18 14:33:33 2003 Return-Path: Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B45F37B401 for ; Wed, 18 Jun 2003 14:33:33 -0700 (PDT) Received: from fork.recoil.org (fork.recoil.org [194.70.3.132]) by mx1.FreeBSD.org (Postfix) with SMTP id 464AF43FAF for ; Wed, 18 Jun 2003 14:33:32 -0700 (PDT) (envelope-from anil@recoil.org) Received: (qmail 24225 invoked by uid 10000); 18 Jun 2003 21:31:54 -0000 Date: Wed, 18 Jun 2003 22:31:54 +0100 From: Anil Madhavapeddy To: freebsd-atm@freebsd.org Message-ID: <20030618213150.GA20365@fork> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306141312.10789.vjardin@wanadoo.fr> User-Agent: Mutt/1.4.1i Subject: procom aal0 mode X-BeenThere: freebsd-atm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ATM for FreeBSD! List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 21:33:33 -0000 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