summaryrefslogtreecommitdiffstats
path: root/sys/pci/cy_pcireg.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-01-11 23:35:01 +0000
committerbde <bde@FreeBSD.org>1999-01-11 23:35:01 +0000
commitdf01e48688fc7962b89828ca767a9e9e04fb56f4 (patch)
tree6c4aab42088c23f442ec664a005d9ac05b4db6fc /sys/pci/cy_pcireg.h
parent8369d989949cd7848e85f00813c1e46e4207a78f (diff)
downloadFreeBSD-src-df01e48688fc7962b89828ca767a9e9e04fb56f4.zip
FreeBSD-src-df01e48688fc7962b89828ca767a9e9e04fb56f4.tar.gz
Updated for not-so-new version of Cyclom-Y PCI boards (with a custom
register for the PLX id). Merge the vendor's modification of the 2.2.* release version into -current for reference. Will be cleaned up in next commit. Obtained from: ftp://ftp.cyclades.com/pub/cyclades/cyclom-y/freebsd/3.0/cyy30.tar.gz
Diffstat (limited to 'sys/pci/cy_pcireg.h')
-rw-r--r--sys/pci/cy_pcireg.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/pci/cy_pcireg.h b/sys/pci/cy_pcireg.h
index 412622f..b3a269e 100644
--- a/sys/pci/cy_pcireg.h
+++ b/sys/pci/cy_pcireg.h
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: cy_pcireg.h,v 1.3 1997/02/22 09:44:01 peter Exp $
*/
#define CY_VENDORID_CYCLADES 0x120e
@@ -35,6 +35,15 @@
#define CY_PCI_BASE_ADDR1 0x14
#define CY_PCI_BASE_ADDR2 0x18
-#define CY_PLX_ICS 0x68
-#define CY_PLX_ICS_IENABLE 0x100
-#define CY_PLX_ICS_LOCAL_IENABLE 0x800
+#define CY_PLX_9050_ICS 0x4c
+#define CY_PLX_9060_ICS 0x68
+#define CY_PLX_9050_ICS_IENABLE 0x040
+#define CY_PLX_9050_ICS_LOCAL_IENABLE 0x001
+#define CY_PLX_9060_ICS_IENABLE 0x100
+#define CY_PLX_9060_ICS_LOCAL_IENABLE 0x800
+
+/* Cyclom-Y Custom Register for PLX ID */
+#define PLX_VER (0x3400)
+#define PLX_9050 0x0b
+#define PLX_9060 0x0c
+#define PLX_9080 0x0d
OpenPOWER on IntegriCloud