Skip site navigation (1)Skip section navigation (2)
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:   conf/56940: pccard.conf entry for PCET10-CL causes syntax errors in -CURRENT
Message-ID:  <3ar82fj1lx.wl@snickersnee.p.else.k.u-tokyo.ac.jp>
Resent-Message-ID: <200309170800.h8H80ada040467@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56940
>Category:       conf
>Synopsis:       pccard.conf entry for PCET10-CL causes syntax errors in -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 17 01:00:35 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ar82fj1lx.wl>