aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-11-18 07:22:59 +0000
committerWarner Losh <imp@FreeBSD.org>1999-11-18 07:22:59 +0000
commit6698366077b29417ccd1177a9e8a12c5feec3e61 (patch)
treef83f373955b5130d101fc4f69c3196756b76e5f8 /sys/dev
parent14471143331cfaa4cc41449708556cdc67fbe88a (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cardbus/cardbusdevs.h72
-rw-r--r--sys/dev/cardbus/cardbusdevs_data.h103
2 files changed, 175 insertions, 0 deletions
diff --git a/sys/dev/cardbus/cardbusdevs.h b/sys/dev/cardbus/cardbusdevs.h
new file mode 100644
index 0000000000000..4ffb3c8e0ca00
--- /dev/null
+++ b/sys/dev/cardbus/cardbusdevs.h
@@ -0,0 +1,72 @@
+/* $FreeBSD$ */
+
+/*
+ * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
+ *
+ * generated from:
+ * FreeBSD: src/sys/dev/cardbus/cardbusdevs,v 1.1 1999/11/18 07:21:50 imp Exp
+ */
+
+/*
+ * Copyright (C) 1999 Hayakawa Koichi.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the author
+ * for the NetBSD Project.
+ * 4. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This code is stollen from sys/dev/pci/pcidevs
+ */
+
+
+/*
+ * List of known CardBus vendors
+ */
+
+#define CARDBUS_VENDOR_DEC 0x1011 /* Digital Equipment */
+#define CARDBUS_VENDOR_3COM 0x10B7 /* 3Com */
+#define CARDBUS_VENDOR_ADP 0x9004 /* Adaptec */
+#define CARDBUS_VENDOR_ADP2 0x9005 /* Adaptec (2nd PCI Vendor ID) */
+#define CARDBUS_VENDOR_OPTI 0x1045 /* Opti */
+
+/*
+ * List of known products. Grouped by vendor.
+ */
+
+/* 3COM Products */
+
+#define CARDBUS_PRODUCT_3COM_3C575TX 0x5057 /* 3c575 100Base-TX */
+#define CARDBUS_PRODUCT_3COM_3C575BTX 0x5157 /* 3c575B 100Base-TX */
+
+/* Adaptec products */
+#define CARDBUS_PRODUCT_ADP_1480 0x6075 /* APA-1480 */
+
+/* DEC products */
+#define CARDBUS_PRODUCT_DEC_21142 0x0019 /* DECchip 21142/3 */
+
+/* Opti products */
+#define CARDBUS_PRODUCT_OPTI_82C861 0xc861 /* 82C861 USB Host Controller (OHCI) */
diff --git a/sys/dev/cardbus/cardbusdevs_data.h b/sys/dev/cardbus/cardbusdevs_data.h
new file mode 100644
index 0000000000000..5a40a1f052d82
--- /dev/null
+++ b/sys/dev/cardbus/cardbusdevs_data.h
@@ -0,0 +1,103 @@
+/* $FreeBSD$ */
+
+/*
+ * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
+ *
+ * generated from:
+ * FreeBSD: src/sys/dev/cardbus/cardbusdevs,v 1.1 1999/11/18 07:21:50 imp Exp
+ */
+
+/*
+ * Copyright (C) 1999 Hayakawa Koichi.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the author
+ * for the NetBSD Project.
+ * 4. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+struct cardbus_knowndev cardbus_knowndevs[] = {
+ {
+ CARDBUS_VENDOR_3COM, CARDBUS_PRODUCT_3COM_3C575TX,
+ 0,
+ "3Com",
+ "3c575 100Base-TX",
+ },
+ {
+ CARDBUS_VENDOR_3COM, CARDBUS_PRODUCT_3COM_3C575BTX,
+ 0,
+ "3Com",
+ "3c575B 100Base-TX",
+ },
+ {
+ CARDBUS_VENDOR_ADP, CARDBUS_PRODUCT_ADP_1480,
+ 0,
+ "Adaptec",
+ "APA-1480",
+ },
+ {
+ CARDBUS_VENDOR_DEC, CARDBUS_PRODUCT_DEC_21142,
+ 0,
+ "Digital Equipment",
+ "DECchip 21142/3",
+ },
+ {
+ CARDBUS_VENDOR_OPTI, CARDBUS_PRODUCT_OPTI_82C861,
+ 0,
+ "Opti",
+ "82C861 USB Host Controller (OHCI)",
+ },
+ {
+ CARDBUS_VENDOR_DEC, 0,
+ CARDBUS_KNOWNDEV_NOPROD,
+ "Digital Equipment",
+ NULL,
+ },
+ {
+ CARDBUS_VENDOR_3COM, 0,
+ CARDBUS_KNOWNDEV_NOPROD,
+ "3Com",
+ NULL,
+ },
+ {
+ CARDBUS_VENDOR_ADP, 0,
+ CARDBUS_KNOWNDEV_NOPROD,
+ "Adaptec",
+ NULL,
+ },
+ {
+ CARDBUS_VENDOR_ADP2, 0,
+ CARDBUS_KNOWNDEV_NOPROD,
+ "Adaptec (2nd PCI Vendor ID)",
+ NULL,
+ },
+ {
+ CARDBUS_VENDOR_OPTI, 0,
+ CARDBUS_KNOWNDEV_NOPROD,
+ "Opti",
+ NULL,
+ },
+ { 0, 0, 0, NULL, NULL, }
+};