From owner-freebsd-current Mon Oct 13 10:01:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA06682 for current-outgoing; Mon, 13 Oct 1997 10:01:28 -0700 (PDT) (envelope-from owner-freebsd-current) Received: from grayling.erg.sri.com (grayling.erg.sri.com [128.18.4.194]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA06615; Mon, 13 Oct 1997 10:01:18 -0700 (PDT) (envelope-from templin@erg.sri.com) Received: from grayling.erg.sri.com by grayling.erg.sri.com (8.6.12/2.7davy) id KAA03103; Mon, 13 Oct 1997 10:01:12 -0700 Message-Id: <199710131701.KAA03103@grayling.erg.sri.com> X-Mailer: exmh version 2.0delta 6/3/97 To: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) cc: templin@erg.sri.com, freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: pccard driver questions (FreeBSD 2.2.2-RELEASE + PAO-970616) In-reply-to: Your message of "Sat, 11 Oct 1997 08:46:44 +0900." <199710102346.IAA07501@afs.ntc.mita.keio.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 13 Oct 1997 10:01:12 -0700 From: "Fred L. Templin" Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Original: > ---------------------------------------------------------------- > static struct slot_ctrl cinfo; > ---------------------------------------------------------------- > > Newer code: > ---------------------------------------------------------------- > static struct slot_ctrl controller_info[NPCIC]; > static struct slot_ctrl *cinfo = controller_info; > ---------------------------------------------------------------- > > One of my laptop machine has one PCI-1130 CardBus bridge that manages > two CardBus slots and i82365-compatible PC card controller that > manages one PC-card slot, and I can use all three slots under this > test code. Great. I was hoping it was just a matter of allocating multiple data structures. Does this mean that my config file will now look like: controller crd0 device pcic0 at crd0 device pcic1 at crd0 controller crd1 device pcic2 at crd1 device pcic3 at crd1 . . . (No need to respond if the answer is clearly obvious in the latest PAO test code...) > -- > HOSOKAWA, Tatsumi > Network Technology Center > Keio University > hosokawa@ntc.keio.ac.jp Thanks, Fred templin@erg.sri.com