summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_dcreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-09-04 17:10:11 +0000
committerwpaul <wpaul@FreeBSD.org>2001-09-04 17:10:11 +0000
commit67ffe2e20325b02d34088606594673184dc10e50 (patch)
tree1175747ef3547f559191d4ddff6c302568b4b2b9 /sys/pci/if_dcreg.h
parent75cc8b4799fb6c83a8a316cecf18cbc2a47601f0 (diff)
downloadFreeBSD-src-67ffe2e20325b02d34088606594673184dc10e50.zip
FreeBSD-src-67ffe2e20325b02d34088606594673184dc10e50.tar.gz
Add support for Conexant LANfinity miniPCI controllers. People who have
laptops with this chip should test this and report back as I don't have access to this hardware myself. People with -stable systems should try the patch at: http://www.freebsd.org/~wpaul/conexant.patch.gz Submitted by: Phil Kernick <Phil@Kernick.org>
Diffstat (limited to 'sys/pci/if_dcreg.h')
-rw-r--r--sys/pci/if_dcreg.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h
index 658b221..d949fca 100644
--- a/sys/pci/if_dcreg.h
+++ b/sys/pci/if_dcreg.h
@@ -77,6 +77,7 @@
#define DC_TYPE_PNICII 0x9 /* 82c115 PNIC II */
#define DC_TYPE_PNIC 0xA /* 82c168/82c169 PNIC I */
#define DC_TYPE_XIRCOM 0xB /* Xircom X3201 */
+#define DC_TYPE_CONEXANT 0xC /* Conexant LANfinity RS7112 */
#define DC_IS_MACRONIX(x) \
(x->dc_type == DC_TYPE_98713 || \
@@ -95,6 +96,7 @@
#define DC_IS_PNICII(x) (x->dc_type == DC_TYPE_PNICII)
#define DC_IS_PNIC(x) (x->dc_type == DC_TYPE_PNIC)
#define DC_IS_XIRCOM(x) (x->dc_type == DC_TYPE_XIRCOM)
+#define DC_IS_CONEXANT(x) (x->dc_type == DC_TYPE_CONEXANT)
/* MII/symbol mode port types */
#define DC_PMODE_MII 0x1
@@ -676,6 +678,16 @@ struct dc_mii_frame {
/* End of PNIC specific registers */
+/*
+ * CONEXANT specific registers.
+ */
+
+#define DC_CONEXANT_PHYADDR 0x1
+#define DC_CONEXANT_EE_NODEADDR 0x19A
+
+/* End of CONEXANT specific registers */
+
+
struct dc_softc {
struct arpcom arpcom; /* interface info */
bus_space_handle_t dc_bhandle; /* bus space handle */
@@ -883,6 +895,16 @@ struct dc_softc {
#define DC_DEVICEID_FE2500 0xAB02
/*
+ * Conexant vendor ID.
+ */
+#define DC_VENDORID_CONEXANT 0x14f1
+
+/*
+ * Conexant device IDs.
+ */
+#define DC_DEVICEID_RS7112 0x1803
+
+/*
* PCI low memory base and low I/O base register, and
* other PCI registers.
*/
OpenPOWER on IntegriCloud