Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 1996 23:15:21 +0200 (MET DST)
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Chuck Robey <chuckr@glue.umd.edu>
Cc:        phk@critter.tfs.com, FreeBSD current <freebsd-current@freefall.freebsd.org>
Subject:   Re: Make world
Message-ID:  <Pine.BSF.3.95.960908230204.1278A-100000@klemm.gtn.com>
In-Reply-To: <Pine.OSF.3.95.960908133915.1817A-100000@thurston.eng.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Sep 1996, Chuck Robey wrote:

> Seems broke in lkm/wcd.  Here's the error message:

I think this happened, after Poul changed the struct atapi in
i386/isa/atapi.h (atapi.h 1.6 -> 1.7) and changed wcdattach, to
have one argument less ...

I think a fix could be, to apply the following patch: but it's only
a guess ;-) So perhaps wait, if it's mission critical for you ;)

RCS file: /local/CVS/src/sys/i386/isa/wcd.c,v
retrieving revision 1.38
diff -u -r1.38 wcd.c
--- wcd.c       1996/09/06 23:32:40     1.38
+++ wcd.c       1996/09/08 21:11:46
@@ -1131,7 +1131,7 @@
                                /* Probing controller ata->ctrlr, unit u. */
                                if (ata->params[u] && ! ata->attached[u] &&
                                    wcdattach (ata, u, ata->params[u],
-                                   ata->debug, ata->parent) >= 0)
+                                   ata->debug) >= 0)
                                {
                                        /* Drive found. */
                                        ata->attached[u] = 1;

It compiles fine after that...
root{1101} /usr/src/lkm/wcd make
cc -pipe -O2 -nostdinc -I. -DWCD_MODULE  -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/usr/src/lkm/wcd/../../sys  -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline -Wunused -Wpointer-arith
 -c /usr/src/lkm/wcd/../../sys/i386/isa/wcd.c
/usr/src/lkm/wcd/../../sys/i386/isa/wcd.c:1114: warning: `rwcd_load' declared `static' but never defined
/usr/src/lkm/wcd/../../sys/i386/isa/wcd.c:1114: warning: `rwcd_unload' declared `static' but never defined
ld -r  -o tmp.o wcd.o
symorder -c symb.tmp tmp.o
mv tmp.o wcd_mod.o

--
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960908230204.1278A-100000>