NetBSD Problem Report #13727

Received: (qmail 15611 invoked from network); 16 Aug 2001 05:45:31 -0000
Message-Id: <200108160549.f7G5nna00513@angelic.cynic.net>
Date: Thu, 16 Aug 2001 14:49:50 +0900 (JST)
From: Curt Sampson <cjs@angelic.cynic.net>
Reply-To: cjs@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: dev/pci/pccbb.c CB_PCMCIA_POLL and PCCBB_PCMCIA_POLL options do not compile
X-Send-Pr-Version: 3.95

>Number:         13727
>Category:       kern
>Synopsis:       dev/pci/pccbb.c CB_PCMCIA_POLL and PCCBB_PCMCIA_POLL options do not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 16 05:46:00 +0000 2001
>Closed-Date:    
>Last-Modified:  Fri Aug 17 09:50:35 +0000 2001
>Originator:     Curt Sampson
>Release:        2001-08-15
>Organization:
Curt Sampson <cjs@cynic.net>  +81 3 5778 0123   de gustibus, aut bene aut nihil

She saw that he had singled her out from the three...for no reasoned purpose
of further acquaintance, but in commonplace obedience to conjunctive orders
from headquarters, unconsciously received by unfortunate men when the last
intention of their lives is to be occupied with the feminine.
>Environment:
	Toshiba Libretto L2
System: NetBSD angelic.cynic.net 1.5X NetBSD 1.5X (ANGELIC-$Revision$) #45: Thu Aug 16 13:09:15 JST 2001 cjs@angelic.cynic.net:/u/netbsd/src/sys/arch/i386/compile/ANGELIC i386
Architecture: i386
Machine: i386
>Description:
	Code in dev/pci/pccbb.c enabled with the CB_PCMCIA_POLL and
	PCCBB_PCMCIA_POLL options does not compile. The cb_pcmcia_poll
	structure definition refers to the type pccard_chipset_tag_t, which
	does not appear to exist. (I grepped all the kernel *.c and *.h files
	for this, and it appears only this once in dev/pci/pccbb.c.
	Also, the pccbb_pcmcia_poll function references member sc in
	struct pccbb_softc, which member does not exist.
>How-To-Repeat:
	In dev/pci/pccbb.c, #define CB_PCMCIA_POLL and PCCBB_PCMCIA_POLL.
	(And maybe CBB_DEBUG, too, if you still don't get the errors.)
	Attempt to compile it. You should see an error similar to this, though
	the line numbers will be a bit different:

	../../../../dev/pci/pccbb.c:1351: syntax error before `pccard_chipset_tag_t'
	../../../../dev/pci/pccbb.c: In function `cb_pcmcia_poll':
	../../../../dev/pci/pccbb.c:1366: structure has no member named `ct'
	../../../../dev/pci/pccbb.c:1367: dereferencing pointer to incomplete type
	../../../../dev/pci/pccbb.c: In function `pccbb_pcmcia_poll':
	../../../../dev/pci/pccbb.c:2810: structure has no member named `sc'
	cc1: warnings being treated as errors
	../../../../dev/pci/pccbb.c: At top level:
	../../../../dev/pci/pccbb.c:1356: warning: `cb_poll' defined but not used
	../../../../dev/pci/pccbb.c:1357: warning: `cb_poll_n' defined but not used
	../../../../dev/pci/pccbb.c:2799: warning: `pccbb_poll' defined but not used
	../../../../dev/pci/pccbb.c:2800: warning: `pccbb_poll_n' defined but not used

>Fix:
	Unknown, off-hand.
>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.