Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 1997 05:20:57 +0900 (JST)
From:      hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
To:        mobile@freebsd.org
Subject:   I want to restructure pccardd....
Message-ID:  <199701282020.FAA03167@lenlen.mt.cs.keio.ac.jp>

next in thread | raw e-mail | index | archive | help
I'm planning to rewrite pccardd (and related interface of sys/pccard)
from scratch because,

1. To extend the syntax of pccard.conf is very difficult because it
   uses a parser written in plain C.

2. Very early version of pccardd only supports one I/O window and
   fixed parameters, etc.  I added many hack to overcome these limits.
   But now, I want to support complete PnP resource configuration of
   PC-cards and I want to add multifunction card support.  I tried to
   add these features as hack for pccardd, but it's too difficult.  I
   abandoned this project.

3. The current design of 'ether' subcommand in pccard.conf is not good
   because it mainly focuses upon support for NE2000 compatible cards
   (I'm talking about how pccardd uses 'misc' member of slot
   structure, not about the syntax of pccard.conf).  Megahertz's cards
   and WaveLAN uses very different scheme to pass MAC address to the
   card.

I want to implement new pccardd in C and lex/yacc.  I'm nurvous about
programming language because I was involved in a flame war in another
mailing list about the programming language of metaconfiguration
system of kernel structure :-), but I think C is the best language for
this purpose.  I think Perl (and Tcl) can be alternative, but using a
fat interpreter is bad idea for daemons, and utilities incorporated
into boot.flp.

Any comments?

I have time in March (I'm too busy this February).  If there are no
strong complaints about this project, I'll entirely rewrite pccardd
(and write multifunction card support) this March.

--
HOSOKAWA, Tatsumi
hosokawa@mt.cs.keio.ac.jp
hosokawa@jp.FreeBSD.org



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