Date: Mon, 30 Mar 1998 23:31:48 +0200 (MET DST) From: Wilko Bulte <wilko@yedi.iaf.nl> To: jfieber@indiana.edu Cc: FreeBSD-hackers@FreeBSD.ORG Subject: Re: getting netatalk to work on 2.2.5R Message-ID: <199803302131.XAA00572@yedi.iaf.nl> In-Reply-To: <Pine.BSF.3.96.980330084601.485R-100000@fallout.campusview.indiana.edu> from John Fieber at "Mar 30, 98 09:09:03 am"
next in thread | previous in thread | raw e-mail | index | archive | help
As John Fieber wrote... > On Mon, 30 Mar 1998, Wilko Bulte wrote: > > > As John Fieber wrote... > > > The netatalk port works "out-of-the-box" on and "out-of-the-box" > > > 2.2.6 system. > > > > Right. > > > > And for completeness sake, can you build kernels with > > > > # Digital DEFPA fddi controller > > device fpa0 > > pseudo-device fddi > > > > in the kernel config file? > > Lets see... > [tapity, tap, tap. tap] > [crunchity, crucnch, crunch, crunch] > > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -nostdinc -I- -I. -I../.. -I/usr/include -DMFS > -DFFS -DNETATALK -DINET -DCOMPAT_43 -DFAILSAFE -DKERNEL > ../../net/if_fddisubr.c > ../../net/if_fddisubr.c: In function `fddi_output': > ../../net/if_fddisubr.c:233: too many arguments to function > `at_ifawithnet' > *** Error code 1 > > Stop. > > Plonk. I guess a little investigation is in order. It may be > trivial. Then again, it may not be. I'm not a network guru, but I hacked around in if_fddisubr.c along the lines set by the patches for if_ethersubr.c: bash# diff if_fddisubr.c.orig if_fddisubr.c 230a231 > * see comments in if_ethersubr.c XXX 232,234c233,234 < if ((aa = (struct at_ifaddr *)at_ifawithnet( < (struct sockaddr_at *)dst, ifp->if_addrlist)) < == 0) --- > aa = (struct at_ifaddr *) at_ifawithnet((struct sockaddr_at *)dst); > if ( aa == NULL ) { 235a236 > } This gives me both a working fddi and a working netatalk environment. I'd appreciate a second opinion of a network knowledgeable person. If it is an acceptable hack, I'll send-pr a diff. BTW this is 2.2.5R based, but probably fits is 2.2.6R as well. Wilko _ ______________________________________________________________________ | / o / / _ Bulte email: wilko @ yedi.iaf.nl |/|/ / / /( (_) Arnhem, The Netherlands WWW: http://www.tcja.nl -------------------------------------------------- Powered by FreeBSD ------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803302131.XAA00572>