Subject: kern/8528: ISA bha driver failed to compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 10/01/1999 08:50:57
>Number: 8528
>Category: kern
>Synopsis: ISA bha driver failed to compile.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 1 08:50:00 1999
>Last-Modified:
>Originator: Takahiro Kambe
>Organization:
>Release: NetBSD-current 1999/10/1
>Environment:
System:
NetBSD land.sky.yamashina.kyoto.jp 1.4K NetBSD 1.4K (INSTALL) #18: Sat Oct
2 00:32:00 JST 1999 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386
>Description:
ISA bha driver failed to compile.
>How-To-Repeat:
make INSTALL kernel.
>Fix:
Since I don't have Buslogic SCSI, I never verify this fix is correct
or not.
Index: src/sys/dev/ic/bha.c
===================================================================
RCS file: /usr/local/libdata/cvs/netbsd/sys/dev/ic/bha.c,v
retrieving revision 1.1.1.1.2.2
diff -u -r1.1.1.1.2.2 bha.c
--- bha.c 1999/10/01 14:37:43 1.1.1.1.2.2
+++ bha.c 1999/10/01 15:28:41
@@ -98,7 +98,6 @@
int bha_poll __P((struct bha_softc *, struct scsipi_xfer *, int));
void bha_timeout __P((void *arg));
-int bha_info __P((struct bha_softc *));
int bha_init __P((struct bha_softc *));
int bha_create_mailbox __P((struct bha_softc *));
Index: src/sys/dev/ic/bhavar.h
===================================================================
RCS file: /usr/local/libdata/cvs/netbsd/sys/dev/ic/bhavar.h,v
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1.2.1 bhavar.h
--- bhavar.h 1999/10/01 14:37:43 1.1.1.1.2.1
+++ bhavar.h 1999/10/01 15:28:48
@@ -149,6 +149,7 @@
int bha_find __P((bus_space_tag_t, bus_space_handle_t,
struct bha_probe_data *));
void bha_attach __P((struct bha_softc *, struct bha_probe_data *));
+int bha_info __P((struct bha_softc *));
int bha_intr __P((void *));
int bha_disable_isacompat __P((struct bha_softc *));
Index: src/sys/dev/isa/bha_isa.c
===================================================================
RCS file: /usr/local/libdata/cvs/netbsd/sys/dev/isa/bha_isa.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bha_isa.c
--- bha_isa.c 1999/01/13 15:43:48 1.1.1.1
+++ bha_isa.c 1999/10/01 15:26:57
@@ -149,7 +149,7 @@
* we can do 32-bit DMA (earlier revisions are buggy
* in this regard).
*/
- bha_inquire_setup_information(sc);
+ bha_info(sc);
if (strcmp(sc->sc_firmware, "3.37") < 0)
printf("%s: buggy VLB controller, disabling 32-bit DMA\n",
sc->sc_dev.dv_xname);
>Audit-Trail:
>Unformatted: