From owner-freebsd-mobile Thu Mar 16 22:41:25 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from main.avias.com (avias-gw.corbina.net [195.14.40.4]) by hub.freebsd.org (Postfix) with ESMTP id AC76637BBEA for ; Thu, 16 Mar 2000 22:41:20 -0800 (PST) (envelope-from j@avias.com) Received: from dialup2.avias.com (dialup2.avias.com [195.14.38.69]) by main.avias.com (8.9.3/8.9.3) with ESMTP id JAA16004; Fri, 17 Mar 2000 09:41:00 +0300 (MSK) (envelope-from j@avias.com) Date: Fri, 17 Mar 2000 09:41:06 +0300 (MSK) From: Juriy Goloveshkin X-Sender: juriy@localhost To: Warner Losh Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto's floppy drive In-Reply-To: <200003170531.WAA08869@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 16 Mar 2000, Warner Losh wrote: > : As I remember, some time ago FreeBSD supported PCMCIA floppy disk drive, > : witch shipmented with libretto-notebook. > : It is planned to return support of this drive back? > I thought that 4.0R supported this. I thought that I tested it at one > point and it worked. If not, then it will be back before 4.1R. well... with default config file pccardd says: driver allocation failed for Y-E DATA(external FDD): Device not configured I found the FDC_YE option in fd.c, which is not described in kernel's configuration files. but with this option kernel is not build: --- li@root[LI]# make cc -c -O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DFDC_YE -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../isa/fd.c ../../isa/fd.c: In function `fd_read_status': ../../isa/fd.c:557: warning: `ret' might be used uninitialized in this function ../../isa/fd.c: At top level: ../../isa/fd.c:1099: warning: `struct isa_device' declared inside parameter list ../../isa/fd.c:1099: warning: its scope is only this definition or declaration, which is probably not what you want. ../../isa/fd.c: In function `yeattach': ../../isa/fd.c:1101: dereferencing pointer to incomplete type ../../isa/fd.c:1102: `fdc_data' undeclared (first use in this function) ../../isa/fd.c:1102: (Each undeclared identifier is reported only once ../../isa/fd.c:1102: for each function it appears in.) ../../isa/fd.c:1121: `NFD' undeclared (first use in this function) ../../isa/fd.c:1125: `fd_data' undeclared (first use in this function) ../../isa/fd.c:1127: warning: passing arg 1 of `set_motor' makes pointer from integer without a cast ../../isa/fd.c:1131: warning: passing arg 1 of `fd_cmd' makes pointer from integer without a cast ../../isa/fd.c:1135: warning: passing arg 1 of `fd_cmd' makes pointer from integer without a cast ../../isa/fd.c:1143: warning: passing arg 1 of `fd_cmd' makes pointer from integer without a cast ../../isa/fd.c:1159: warning: passing arg 1 of `fd_cmd' makes pointer from integer without a cast ../../isa/fd.c:1170: warning: passing arg 1 of `set_motor' makes pointer from integer without a cast ../../isa/fd.c: At top level: ../../isa/fd.c:1100: warning: `yeattach' defined but not used *** Error code 1 --- Bye Juriy Goloveshkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message