From yasufumi@else.k.u-tokyo.ac.jp  Wed Sep 17 00:49:53 2003
Return-Path: <yasufumi@else.k.u-tokyo.ac.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1485816A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Sep 2003 00:49:53 -0700 (PDT)
Received: from piano.else.k.u-tokyo.ac.jp (piano.else.k.u-tokyo.ac.jp [157.82.246.78])
	by mx1.FreeBSD.org (Postfix) with SMTP id BB4A243FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Sep 2003 00:49:50 -0700 (PDT)
	(envelope-from yasufumi@else.k.u-tokyo.ac.jp)
Received: (qmail 12991 invoked from network); 17 Sep 2003 07:49:47 -0000
Received: from unknown (HELO snickersnee.p.else.k.u-tokyo.ac.jp) (192.168.10.236)
  by piano.else.k.u-tokyo.ac.jp with SMTP; 17 Sep 2003 07:49:47 -0000
Message-Id: <3ar82fj1lx.wl@snickersnee.p.else.k.u-tokyo.ac.jp>
Date: Wed, 17 Sep 2003 16:49:46 +0900
From: Yasufumi Susuki <yasufumi-bsd@else.k.u-tokyo.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: pccard.conf entry for PCET10-CL causes syntax errors in -CURRENT

>Number:         56940
>Category:       conf
>Synopsis:       [patch] [pccard] pccard.conf entry for PCET10-CL causes syntax errors in -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 17 01:00:35 PDT 2003
>Closed-Date:    Sun Jun 22 00:06:05 MDT 2008
>Last-Modified:  Sun Jun 22 00:06:05 MDT 2008
>Originator:     Yasufumi Susuki
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
The University of Tokyo
>Environment:
System: FreeBSD grayswandir.p.else.k.u-tokyo.ac.jp 5.1-CURRENT FreeBSD 5.1-CURRENT #14: Tue Sep 16 16:50:34 JST 2003 root@grayswandir.p.else.k.u-tokyo.ac.jp:/usr/obj/usr/src/sys/GRAYSWANDIR i386
>Description:
/etc/defaults/pccard.conf causes syntax errors in -CURRENT.
IRQ setting of I/O DATA PCET10CL seems to be wrong.
>How-To-Repeat:
When pccardd is enabled by adding
  pccard_enable="YES"
to rc.conf, pccardd prints the messages shown below to stderr

  pccardd: /etc/defaults/pccard.conf: illegal IRQ value at line 700, near any
  pccardd: /etc/defaults/pccard.conf: illegal card IRQ value at line 700, near any
  pccardd: /etc/defaults/pccard.conf: syntax error at line 700, near any
  pccardd: /etc/defaults/pccard.conf: syntax error at line 701, near 0x10
  pccardd: /etc/defaults/pccard.conf: syntax error at line 701, near insert
  pccardd: /etc/defaults/pccard.conf: syntax error at line 701, near /etc/pccard_ether
  pccardd: /etc/defaults/pccard.conf: syntax error at line 702, near $device
  pccardd: /etc/defaults/pccard.conf: syntax error at line 702, near remove
  pccardd: /etc/defaults/pccard.conf: syntax error at line 702, near /etc/pccard_ether_remove
  pccardd: /etc/defaults/pccard.conf: syntax error at line 703, near $device
  pccardd: warning: card IO DATA(PCET10CL) has no valid configuration

>Fix:
diff -ruN src.orig/etc/defaults/pccard.conf src/etc/defaults/pccard.conf
--- src.orig/etc/defaults/pccard.conf	Wed Sep 17 16:31:56 2003
+++ src/etc/defaults/pccard.conf	Wed Sep 17 16:31:29 2003
@@ -697,7 +697,7 @@
 
 # I/O DATA PCET10-CL
 card "IO DATA" "PCET10CL"
-	config	auto "ed0" any 0x10
+	config	auto "ed" ? 0x10
 	insert	/etc/pccard_ether $device
 	remove	/etc/pccard_ether_remove $device
>Release-Note:
>Audit-Trail:

From: Ethan Schur <ethan_schur@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: yasufumi-bsd@else.k.u-tokyo.ac.jp
Subject: Re: conf/56940: pccard.conf entry for PCET10-CL causes syntax errors in -CURRENT
Date: Sat, 31 Jan 2004 18:23:04 -0800 (PST)

 I get the same problem with my Lucent Orinoco card.
 When I set the irq to 10 as it should be I get 
 pccardd: /etc/defaults/pccard.conf: illegal IRQ value
 at line 1762, near card
 
 pccardd: /etc/defaults/pccard.conf: illegal card IRQ
 value at line 1762, near card
 
 pccardd: warning: card Lucent
 Technologies(WaveLAN/IEEE) has no valid configuration
 
 The value is not illegal. The fix for this issue
 didn't make sense to me because I can't use any I need
 to hardwire the irq or else it won't work.
 
 
 Ethan Schur
 
 __________________________________
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free web site building tool. Try it!
 http://webhosting.yahoo.com/ps/sb/
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Sun Jun 22 00:05:38 MDT 2008 
State-Changed-Why:  
pccard.conf is OBE.  newcard doesn't use it and OLDCARD has been retired. 
this can be closed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=56940 
>Unformatted:
