summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci_compat.c
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1997-05-30 20:58:04 +0000
committerse <se@FreeBSD.org>1997-05-30 20:58:04 +0000
commite0cae756d1fa7b09708631701798d935f7da0100 (patch)
tree425108a9e5fe95c391c6ad2da4ec599d2e5a7762 /sys/pci/pci_compat.c
parent452665122f83327067d7bc2e9a2534f441170acf (diff)
downloadFreeBSD-src-e0cae756d1fa7b09708631701798d935f7da0100.zip
FreeBSD-src-e0cae756d1fa7b09708631701798d935f7da0100.tar.gz
Remove use of intrec*, use void* instead.
Disable test entries for wired PCI devices on bus 1.
Diffstat (limited to 'sys/pci/pci_compat.c')
-rw-r--r--sys/pci/pci_compat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c
index 4ec2eb0..1a97ed2 100644
--- a/sys/pci/pci_compat.c
+++ b/sys/pci/pci_compat.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci_compat.c,v 1.1 1997/05/26 15:08:35 se Exp $
+ * $Id: pci_compat.c,v 1.2 1997/05/28 10:10:02 se Exp $
*
*/
@@ -172,7 +172,7 @@ pci_map_int(pcici_t cfg, pci_inthand_t *func, void *arg, unsigned *maskptr)
if (cfg->intpin != 0) {
int irq = cfg->intline;
void *dev_instance = (void *)-1; /* XXX use cfg->devdata */
- intrec *idesc;
+ void *idesc;
idesc = intr_create(dev_instance, irq, func, arg, maskptr, 0);
return (intr_connect(idesc) == 0);
@@ -211,8 +211,10 @@ typedef struct {
static pciwirecfg pci_wireddevs[] = {
/* driver, unit, bus, slot, func, BIOS bus */
+#ifdef PCI_DEBUG
{ "ncr", 2, 1, 4, 0, 0 },
{ "ed", 2, 1, 5, 0, 0 },
+#endif /* PCI_DEBUG */
/* do not delete the end marker that follows this comment !!! */
{ NULL }
};
OpenPOWER on IntegriCloud