diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-30 13:43:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-30 13:43:36 +0000 |
commit | cfead70da6d0169bbff731283c6e020edaf30371 (patch) | |
tree | 5a0a6da3d2c94c96cec964bf3deffba4c094af3c /sys | |
parent | 3922af80cfc9f34a92680654b011510eb22af2e7 (diff) |
skip the bad mapping checks for now, sigh
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/pccbb.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c index 36e8fced11e..0366ae4c73f 100644 --- a/sys/dev/pci/pccbb.c +++ b/sys/dev/pci/pccbb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccbb.c,v 1.54 2007/11/30 08:12:00 miod Exp $ */ +/* $OpenBSD: pccbb.c,v 1.55 2007/11/30 13:43:35 deraadt Exp $ */ /* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */ /* @@ -590,21 +590,6 @@ pccbb_pci_callback(self) base_memt = sc->sc_base_memt; /* socket regs memory tag */ base_memh = sc->sc_base_memh; /* socket regs memory handle */ - /* check for dead device? */ - switch (PCI_VENDOR(sc->sc_id)) { - case PCI_VENDOR_TI: - break; - default: - if (bus_space_read_4(base_memt, base_memh, CB_SOCKET_EVENT) == - 0xffffffff && bus_space_read_4(base_memt, base_memh, - CB_SOCKET_MASK) == 0xffffffff) { - printf("%s: controller is missing\n", - sc->sc_dev.dv_xname); - return; - } - break; - } - /* bus bridge initialization */ pccbb_chipinit(sc); |