From owner-freebsd-bugs Wed Mar 17 6:40:21 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1403114BF7 for ; Wed, 17 Mar 1999 06:40:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id GAA13844; Wed, 17 Mar 1999 06:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B6AE414E98; Wed, 17 Mar 1999 06:30:56 -0800 (PST) Message-Id: <19990317143056.B6AE414E98@hub.freebsd.org> Date: Wed, 17 Mar 1999 06:30:56 -0800 (PST) From: j@avias.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/10637: incorrect show initialized PCCARD-drivers on startup Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10637 >Category: kern >Synopsis: incorrect show initialized PCCARD-drivers on startup >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 Mar 17 06:40:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Juriy goloveshkin >Release: stable and current >Organization: The Research Institute of Aviation Industry Economy >Environment: FreeBSD libretto.avias.local 3.1-STABLE FreeBSD 3.1-STABLE #6: Wed Mar 17 16:59:51 MSK 1999 root@main.avias.com:/mntt/src/sys/compile/LIBRETTO i386 >Description: incorrect show more that one initialized PCCARD-drivers on startup It shows only one driver. >How-To-Repeat: just see... >Fix: something like this: =============== *** pccard.c.orig Tue Mar 9 20:20:18 1999 --- pccard.c Wed Mar 17 17:02:18 1999 *************** *** 160,172 **** pccard_configure(dummy) void *dummy; { ! struct pccard_device **driver, *drv; /* This isn't strictly correct, but works because of initialize order */ ! driver = &drivers; printf("Initializing PC-card drivers:"); ! while ((drv = *driver++)) printf(" %s", drv->name); printf("\n"); } --- 160,174 ---- pccard_configure(dummy) void *dummy; { ! struct pccard_device *drv; /* This isn't strictly correct, but works because of initialize order */ ! drv = drivers; printf("Initializing PC-card drivers:"); ! while (drv){ printf(" %s", drv->name); + drv=drv->next; + } printf("\n"); } =============== >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message