Date: Mon, 4 Nov 2002 11:08:50 -0800 (PST) From: Attila Nagy <bra@fsn.hu> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/44884: pcic is broken in current Message-ID: <200211041908.gA4J8onG019157@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 44884 >Category: kern >Synopsis: pcic is broken in current >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 04 11:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Attila Nagy >Release: 4.6-STABLE >Organization: >Environment: FreeBSD chuck.intra 4.6-STABLE FreeBSD 4.6-STABLE #2: Thu Jul 11 15:13:00 CEST 2002 root@chuck.intra:/usr/obj/usr/src/sys/CHUCK i386 >Description: I'm trying to upgrade a machine from STABLE to CURRENT, according to UPDATES. During the process, I got: cc -c -O -pipe -march=i486 -Wall -Wredundant-decls -Wnested-externs -Wstrict-pro totypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ext ensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/s ys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_glo bal.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreest anding -Werror /usr/src/sys/dev/pcic/i82365.c /usr/src/sys/dev/pcic/i82365.c: In function `pcic_event_thread': /usr/src/sys/dev/pcic/i82365.c:566: `DETACH_FORCE' undeclared (first use in this function) /usr/src/sys/dev/pcic/i82365.c:566: (Each undeclared identifier is reported only once /usr/src/sys/dev/pcic/i82365.c:566: for each function it appears in.) /usr/src/sys/dev/pcic/i82365.c: In function `pcic_intr_socket': /usr/src/sys/dev/pcic/i82365.c:673: `DETACH_FORCE' undeclared (first use in this function) /usr/src/sys/dev/pcic/i82365.c: In function `pcic_detach_card': /usr/src/sys/dev/pcic/i82365.c:728: too many arguments to function `CARD_DETACH_ CARD' *** Error code 1 Stop in /usr/obj/usr/src/sys/GATEWAY. *** Error code 1 I have the following lines in GATEWAY kernel config: # PCCARD (PCMCIA) support # Pcmcia and cardbus bridge support device pcic # ExCA ISA and PCI bridges device pccard # PC Card (16-bit) bus I have pcic0 on a STABLE system: <Cirrus logic 6710> at port 0x3e0 iomem 0xd0000 on isa0 >How-To-Repeat: Comment out the pcic line in kernel config, then do a make buildworld, make buildkernel and you get the error. >Fix: Maybe to remove "flags" from the options of CARD_DETACH_CARD, so the i82365.c file could look like this: CARD_DETACH_CARD(h->dev); ? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211041908.gA4J8onG019157>