Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 1999 12:16:29 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        spork@super-g.com (spork)
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Applying CAM patches to 2.2-stable
Message-ID:  <199910061816.MAA88316@panzer.kdm.org>
In-Reply-To: <Pine.BSF.4.00.9910061328130.26160-100000@super-g.inch.com> from spork at "Oct 6, 1999 01:42:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910061816.MAA88316>