Date: Wed, 17 Mar 1999 17:24:23 +0300 From: Juriy Goloveshkin <j@avias.com> To: freebsd-mobile@freebsd.org Subject: Re: PCIC on 3.1-RELEASE Message-ID: <19725.990317@avias.com> References: <XFMail.990317081346.patrick@cre8tivegroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Patrick,
среда, 17 марта 1999 г., you wrote to me:
PG> Initializing PC-card drivers: ed
This shows incorrect(only last driver).
This is a bug in the function "pccard_configure" in pccard.c
It need a patch like the following:
===============
*** 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");
}
===============
Best regards,
Juriy mailto:j@avias.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19725.990317>
