fmvj18x_cs.c misidentifies card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a card sold circa 1995 under the Eagle Technology brand as a
"NE200T PCMCIA LAN Adapter."  (Eagle Technology was at the time a
business unit of Artisoft, Inc., but was soon sold to Microdyne.)  This
card works perfectly when it is correctly identified as a clone of the
Fujitsu MBH10302.

The "cardctl info" is:

PRODID_1="EAGLE Technology"
PRODID_2="NE200 ETHERNET LAN MBH10302  04"
PRODID_3="  07"
PRODID_4=""
MANFID=0004,0004
FUNCID=6

Unfortunately, comments in fmvj18x_cs.c indicate a "RATOC" card also
reports MANFID=0004,0004, but actually needs to be handled as a MBH10304.
Removing the support for this other card (see below) gets my card working
fine.

But is there some further test that could be performed to determine which
type of card is actually present in the system?

--
Sean Shapira    sds@xxxxxxxxxx


*** fmvj18x_cs.c-       2003-11-28 10:26:20.000000000 -0800
--- fmvj18x_cs.c        2006-07-26 15:47:58.000000000 -0700
***************
*** 498,506 ****
            break;
        case MANFID_FUJITSU:
            if (le16_to_cpu(buf[1]) == )
!                 /* RATOC REX-5588/9822/4886's PRODID are 0004(=MBH10302),
!                    but these are MBH10304 based card. */
!               cardtype = MBH10304;
            else if (le16_to_cpu(buf[1]) == PRODID_FUJITSU_MBH10304)
                cardtype = MBH10304;
            else
--- 498,504 ----
            break;
        case MANFID_FUJITSU:
            if (le16_to_cpu(buf[1]) == PRODID_FUJITSU_MBH10302)
!               cardtype = MBH10302;
            else if (le16_to_cpu(buf[1]) == PRODID_FUJITSU_MBH10304)
                cardtype = MBH10304;
            else

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux