1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

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.
This commit is contained in:
Bill Paul 1999-05-28 18:43:25 +00:00
parent b50641ef9c
commit 74e5e304a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47589
8 changed files with 39 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 }
};

View File

@ -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 $
*/
/*
@ -538,6 +538,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
*/

View File

@ -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 }
};

View File

@ -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