Date: Tue, 06 Jan 2009 13:12:05 +0200 From: Krassimir Slavchev <krassi@bulinfo.net> To: FreeBSD <freebsd-stable@freebsd.org> Subject: ACPI support? Message-ID: <49633C85.3090507@bulinfo.net>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello All, I have had a problem detecting the network card on my notebook when ACPI is enabled for a year. The problem still exists in 7.1-RELEASE. with ACPI: ... bge0: <Broadcom NetLink Gigabit Ethernet Controller, ASIC rev. 0xb002> irq 17 at device 0.0 on pci8 bge0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). bge0: couldn't map memory device_attach: bge0 attach returned 6 ... without ACPI: ... bge0: <Broadcom NetLink Gigabit Ethernet Controller, ASIC rev. 0xb002> mem 0xf3000000-0xf300ffff irq 17 at device 0.0 on pci8 miibus0: <MII bus> on bge0 brgphy0: <BCM5787 10/100/1000baseTX PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:1b:24:ca:a0:aa bge0: [ITHREAD] ... It seems that some resources are disabled by ACPI and should be enabled first. Here is dmesg from linux: ... tg3 0000:08:00.0: enabling device (0000 -> 0002) tg3 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 tg3 0000:08:00.0: setting latency timer to 64 eth0: Tigon3 [partno(BCM95787m) rev b002 PHY(5787)] (PCI Express) 10/100/1000Base-T Ethernet 00:1b:24:ca:a0:aa eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1] eth0: dma_rwctrl[76180000] dma_mask[64-bit] ... What changes should be made to enable these resources and where, in the device driver, acpi or pci code or both? Is there something similar already done? Best Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFJYzyFxJBWvpalMpkRAqSUAJ4y6oeaFg0svVrXTobNtc0CHW8thQCeLU/i i0T/PFHDkxWAJHN+Z/zSAhY= =nXCJ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49633C85.3090507>