Date: Thu, 11 Dec 1997 10:33:07 -0600 (CST) From: "Daniel S. Spears" <spearsd@cig.mot.com> To: smpatel@freebsd.org Cc: spearsd@wwa.com Subject: problem with PnP driver and FreeBSD 2.2.5-RELEASE Message-ID: <9712111033.ZM29455@calcite> Resent-Message-ID: <Pine.BSF.3.95.971211083819.28208C@sujal.prognet.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9712111033.ZM29455>