NetBSD-Bugs archive

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

Re: kern/36838 (pci bus is disabled on ACPI kernel on Fujitsu FMV LOOX P70WN.)



The following reply was made to PR kern/36838; it has been noted by GNATS.

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, joerg%NetBSD.org@localhost, 
netbsd-bugs%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost
Cc: 
Subject: Re: kern/36838 (pci bus is disabled on ACPI kernel on Fujitsu FMV
 LOOX P70WN.)
Date: Mon, 22 Feb 2010 16:00:18 +0900 (JST)

 Hi,
 
 I apply following patch and check the value of "pba->pba_flags"
 in src/sys/dev/pci/pci.c.
 
 --- pci.c.orig 2010-02-21 09:59:56.000000000 +0900
 +++ pci.c      2010-02-21 12:11:29.000000000 +0900
 @@ -155,6 +155,7 @@
        mrm_enabled = (pba->pba_flags & PCI_FLAGS_MRM_OKAY);
        mwi_enabled = (pba->pba_flags & PCI_FLAGS_MWI_OKAY);
  
 +      aprint_verbose("pba->pba_flags is %d\n", pba->pba_flags);
        if (io_enabled == 0 && mem_enabled == 0) {
                aprint_error_dev(self, "no spaces enabled!\n");
                goto fail;
 
 Then booting with ACPI support, I get these lines in dmesg.
 
 pci0 at mainbus0 bus 0: configuration mode 1
 pba->pba_flags is 31
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 
 pci1 at ppb0 bus 2
 pba->pba_flags is 23
 pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 
 pci2 at ppb1 bus 5
 pba->pba_flags is 20
 pci2: no spaces enabled!
 
 pci3 at ppb2 bus 8
 pba->pba_flags is 3
 pci3: i/o space, memory space enabled
 
 
 Next, booting without ACPI support, I get these lines in dmesg.
 
 pci0 at mainbus0 bus 0: configuration mode 1
 pba->pba_flags is 31
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 
 pci1 at ppb0 bus 2
 pba->pba_flags is 23
 pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 
 pci2 at ppb1 bus 5
 pba->pba_flags is 23
 pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 
 pci3 at ppb2 bus 8
 pba->pba_flags is 3
 pci3: i/o space, memory space enabled
 
 
 I think that the value of pba->pba_flags should be 23 in ACPI-enabled mode.
 
 But, I do not know I should do next.
 Would you like to help me?
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 
 


Home | Main Index | Thread Index | Old Index