NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/48165: ethernet interface interrupt misconfigured(?) with ACPI



The following reply was made to PR port-amd64/48165; it has been noted by GNATS.

From: Dennis Ferguson <dennis%mistimed.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-amd64/48165: ethernet interface interrupt misconfigured(?) 
with ACPI
Date: Fri, 30 Aug 2013 17:11:11 -0400

 --Apple-Mail=_1FF8151B-A05F-4757-A28D-B7530C654F74
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
        charset=us-ascii
 
 It occurred to me to try the attached patch (after I sent the bug
 report, unfortunately).  I now can boot with ACPI enabled and get a
 working ethernet, though I'm not sure whether this is a fix or just covers
 up an underlying bug.
 
 Dennis Ferguson
 
 
 --Apple-Mail=_1FF8151B-A05F-4757-A28D-B7530C654F74
 Content-Disposition: attachment;
        filename=mpacpi.patch
 Content-Type: application/octet-stream;
        name="mpacpi.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: sys/arch/x86/x86/mpacpi.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/x86/x86/mpacpi.c,v
 retrieving revision 1.97
 diff -u -r1.97 mpacpi.c
 --- sys/arch/x86/x86/mpacpi.c  25 Mar 2013 01:30:37 -0000      1.97
 +++ sys/arch/x86/x86/mpacpi.c  30 Aug 2013 21:08:58 -0000
 @@ -567,9 +567,11 @@
  
        mpb = &mp_busses[mpr->mpr_bus];
  
 -      if (mpb->mb_name != NULL)
 +      if (mpb->mb_name != NULL) {
                printf("mpacpi: PCI bus %d int routing already done!\n",
                    mpr->mpr_bus);
 +              return (0);
 +      }
  
        mpb->mb_intrs = NULL;
        mpb->mb_name = "pci";
 
 --Apple-Mail=_1FF8151B-A05F-4757-A28D-B7530C654F74--
 


Home | Main Index | Thread Index | Old Index