summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-05-28 18:43:25 +0000
committerwpaul <wpaul@FreeBSD.org>1999-05-28 18:43:25 +0000
commitfa6fffc6ffbb5f08315141cd74ff918261993a6a (patch)
tree78a21713fcd837d6b07ee97d0122121b6598bb6c
parent639d45925192cc9e90ee6a2d2a1d207f2be07e71 (diff)
downloadFreeBSD-src-fa6fffc6ffbb5f08315141cd74ff918261993a6a.zip
FreeBSD-src-fa6fffc6ffbb5f08315141cd74ff918261993a6a.tar.gz
Fix support for the PNIC II. Earlier I had assumed that the PNIC II was
similar to the PNIC I (supported by the pn driver). In fact, it's really a Macronix 98715A with wake on LAN support added. According to LinkSys, the PNIC II was jointly developed by Lite-On and Macronis. I get the feeling Macronix did most of the work. (The datasheet has the Macronix logo on it, and is in fact nearly identical to the 98715 datasheet, except for the extra wake on LAN registers.) In any case, the PNIC II works just fine with the Macronix driver. The changes are: - Move PCI ID for the PNIC II from the pn driver to the mx driver. - Mention PNIC II support in mx.4. - Mention PNIC II support in RELNOTES.TXT and HARDWARE.TXT.
-rw-r--r--release/texts/HARDWARE.TXT3
-rw-r--r--release/texts/RELNOTES.TXT3
-rw-r--r--share/man/man4/man4.i386/mx.49
-rw-r--r--share/man/man4/mx.49
-rw-r--r--sys/pci/if_mx.c6
-rw-r--r--sys/pci/if_mxreg.h13
-rw-r--r--sys/pci/if_pn.c6
-rw-r--r--sys/pci/if_pnreg.h3
8 files changed, 39 insertions, 13 deletions
diff --git a/release/texts/HARDWARE.TXT b/release/texts/HARDWARE.TXT
index d4db9e7..33f27da 100644
--- a/release/texts/HARDWARE.TXT
+++ b/release/texts/HARDWARE.TXT
@@ -462,6 +462,9 @@ Macronix 98713, 98713A, 98715, 98715A and 98725 fast ethernet NICs
CNet Pro120B (98715)
SVEC PN102TX (98713)
+Macronix/Lite-On PNIC II LC82C115 fast ethernet NICs including the following:
+ LinkSys EtherFast LNE100TX Version 2
+
Winbond W89C840F fast ethernet NICs including the following:
Trendware TE100-PCIE
diff --git a/release/texts/RELNOTES.TXT b/release/texts/RELNOTES.TXT
index 52ce304..dc99f4d 100644
--- a/release/texts/RELNOTES.TXT
+++ b/release/texts/RELNOTES.TXT
@@ -256,6 +256,9 @@ Macronix 98713, 98713A, 98715, 98715A and 98725 fast ethernet NICs
CNet Pro120B (98715)
SVEC PN102TX (98713)
+Macronix/Lite-On PNIC II LC82C115 fast ethernet NICs including the following:
+ LinkSys EtherFast LNE100TX Version 2
+
Winbond W89C840F fast ethernet NICs including the following:
Trendware TE100-PCIE
diff --git a/share/man/man4/man4.i386/mx.4 b/share/man/man4/man4.i386/mx.4
index 189f4f3..462252d 100644
--- a/share/man/man4/man4.i386/mx.4
+++ b/share/man/man4/man4.i386/mx.4
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
.\" THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: mx.4,v 1.2 1998/12/05 09:31:25 rnordier Exp $
+.\" $Id: mx.4,v 1.3 1999/03/25 00:52:44 wpaul Exp $
.\"
.Dd November 5, 1998
.Dt MX 4 i386
@@ -46,7 +46,12 @@ driver provides support for PCI ethernet adapters and embedded
controllers based on the Macronix 98713, 98713A, 98715, 98715A and
98725 fast ethernet controller chips. This includes the NDC
Communications SOHOware SFA110, the SVEC PN102-TX
-fast ethernet card, and various other adapters.
+fast ethernet card, and various other adapters. The
+.Nm
+driver also supports the Lite-On 82c115 PNIC II chip, which is
+actually similar in design to the Macronix 98715A with the addition
+of wake on LAN support. Supported PNIC II cards include the
+LinkSys LNE100TX Version 2.
.Pp
The Macronix chips use bus master DMA and are designed to be
DEC 'tulip' workalikes. The original 98713 had an MII bus for
diff --git a/share/man/man4/mx.4 b/share/man/man4/mx.4
index 189f4f3..462252d 100644
--- a/share/man/man4/mx.4
+++ b/share/man/man4/mx.4
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
.\" THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: mx.4,v 1.2 1998/12/05 09:31:25 rnordier Exp $
+.\" $Id: mx.4,v 1.3 1999/03/25 00:52:44 wpaul Exp $
.\"
.Dd November 5, 1998
.Dt MX 4 i386
@@ -46,7 +46,12 @@ driver provides support for PCI ethernet adapters and embedded
controllers based on the Macronix 98713, 98713A, 98715, 98715A and
98725 fast ethernet controller chips. This includes the NDC
Communications SOHOware SFA110, the SVEC PN102-TX
-fast ethernet card, and various other adapters.
+fast ethernet card, and various other adapters. The
+.Nm
+driver also supports the Lite-On 82c115 PNIC II chip, which is
+actually similar in design to the Macronix 98715A with the addition
+of wake on LAN support. Supported PNIC II cards include the
+LinkSys LNE100TX Version 2.
.Pp
The Macronix chips use bus master DMA and are designed to be
DEC 'tulip' workalikes. The original 98713 had an MII bus for
diff --git a/sys/pci/if_mx.c b/sys/pci/if_mx.c
index bbed8205..bb2f843d 100644
--- a/sys/pci/if_mx.c
+++ b/sys/pci/if_mx.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_mx.c,v 1.16 1999/05/06 15:32:45 wpaul Exp $
+ * $Id: if_mx.c,v 1.17 1999/05/09 17:06:56 peter Exp $
*/
/*
@@ -94,7 +94,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_mx.c,v 1.16 1999/05/06 15:32:45 wpaul Exp $";
+ "$Id: if_mx.c,v 1.17 1999/05/09 17:06:56 peter Exp $";
#endif
/*
@@ -113,6 +113,8 @@ static struct mx_type mx_devs[] = {
"Macronix 98715/98715A 10/100BaseTX" },
{ MX_VENDORID, MX_DEVICEID_987x5,
"Macronix 98725 10/100BaseTX" },
+ { PN_VENDORID, PN_DEVICEID_PNIC_II,
+ "LC82C115 PNIC II 10/100BaseTX" },
{ 0, 0, NULL }
};
diff --git a/sys/pci/if_mxreg.h b/sys/pci/if_mxreg.h
index 28e757c..69721ad 100644
--- a/sys/pci/if_mxreg.h
+++ b/sys/pci/if_mxreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_mxreg.h,v 1.5 1999/05/06 15:32:46 wpaul Exp $
+ * $Id: if_mxreg.h,v 1.6 1999/05/26 23:01:48 gallatin Exp $
*/
/*
@@ -539,6 +539,17 @@ struct mx_softc {
#define CP_DEVICEID_98713 0x9881
/*
+ * Lite-On PNIC PCI vendor ID
+ */
+#define PN_VENDORID 0x11AD
+
+/*
+ * Lite-On PNIC II device ID. Note: this is actually a Macronix 98715A
+ * with wake on lan/magic packet support.
+ */
+#define PN_DEVICEID_PNIC_II 0xc115
+
+/*
* Texas Instruments PHY identifiers
*/
#define TI_PHY_VENDORID 0x4000
diff --git a/sys/pci/if_pn.c b/sys/pci/if_pn.c
index 1dea320..9b1c580 100644
--- a/sys/pci/if_pn.c
+++ b/sys/pci/if_pn.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_pn.c,v 1.19 1999/05/09 17:06:57 peter Exp $
+ * $Id: if_pn.c,v 1.20 1999/05/26 23:08:04 gallatin Exp $
*/
/*
@@ -97,7 +97,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_pn.c,v 1.19 1999/05/09 17:06:57 peter Exp $";
+ "$Id: if_pn.c,v 1.20 1999/05/26 23:08:04 gallatin Exp $";
#endif
@@ -109,8 +109,6 @@ static struct pn_type pn_devs[] = {
"82c168 PNIC 10/100BaseTX" },
{ PN_VENDORID, PN_DEVICEID_PNIC,
"82c169 PNIC 10/100BaseTX" },
- { PN_VENDORID, PN_DEVICEID_PNIC_II,
- "82c115 PNIC II 10/100BaseTX" },
{ 0, 0, NULL }
};
diff --git a/sys/pci/if_pnreg.h b/sys/pci/if_pnreg.h
index 8bf3f58..64a625b 100644
--- a/sys/pci/if_pnreg.h
+++ b/sys/pci/if_pnreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_pnreg.h,v 1.11 1999/05/06 15:32:47 wpaul Exp $
+ * $Id: if_pnreg.h,v 1.12 1999/05/26 23:01:49 gallatin Exp $
*/
/*
@@ -525,7 +525,6 @@ struct pn_softc {
* Lite-On PNIC PCI device ID.
*/
#define PN_DEVICEID_PNIC 0x0002
-#define PN_DEVICEID_PNIC_II 0xc115
/*
* The 82c168 chip has the same PCI vendor/device ID as the
OpenPOWER on IntegriCloud