Subject: Re: ASIX AX88140 support under tlp(4)
To: Jason Thorpe <thorpej@shagadelic.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: tech-net
Date: 06/23/2005 19:44:17
On 2005.06.23 12:19:48 +0000, Jason Thorpe wrote:
> Does the FreeBSD driver support the 141?  Probably wouldn't hurt to  
> code it up, just mark it as untested.

The FreeBSD code has:

struct dc_type {
	u_int16_t		dc_vid;
	u_int16_t		dc_did;
	char			*dc_name;
};


static struct dc_type dc_devs[] = {
...
	{ DC_VENDORID_ASIX, DC_DEVICEID_AX88140A,
		"ASIX AX88140A 10/100BaseTX" },
	{ DC_VENDORID_ASIX, DC_DEVICEID_AX88140A,
		"ASIX AX88141 10/100BaseTX" },
...

So, they don't distinguish between AX88140A and AX88141. I'm guessing
their support doesn't differ.

In if_tlp.c we have:

        case TULIP_CHIP_AX88140:
                if (sc->sc_rev >= 0x10)
                        sc->sc_chip = TULIP_CHIP_AX88141;
                break;

Should we remove this or keep it and add a comment ?


		-- Rui Paulo