From owner-freebsd-multimedia Thu Dec 11 08:36:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA24228 for multimedia-outgoing; Thu, 11 Dec 1997 08:36:43 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from sujal.prognet.com (sujal.prognet.com [204.255.154.231]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA24223 for ; Thu, 11 Dec 1997 08:36:40 -0800 (PST) (envelope-from smpatel@real.com) Received: from localhost (localhost.prognet.com [127.0.0.1]) by sujal.prognet.com (8.8.4/8.8.4) with SMTP id IAA28232 for ; Thu, 11 Dec 1997 08:38:28 -0800 (PST) X-Received: from ns3.harborcom.net (root@ns3.harborcom.net [206.158.4.7]) by sujal.prognet.com (8.8.4/8.8.4) with SMTP id IAA28218 for ; Thu, 11 Dec 1997 08:35:24 -0800 (PST) X-Received: from hub.freebsd.org [204.216.27.18] by ns3.harborcom.net with esmtp (Exim 1.73 #1) id 0xgBYJ-0005ER-00; Thu, 11 Dec 1997 11:33:32 -0500 X-Received: from motgate.mot.com (motgate.mot.com [129.188.136.100]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA24065 for ; Thu, 11 Dec 1997 08:33:24 -0800 (PST) (envelope-from spearsd@cig.mot.com) X-Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.8.5/8.6.10/MOT-3.8) with ESMTP id KAA07306 for ; Thu, 11 Dec 1997 10:33:22 -0600 (CST) Comments: ( Received on motgate.mot.com from client pobox.mot.com, sender spearsd@cig.mot.com ) X-Received: from motcig.cig.mot.com (motcig.cig.mot.com [136.182.15.3]) by pobox.mot.com (8.8.5/8.6.10/MOT-3.8) with SMTP id KAA20262 for ; Thu, 11 Dec 1997 10:33:18 -0600 (CST) X-Received: from calcite.cig.mot.com (calcite.cig.mot.com [136.182.45.218]) by motcig.cig.mot.com (8.6.11/SCERG-RELAY-1.11) with ESMTP id KAA15734; Thu, 11 Dec 1997 10:33:08 -0600 X-Received: (spearsd@localhost) by calcite.cig.mot.com (8.8.5/SCERG-1.12B) id KAA29457; Thu, 11 Dec 1997 10:33:07 -0600 (CST) Date: Thu, 11 Dec 1997 10:33:07 -0600 (CST) From: "Daniel S. Spears" Message-Id: <9712111033.ZM29455@calcite> X-face: A"y5;)o.sSJ=)R\xNKr>eJY@S3[L@9MdugCZJs;c\prhU6GxGz#LXG#rC>kj)T}xOz~rC`A3}e4|)?Qh2W$m'}I[RGpmv;y6z`">!=1W7-bRxim?F'v~~VSpUqxa.d@HG:v@X^^<),Z`z&?E?r-`E\I[99;jD~+T%/@jnhLbdUC^UB{HQP X-Mailer: Z-Mail (3.2.1 10apr95) To: smpatel@freebsd.org Subject: problem with PnP driver and FreeBSD 2.2.5-RELEASE Cc: spearsd@wwa.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii ReSent-Date: Thu, 11 Dec 1997 08:38:19 -0800 (PST) ReSent-From: Sujal Patel ReSent-To: multimedia@freebsd.org ReSent-Message-ID: Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Sujal, I've attempted to install your PnP driver on a new FreeBSD installation and it didn't work for me. Here is the release information of the components I used... My operating system is FreeBSD-2.2.5 RELEASE (Walnut Creek CD-ROM subscription) The driver package I used is FreeBSD-ISA_PnP_June8.tar which contains the following files: -rw-r--r-- 1 root wheel 4995 Jul 8 1996 README -rw-r--r-- 1 root wheel 13509 Jul 8 1996 kernel.patch.2.1.5 -rw-r--r-- 1 root wheel 13345 Jul 8 1996 kernel.patch.2.2-current drwxr-xr-x 2 root wheel 512 Dec 10 22:42 pnpinfo drwxr-xr-x 2 root wheel 512 Dec 10 22:42 sample I followed the README in the driver package by doing the following... 1. From /usr/src/sys I patched the kernel using the following: "patch -p0 < kernel.patch.2.2-current" 2. Put an entry in my kernel config file which reads: "controller pnp0" 3. I then compiled my kernel at which point I got the errors # make cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I/usr/include -DMD5 -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../i386/i386/autoconf.c cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I/usr/include -DMD5 -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../i386/isa/pnp.c ../../i386/isa/pnp.c:48: elements of array `cinfo' have incomplete type ../../i386/isa/pnp.c:52: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:53: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:54: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:55: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:56: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:57: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:58: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:58: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:59: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:68: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:69: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:70: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:71: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:72: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:73: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:74: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:79: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:80: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:81: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:82: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:83: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:84: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:85: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:85: warning: excess elements in struct initializer after `cinfo[1]' # make cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I/usr/include -DMD5 -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../i386/i386/autoconf.c cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I/usr/include -DMD5 -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../i386/isa/pnp.c ../../i386/isa/pnp.c:48: elements of array `cinfo' have incomplete type ../../i386/isa/pnp.c:52: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:53: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:54: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:55: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:56: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:57: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:58: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:58: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:59: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:68: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:69: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:70: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:71: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:72: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:73: extra brace group at end of initializer for `cinfo[0]' ../../i386/isa/pnp.c:74: warning: excess elements in struct initializer after `cinfo[0]' ../../i386/isa/pnp.c:79: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:80: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:81: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:82: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:83: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:84: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:85: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:85: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:86: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:95: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:96: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:97: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:98: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:99: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:100: extra brace group at end of initializer for `cinfo[1]' ../../i386/isa/pnp.c:101: warning: excess elements in struct initializer after `cinfo[1]' ../../i386/isa/pnp.c:103: invalid use of undefined type `struct cinfo' ../../i386/isa/pnp.c: In function `send_Initiation_LFSR': ../../i386/isa/pnp.c:134: `ADDRESS' undeclared (first use this function) ../.../i386/isa/pnp.c:134: (Each undeclared identifier is reported only once ../../i386/isa/pnp.c:134: for each function it appears in.) ../../i386/isa/pnp.c: In function `config_device': ../../i386/isa/pnp.c:201: `ADDRESS' undeclared (first use this function) ../../i386/isa/pnp.c:201: `SET_CSN' undeclared (first use this function) ../../i386/isa/pnp.c:201: `WRITE_DATA' undeclared (first use this function) ../../i386/isa/pnp.c:202: `STATUS' undeclared (first use this function) ../../i386/isa/pnp.c:204: sizeof applied to an incomplete type ../../i386/isa/pnp.c:204: increment of pointer to unknown structure ../../i386/isa/pnp.c:204: arithmetic on pointer to an incomplete type ../../i386/isa/pnp.c:205: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:207: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:207: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:209: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:210: `SET_LDN' undeclared (first use this function) ../../i386/isa/pnp.c:210: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:210: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:213: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:214: `IO_CONFIG_BASE' undeclared (first use this function) ../../i386/isa/pnp.c:215: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:215: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:217: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:217: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:221: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:222: `IRQ_CONFIG' undeclared (first use this function) ../../i386/isa/pnp.c:223: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:223: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:224: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:226: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:226: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:230: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:231: `DRQ_CONFIG' undeclared (first use this function) ../../i386/isa/pnp.c:232: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:232: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:236: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:237: `MEM_CONFIG' undeclared (first use this function) ../../i386/isa/pnp.c:238: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:238: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:240: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:241: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:246: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:248: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:248: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:251: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:251: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:253: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:254: dereferencing pointer to incomplete type ../../i386/isa/pnp.c:256: `IO_RANGE_CHECK' undeclared (first use this function) ../../i386/isa/pnp.c:257: `ACTIVATE' undeclared (first use this function) ../../i386/isa/pnp.c: In function `isolation_protocol': ../../i386/isa/pnp.c:277: `ADDRESS' undeclared (first use this function) ../../i386/isa/pnp.c:277: `WRITE_DATA' undeclared (first use this function) ../../i386/isa/pnp.c:279: `MAX_CARDS' undeclared (first use this function) ../../i386/isa/pnp.c:281: `WAKE' undeclared (first use this function) ../../i386/isa/pnp.c:282: `SET_RD_DATA' undeclared (first use this function) ../../i386/isa/pnp.c:283: `SERIAL_ISOLATION' undeclared (first use this function) ../../i386/isa/pnp.c: At top level: ../../i386/isa/pnp.c:297: warning: function declaration isn't a prototype *** Error code 1