From owner-freebsd-stable Sat Jan 30 19:00:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA27212 for freebsd-stable-outgoing; Sat, 30 Jan 1999 19:00:20 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from assurance.rstcorp.com (assurance.rstcorp.com [206.29.49.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA27204 for ; Sat, 30 Jan 1999 19:00:19 -0800 (PST) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by assurance.rstcorp.com (8.8.8/8.8.8) id WAA23514; Sat, 30 Jan 1999 22:00:17 -0500 Received: from sandbox.rstcorp.com(206.29.49.63) by assurance.rstcorp.com via smap (V2.0) id xma023512; Sat, 30 Jan 99 22:00:15 -0500 Received: from jabberwock.rstcorp.com (jabberwock [206.29.49.98]) by sandbox.rstcorp.com (8.8.8/8.8.8) with ESMTP id WAA13157; Sat, 30 Jan 1999 22:00:08 -0500 (EST) Received: (from vshah@localhost) by jabberwock.rstcorp.com (8.9.2/8.8.8) id WAA66205; Sat, 30 Jan 1999 22:00:15 -0500 (EST) Date: Sat, 30 Jan 1999 22:00:15 -0500 (EST) Message-Id: <199901310300.WAA66205@jabberwock.rstcorp.com> MIME-Version: 1.0 From: "Viren R. Shah" To: ONE-MO Cc: freebsd-stable@FreeBSD.ORG Subject: Re:Compaq ida driver patch In-Reply-To: <36B282EF.ED3501D@jps.net> References: <36B282EF.ED3501D@jps.net> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R. Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ONE-MO writes: > Ok, I've got a simple (and maybe dumb) question 8^) > > I'm trying to compile a kernel with Mark Dawson's ida driver for the > Compaq Smart2 controller for 3.0-STABLE. The instructions on patching > things states: > > (3) Add the line: > > inthand2_t idaintr; > > to /usr/src/sys/i386/isa/isa_device.h in the list of similar > declarations. > > Can anyone provide a more specific location? I've tried a couple of > places that appear to fit this general location without success. > I've never gotten the "inthand2_t idaintr;" to work. What I had to do instead was use the actual declaration of that function: void idaintr (int cntlr); [which is identical functionally, since inthand2_t is a typedef that expands to that, IIRC ] I place it as follows: int isa_dmastop __P((int chan)); void reconfig_isadev __P((struct isa_device *isdp, u_int *mp)); void idaintr (int cntlr); Hope this helps. There is probably a correct place to put the "inthand2_t" statement, but I have never been able to get it to compile with it. Mark may have a better answer for you. > Michael. Viren -- Viren R. Shah | Nibley's Gas Law of Learning: viren@rstcorp.com | Any amount of learning, however small, http://www.rstcorp.com/~vshah/ | will expand to fill any intellectual void, Reliable Software Technologies | however large. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message