From owner-freebsd-scsi Wed Oct 6 11:17: 2 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 92C3915136 for ; Wed, 6 Oct 1999 11:16:55 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id MAA88316; Wed, 6 Oct 1999 12:16:29 -0600 (MDT) (envelope-from ken) Message-Id: <199910061816.MAA88316@panzer.kdm.org> Subject: Re: Applying CAM patches to 2.2-stable In-Reply-To: from spork at "Oct 6, 1999 01:42:42 pm" To: spork@super-g.com (spork) Date: Wed, 6 Oct 1999 12:16:29 -0600 (MDT) Cc: freebsd-scsi@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org spork wrote... > On Wed, 6 Oct 1999, Kenneth D. Merry wrote: > > spork wrote... > > > Anyhow, on doing a make depend (after config'ing using config from the > > > same tree) I get the following: > > > > > > ../../pci/aic7870.c:63: aic7xxx_reg.h: No such file or directory > > > > > aic7870.c was the PCI attach code for the ahc driver in the old SCSI layer. > > It has been replaced by ahc_pci.c in CAM. > > > > My guess is that you've still got some things to clean up. > > The weird thing is that a machine running the 2.2 CAM snapshot has the > file after running config on the kernel config file: > > spork@shell[~/tmp/kern-patch]$ ls /sys/compile/SHELL/aic7xxx > aic7xxx.o aic7xxx_reg.h aic7xxx_seq.h > > and in the original diffs I see this file come up: > > *** src/sys/conf/files.orig > --- src/sys/conf/files > > (around line 12 or so) > > + aic7xxx_{seq,reg}.h optional ahc device-driver \ > + compile-with "./aicasm ${INCLUDES} -o aic7xxx_seq.h -r > aic7xxx_reg.h $S/d > ev/aic7xxx/aic7xxx.seq" \ > + no-obj no-implicit-rule before-depend \ > + clean "aic7xxx_seq.h aic7xxx_reg.h" \ > > and down around 350 or so: > > ! pci/ahc_pci.c optional ahc device-driver \ > ! dependency "aic7xxx_reg.h $S/pci/ahc_pci.c" > > Does that make sense? I'm getting this from the original, unaltered diffs > for 2.2... Yes, it makes sense. aic7xxx_{seq,reg}.h are built automatically by aicasm. You should not, however, be compiling aic7870.c. If you are, your setup/patches are broken. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message