Bug 220 - compile failure in drivers/scsi/AM53C974.c
Summary: compile failure in drivers/scsi/AM53C974.c
Status: REJECTED INVALID
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Diego Calleja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-30 13:00 UTC by John Kim
Modified: 2005-07-05 12:11 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description John Kim 2002-12-30 13:00:03 UTC
Exact Kernel version:  2.5.53
Distribution:  Gentoo 1.4rc1
Hardware Environment:  Abit KG7-RAID, AMD Athlon TBird 1.4, 512MB DDR, Geforce 3
Software Environment:  gcc 3.2.1, glibc 2.3.1, ld 2.13.90.0.16
Problem Description:

  gcc -Wp,-MD,drivers/scsi/.AM53C974.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-numaq
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include   
-DKBUILD_BASENAME=AM53C974 -DKBUILD_MODNAME=AM53C974   -c -o
drivers/scsi/AM53C974.o drivers/scsi/AM53C974.c
drivers/scsi/AM53C974.c:1:2: #error Please convert me to
Documentation/DMA-mapping.txt
drivers/scsi/AM53C974.c: In function `AM53C974_print':
drivers/scsi/AM53C974.c:513: warning: implicit declaration of function `save_flags'
drivers/scsi/AM53C974.c:514: warning: implicit declaration of function `cli'
drivers/scsi/AM53C974.c:532: warning: implicit declaration of function
`restore_flags'
drivers/scsi/AM53C974.c:507: warning: `flags' might be used uninitialized in
this function
drivers/scsi/AM53C974.c: In function `AM53C974_keywait':
drivers/scsi/AM53C974.c:554: warning: `flags' might be used uninitialized in
this function
drivers/scsi/AM53C974.c: In function `AM53C974_init':
drivers/scsi/AM53C974.c:739: structure has no member named `next'
drivers/scsi/AM53C974.c: In function `initialize_SCp':
drivers/scsi/AM53C974.c:845: structure has no member named `address'
drivers/scsi/AM53C974.c: In function `AM53C974_main':
drivers/scsi/AM53C974.c:970: structure has no member named `next'
drivers/scsi/AM53C974.c: In function `AM53C974_intr':
drivers/scsi/AM53C974.c:1048: structure has no member named `next'
drivers/scsi/AM53C974.c: In function `AM53C974_information_transfer':
drivers/scsi/AM53C974.c:1559: structure has no member named `address'
drivers/scsi/AM53C974.c: At top level:
drivers/scsi/AM53C974.c:2456: warning: initialization from incompatible pointer type
drivers/scsi/AM53C974.c:2456: warning: initialization from incompatible pointer type
make[2]: *** [drivers/scsi/AM53C974.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2


Steps to reproduce:

SCSI device support  --->
SCSI low-level drivers  --->
<*> AM53/79C974 PCI SCSI support

CONFIG_SCSI_AM53C974=y
Comment 1 John Kim 2003-02-14 20:36:01 UTC
Problem exists in 2.5.61.
Comment 2 Diego Calleja 2003-07-28 13:43:34 UTC
Still fails in 2.6.0-test2
Comment 3 HJH 2003-08-29 15:06:30 UTC
still does not compile in 2.6.0-test4
Comment 4 Diego Calleja 2004-02-28 10:46:45 UTC
drivers/scsi/AM53C974.c has been removed from the tree. There's no CONFIG_SCSI_A
M53C974 anymore in the whole kernel (except in some default config files in some
 weird arches. So I guess that 1) the driver has been removed 2) it has been rew
ritten. In both cases, I'd say that this bug isn't valid anymore...so I'll close
 it.

Note You need to log in before you can comment on or make changes to this bug.