Bug 13393

Summary: ahc(aic7xxx) driver compile error on alpha
Product: Base System Reporter: Jan <Jan>
Component: alphaAssignee: Justin T. Gibbs <gibbs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   

Description Jan 1999-08-26 13:40:01 UTC
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include  -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56  ../../dev/aic7xxx/aic7xxx.c
../../dev/aic7xxx/aic7xxx.c: In function `ahc_alloc':
../../dev/aic7xxx/aic7xxx.c:674: `I386_BUS_SPACE_MEM' undeclared (first use this function)
../../dev/aic7xxx/aic7xxx.c:674: (Each undeclared identifier is reported only once
../../dev/aic7xxx/aic7xxx.c:674: for each function it appears in.)
../../dev/aic7xxx/aic7xxx.c:677: `I386_BUS_SPACE_IO' undeclared (first use this function)
*** Error code 1

Fix: 

i've tried to change I386 into ALPHA all compiles well 
but the fs is not stable ( crashes when newfs is done )
How-To-Repeat: define ahc0 in the kernel and compile kernel
Comment 1 Kenneth D. Merry freebsd_committer freebsd_triage 1999-08-26 17:06:02 UTC
Responsible Changed
From-To: freebsd-alpha->gibbs

Justin's driver. 
Comment 2 Justin T. Gibbs freebsd_committer freebsd_triage 1999-08-26 17:21:30 UTC
State Changed
From-To: open->closed

Alpha support for this driver was added shortly after 3.2R.  Upgrade to 
a 3.2-stable snapshot if you wish to use this driver on the Alpha.