Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Noone problems with ncr53c8xx.c?
@ 1996-08-07 10:19 Markus Dickebohm
  1996-08-07 19:12 ` No-one problems with ncr53c8xx.c? Bugfix Wim van Dorst
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Dickebohm @ 1996-08-07 10:19 UTC (permalink / raw)


Hi,

there has been quite a lot of talk about the pros and cons of the
newly introduced NCR-SCSI-driver in the Linux kernel.

So I decided to give it a try, but "make boot" fails:

gcc -D__KERNEL__ -I/usr/src/linux-2.0.11/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -mno-fp-regs  -c -o sg.o sg.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.11/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -mno-fp-regs -c ncr53c8xx.c
ncr53c8xx.c: In function `ncr_host_info':
ncr53c8xx.c:8146: structure has no member named `use_mmio'
ncr53c8xx.c:8148: structure has no member named `reg_remapped'
make[3]: *** [ncr53c8xx.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.11/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.11/drivers/scsi'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.11/drivers'
make: *** [linuxsubdirs] Error 2

My system is unfortunately not upgraded to ELF. It is based on
Red Hat 3.0.3. The system is a Alpha EV4, Avanti (AlphaStation 200
4/166). 

Any hints?
Markus

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: No-one problems with ncr53c8xx.c? Bugfix
  1996-08-07 10:19 Noone problems with ncr53c8xx.c? Markus Dickebohm
@ 1996-08-07 19:12 ` Wim van Dorst
  0 siblings, 0 replies; 2+ messages in thread
From: Wim van Dorst @ 1996-08-07 19:12 UTC (permalink / raw)


Hello *,

   } there has been quite a lot of talk about the pros and cons of the
   } newly introduced NCR-SCSI-driver in the Linux kernel.
   } So I decided to give it a try, but "make boot" fails:
   } ncr53c8xx.c: In function `ncr_host_info':
   } ncr53c8xx.c:8146: structure has no member named `use_mmio'
   } ncr53c8xx.c:8148: structure has no member named `reg_remapped'
   } Any hints?

Yes, not only a hint, but the solution (I encountered the
same problem):

In the file ~linux/drivers/scsi/ncr53c8xx.c there the 
NCR_IOMAPPED is defined when:

a. SCSI_NCR_MAPPED is defined (only when explicitly done in configuration)

b. it is an alpha (they need that)

In the file all occurances of SCSI_IO_MAPPED are changed
to NCR_IOMAPPED, but one. Change that one misser too, and
your compilation problem is solved.

Met vriendelijke groeten, Wim van Dorst
--------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 33 4676365, (+31) 35 5242319
(-:      baron@clifton.hobby.nl       WvD@Chem.AkzoNobel.nl      :-)
--------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-08-07 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-07 10:19 Noone problems with ncr53c8xx.c? Markus Dickebohm
1996-08-07 19:12 ` No-one problems with ncr53c8xx.c? Bugfix Wim van Dorst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox