From owner-cvs-all Mon Jul 24 14:44: 4 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9C7C337BF8B; Mon, 24 Jul 2000 14:44:01 -0700 (PDT) (envelope-from iwasaki@FreeBSD.org) Received: (from iwasaki@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA11274; Mon, 24 Jul 2000 14:44:01 -0700 (PDT) (envelope-from iwasaki@FreeBSD.org) Message-Id: <200007242144.OAA11274@freefall.freebsd.org> From: Mitsuru IWASAKI Date: Mon, 24 Jul 2000 14:44:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard pcic.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG iwasaki 2000/07/24 14:44:01 PDT Modified files: sys/pccard pcic.c Log: Fix a bug so that we have correct number of pccard instances in pcic_attach(). pcic_attach() got a wrong pointer to pcic_slots since device haven't set correct unit number yet, so always accessed elements of pcic_slots which belong to pcic0 (unit number 0). Now we set unit number to pcic device first, then access to pcic_slots based on the unit number we've just set. Revision Changes Path 1.94 +2 -2 src/sys/pccard/pcic.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message