summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcivar.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-02-27 17:17:14 +0000
committerse <se@FreeBSD.org>1995-02-27 17:17:14 +0000
commit212beb9281fd3bebfbacece67288c76fec3de5b4 (patch)
tree374353ca006fa15f74548f7d63d4894254850021 /sys/pci/pcivar.h
parente4da42088775eaae4b70ef7588096afb96c56e78 (diff)
downloadFreeBSD-src-212beb9281fd3bebfbacece67288c76fec3de5b4.zip
FreeBSD-src-212beb9281fd3bebfbacece67288c76fec3de5b4.tar.gz
First try to add support for PCI-PCI bridge chips (written for the
DEC 21050 chip in particular, don't have specs of other such chips). This should add support for Multiple-Ethernet PCI cards (e.g. Znyx 314). Reviewed by: se Submitted by: <wolf@kintaro.cologne.de> Wolfgang Stanglmeier
Diffstat (limited to 'sys/pci/pcivar.h')
-rw-r--r--sys/pci/pcivar.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/pci/pcivar.h b/sys/pci/pcivar.h
index b0712db..73ce43e 100644
--- a/sys/pci/pcivar.h
+++ b/sys/pci/pcivar.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcireg.h,v 1.2 1994/11/02 23:47:14 se Exp $
+** $Id: pcivar.h,v 1.1 1995/02/01 22:56:55 se Exp $
**
** Declarations for pci device drivers.
**
@@ -37,6 +37,8 @@
#ifndef __PCI_VAR_H__
#define __PCI_VAR_H__
+
+#define PCIVAR_H_PATCHLEVEL "pl1 95/02/27"
/*-----------------------------------------------------------------
**
@@ -162,6 +164,16 @@ struct pci_externalize_buffer {
/*-----------------------------------------------------------------
**
+** Register an additional pci bus for probing.
+** Called by pci-pci bridge handlers.
+**
+**-----------------------------------------------------------------
+*/
+
+int pci_map_bus (pcici_t tag, u_long bus);
+
+/*-----------------------------------------------------------------
+**
** Map a pci device to physical and virtual memory.
**
** The va and pa addresses are "in/out" parameters.
OpenPOWER on IntegriCloud