Date: Thu, 29 Jun 1995 20:51:17 +0900 From: NIIMI Satoshi <sa2c@and.or.jp> To: se@freebsd.org Cc: current@freebsd.org Subject: new PCI probe code and ASUS AP4 Message-ID: <199506291151.UAA00299@us.and.or.jp>
next in thread | raw e-mail | index | archive | help
I've noticed that the new PCI probe code doesn't find a PCI bus on my ASUS PVI-486AP4 (Aries chipset). The problem is that if out(CONF1_ADDR_PORT, CONF1_ENABLE_CHK), then inl(CONF1_ADDR_PORT) is equal to CONF1_ENABLE_CHK (not CONF1_ENABLE). Here is patch that works for me. --- pcibus.c.org Thu Jun 29 13:21:19 1995 +++ pcibus.c Thu Jun 29 20:48:36 1995 @@ -164,7 +164,7 @@ result = inl (CONF1_ADDR_PORT); outl (CONF1_ADDR_PORT, oldval); - if (result == CONF1_ENABLE) { + if (result & CONF1_ENABLE) { pci_mechanism = 1; pci_maxdevice = 32; return; -- 新見覚志 / NIIMI Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506291151.UAA00299>