Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 09:42:11 +0900
From:      MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
To:        jkh@winston.osd.bsdi.com
Cc:        yergeau@gloworm.Stanford.EDU, morganw@chemicals.tacorp.com, freebsd-mobile@FreeBSD.ORG
Subject:   Re: FW: Linksys 10/100 PCMCIA card 
Message-ID:  <200010130042.e9D0gHx02581@lavender.sanpei.org>
In-Reply-To: Your message of "Thu, 12 Oct 2000 10:08:33 -0700"
References:  <3881.971370513@winston.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  Sorry, Jordan.  I tested `make release' and install floppy with
below patch.

  I want you to check below code and commit it(or May I commit it? :-)

---
MIHIRA, Sanpei Yoshiro
Yokohama, Japan.


>>   And I will merge from current(MFC) soon(before 4.2-RELEASE, but
>> latest installer(sysinstall) has bug, if you set list of free irq
>> in sysinstall, that information did not relay to pccardd).
>
>Hi!
>
>Part of the problem I've have with the installer patches so far is
>that I've received over 6 emails with various patches or patch
>fragments in them and I'm still wondering when and where the
>"definitive" patches are. :)  If you can get those to me, I'll
>certainly be happy to commit them to -current and -stable or, if
>you would like, you can simply commit them directly.  I don't
>mind either way, I'm simply confused at the moment about which
>patch to take. :)

Index: release/sysinstall/pccard.c
===================================================================
RCS file: /home/ncvs/src/release/sysinstall/pccard.c,v
retrieving revision 1.13
diff -u -r1.13 pccard.c
--- release/sysinstall/pccard.c	2000/08/29 00:42:31	1.13
+++ release/sysinstall/pccard.c	2000/10/13 00:38:20
@@ -136,7 +136,7 @@
     int	pcic_mem = 0xd0000;
     int beep_newstat;
     char card_device[16];
-    char *card_irq = "";
+    char card_irq[256] = "";
     char temp[256];
     char *spcic_mem;
     char pccardd_cmd[256];
@@ -192,7 +192,7 @@
         for (i = 0; i < IRQ_COUNT; i++) {
             if ((CardIrq & IrqTable[i].my_bit) != 0) {
                 sprintf(temp, "%s %s", card_irq, IrqTable[i].my_flag);
-                variable_set2("card_irq", temp, 1);
+                strcpy(card_irq, temp);
             }
         } 
     }


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?200010130042.e9D0gHx02581>